View previous topic :: View next topic |
Author |
Message |
pabloblo n00b
Joined: 24 Jan 2024 Posts: 71
|
Posted: Sat May 25, 2024 2:24 pm Post subject: need assistance to install on the computer |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5118 Location: Bavaria
|
|
Back to top |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 71
|
Posted: Sat May 25, 2024 2:57 pm Post subject: |
|
|
oh thank you pietinger, how are you?
i will try again with this new information |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5118 Location: Bavaria
|
Posted: Sat May 25, 2024 3:01 pm Post subject: |
|
|
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 |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 71
|
Posted: Sun May 26, 2024 3:31 pm Post subject: |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5118 Location: Bavaria
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3425 Location: Canada
|
Posted: Sun May 26, 2024 6:29 pm Post subject: |
|
|
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 |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 71
|
Posted: Mon May 27, 2024 2:44 pm Post subject: |
|
|
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 |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 71
|
Posted: Mon May 27, 2024 4:51 pm Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Mon May 27, 2024 5:06 pm Post subject: |
|
|
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 |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 71
|
Posted: Mon May 27, 2024 5:25 pm Post subject: |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5118 Location: Bavaria
|
Posted: Mon May 27, 2024 5:34 pm Post subject: |
|
|
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
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 |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 71
|
Posted: Mon May 27, 2024 5:48 pm Post subject: |
|
|
ok, I'm going to read all that, I prefer to learn, I've already looked, I'm not discouraged hihi |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Mon May 27, 2024 7:11 pm Post subject: |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5118 Location: Bavaria
|
|
Back to top |
|
|
pabloblo n00b
Joined: 24 Jan 2024 Posts: 71
|
Posted: Wed May 29, 2024 2:58 am Post subject: |
|
|
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 |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5118 Location: Bavaria
|
Posted: Wed May 29, 2024 11:35 am Post subject: |
|
|
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 !
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 ... ... 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 ! _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|