Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need assistance to install on the computer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pabloblo
n00b
n00b


Joined: 24 Jan 2024
Posts: 71

PostPosted: Sat May 25, 2024 2:24 pm    Post subject: need assistance to install on the computer Reply with quote

hello everyone, I managed to install gentoo with genkernel, gentoo-kernel and gentoo-kernel-bin but it doesn't work by compiling the sources myself, I can't find my error, there is something I hurt
in /boot I have:
efi
grub
amd-uc-img
kernel-6.6.30-gentoo-pabloblo
initramfs-6.6.30-gentoo-pabloblo.img

so in summary :
Write a new thread in our forum, with information:

a) What you want (== target system)
i want to install gentoo with systemd desktop archiv portage

b) What you did
I finished installing it but when I restart it is stuck

c) What is the exact problem / error message ...
when I restart the computer, I arrive on a screen with 3 entries:
gentoo gnu/linux
advanced options for gentoo gnu/linux
uefi firmware settings
I press enter
then I arrive on a screen:
loading linux 6.6.30-gentoo-pabloblo
initial loading ramdisk
and there you have it, the screen freezes and doesn't go any further :(

d) ... at which step you did
at reboot
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5118
Location: Bavaria

PostPosted: Sat May 25, 2024 2:42 pm    Post subject: Re: need assistance to install on the computer Reply with quote

pabloblo wrote:
I press enter
then I arrive on a screen:
loading linux 6.6.30-gentoo-pabloblo
initial loading ramdisk
and there you have it, the screen freezes and doesn't go any further :(t

This means your grub starts your kernel, and this kernel has no framebuffer and/or console configured.
This we had very often, the last thread was:
https://forums.gentoo.org/viewtopic-t-1168775-highlight-.html

You will need at least 3 (4) options enabled:
- CONFIG_DRM_FBDEV_EMULATION
- CONFIG_FB together with VESA or UVESA or EFI
- CONFIG_FRAMEBUFFER_CONSOLE

It is also described in this chapter:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_3_-_Must_Haves

There is a weird behaviour when you do a "make defconfig" (or a "make mencuonfig" without setting one important option and saving it) and then do a "make menuconfig" afterwards. It is described here:
https://forums.gentoo.org/viewtopic-t-1168856-highlight-.html
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pabloblo
n00b
n00b


Joined: 24 Jan 2024
Posts: 71

PostPosted: Sat May 25, 2024 2:57 pm    Post subject: Reply with quote

oh thank you pietinger, how are you?
i will try again with this new information
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5118
Location: Bavaria

PostPosted: Sat May 25, 2024 3:01 pm    Post subject: Reply with quote

pabloblo wrote:
oh thank you pietinger, how are you?

Thanks, everything is fine with me, just very little time, I'll be offline until tomorrow evening, but we have a lot of experts here who can help. :-)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pabloblo
n00b
n00b


Joined: 24 Jan 2024
Posts: 71

PostPosted: Sun May 26, 2024 3:31 pm    Post subject: Reply with quote

Hello, I did the necessary and checked, now when I restart I have a line which is added after :
loading linux 6.6.30-gentoo-pabloblo
initial loading ramdisk
-) EFI stub: loaded initrd from linux_efi_initrd_media_guid device path
the screen remains blocked at this stage


I saw how it was activated in the wiki, but it is in the handbook, it is recommended to activate it

EFI stub support
The following kernel configuration options must be enabled:

