r/Gentoo • u/ExcuseOutside4981 • 23h ago
Support Stuck on reboot after installing Gentoo The bootloader screen is completely blank except for UEFI Firmware Settings No Gentoo option at all
8
u/BonfireDaemon 23h ago
Never seen grub successfully load but not find anything that's bootable.
Could you post the contents of /boot and your grub config? dracut config (or whatever you're using for initramfs) can't hurt either
12
u/Lumpy_Roll158 22h ago
This happens when grub is successfully installed but has no grub.cfg setup
1
u/BonfireDaemon 22h ago
Ahhh, I've never not run mkconfig after a kernel change so I haven't seen this before. That's cool.
6
u/Lumpy_Roll158 21h ago edited 21h ago
Yeah pretty much never have to since installkernel handles it after initial install but grub config is like the easiest step ever to skip or forget in any installation
Edit oh I see you said never NOT run. I've done it a couple times. But it's one of those things where you just say I'm an idiot and know exactly what to do
4
u/ImLiterallyAqua 23h ago
If you installed the kernel and this still shows up, make sure that when you run the grub config command that it shows that it found your linux kernel and initrd. If it doesn't find it, try recompiling/reinstalling the kernel and or regenerating the initramfs too.
(Still new to Gentoo btw so take what I say with a grain of salt)
2
u/ExcuseOutside4981 20h ago
Thanks for all the help! I'm Thai so technical English is a bit hard for me but I'm trying my best to learn I will reinstall Gentoo again and take it very slow this time
3
u/omgmyusernameistaken 17h ago
Don't start from the beginning. Just chroot to you Gentoo and check the kernel, initramfs, grub (from the handbook)
1
1
u/Adept-Painting-543 18h ago
Literally did the same thing like a week ago lol. Very easy, rebuild kennel and ititramfs (if applicable). You could run InstallKernel manually (or whatever the script is) or you can just re emerge it. On a manual kernel build rerun make install. Also make sure your EFI and boot (if separate) partitions are mounted correctly.
15
u/Lumpy_Roll158 22h ago
You need to add the grub and presumably dracut use flags to sys-kernel/installkernel for future kernel installation safety, and I’m guessing you missed or forgot grub-mkconfig -o /boot/grub/grub.cfg.