KERNEL Enable EFI stub support for Kernels 6.1+
Processor type and features --->
[*] EFI runtime service support
[*] EFI stub support
[ ] EFI mixed-mode support (OPTIONAL

what to do, and what should be removed?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5118
Location: Bavaria

PostPosted: Sun May 26, 2024 5:53 pm    Post subject: Reply with quote

pabloblo wrote:
what to do, and what should be removed?

Dont remove anything ... just give us your kernel .config (please use wgetpaste for this https://wiki.gentoo.org/wiki/Wgetpaste )

Also chroot (*) into your installion and give us additianal:
- output of "lspci -nnk"
- ouput of "lsblk" and "blkid"
- output of "emerge --info"
- content of /boot/grub/grub.cfg
-output of "dmesg" (so we will see your system; use also wgetpaste)

*) https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3426
Location: Canada

PostPosted: Sun May 26, 2024 6:29 pm    Post subject: Reply with quote

At the end of the day you will need to decide whether you would use boot loader (such as grub) or you will use EFI STUB kernel (when kernel image itself is bootable). Configuration is different for these two cases.
Back to top
View user's profile Send private message
pabloblo
n00b
n00b


Joined: 24 Jan 2024
Posts: 71

PostPosted: Mon May 27, 2024 2:44 pm    Post subject: Reply with quote

I tried to install again, this time I changed the way of doing it, I replaced the "make menuconfig" command with a command that I found on the internet: make localyesconfig
and amazing, everything works! so I think the problem comes from the .config file, but I don't know where the error is located
I will continue looking
Back to top
View user's profile Send private message
pabloblo
n00b
n00b


Joined: 24 Jan 2024
Posts: 71

PostPosted: Mon May 27, 2024 4:51 pm    Post subject: Reply with quote

I understand why it doesn't work because it's not grub the bootloader, it's efi stub, I want grub myself, i don t want efi stub
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Mon May 27, 2024 5:06 pm    Post subject: Reply with quote

pabloblo,

Install and set up grub. It can use the same kernel as you already have.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pabloblo
n00b
n00b


Joined: 24 Jan 2024
Posts: 71

PostPosted: Mon May 27, 2024 5:25 pm    Post subject: Reply with quote

yes you re right, i install it but the computer prefer efi stub, i don t know why, i sure that s my problem since the beginning
i put systemd flag, maybe it s the problem
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5118
Location: Bavaria

PostPosted: Mon May 27, 2024 5:34 pm    Post subject: Reply with quote

pabloblo wrote:
[...] make localyesconfig
and amazing, everything works! so I think the problem comes from the .config file, but I don't know where the error is located

this command takes the default configuration and adds every module which has been loaded to the config statically. The same does "make localmodconfig" with the difference that all modules will be enabled as <M>odule ... take a look into "make help"

This method has one disadvantage: If you have not configured something you want use in the future (e.g. firewall) you will miss all the necessary modules :lol:

Now the cause of your probelm: You probably just didn't read everything I gave you as a link, especially not:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Before_you_start

Last but not least I want suggest one important thing: Dont use genkernel (it will surely die in the future).

If you dont like learning about the kernel configuration, then use our Gentoo distribution kernel.

if you are willing to read a lot, then use a manual kernel configuration, because for genkernel you would have to learn EXACTLY THAT MUCH (if you want to change anything in the configuration) ... and in my opinion it is more complicated than a complete manual configuration.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pabloblo
n00b
n00b


Joined: 24 Jan 2024
Posts: 71

PostPosted: Mon May 27, 2024 5:48 pm    Post subject: Reply with quote

ok, I'm going to read all that, I prefer to learn, I've already looked, I'm not discouraged hihi
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Mon May 27, 2024 7:11 pm    Post subject: Reply with quote

pabloblo,

Don't expect to get your kernel config right first time.

We can tell from the error messages and your kernel .config file what needs to be changed.
The good thing is that the kernel config can be changed. No need to throw it away and start again .. unless you change it with $EDITOR
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5118
Location: Bavaria

PostPosted: Mon May 27, 2024 11:14 pm    Post subject: Reply with quote

pabloblo,

I dont understand what you want: Using grub as bootmanager or booting directly via UEFI? Maybe read all links I gave in the other thread:
https://forums.gentoo.org/viewtopic-p-8828106.html#8828106
after:
"LATER - if you want - you can switch from your used bootmanager to an UEFI boot of your kernel, but it is not so easy."

If you have a systemd installation and want use grub then take also a look into:
https://wiki.gentoo.org/wiki/Installkernel
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
pabloblo
n00b
n00b


Joined: 24 Jan 2024
Posts: 71

PostPosted: Wed May 29, 2024 2:58 am    Post subject: Reply with quote

YOUPIE!!!! I managed to install gentoo by compiling the sources, with grub as I wanted, I am super happy, on the other hand I did not succeed with systemd, I succeeded with openrc, according to my brother this tool is not modern, does gentoo work well with openrc? despite everything I'm super happy :)
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5118
Location: Bavaria

PostPosted: Wed May 29, 2024 11:35 am    Post subject: Reply with quote

pabloblo wrote:
YOUPIE!!!! I managed to install gentoo by compiling the sources, with grub as I wanted, I am super happy, [...]

Happy to hear that ! :D

pabloblo wrote:
[...] on the other hand I did not succeed with systemd, I succeeded with openrc, according to my brother this tool is not modern, does gentoo work well with openrc? [...]

I am using also OpenRC ... but I cannot tell you why ... :P ... because it could lead again to a flame war ... Gentoo works VERY WELL with it ... and ... (just my personal opinion: It is more secure ;-) )

Have fun with Gentoo ! 8)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum