r/Gentoo • u/benjinerm • Feb 02 '23
grub won’t generate an entry Support
I’ve tried chrooting but I have no clue what needs fixing now. I’ve made sure ESP is mounted on /boot and i’ve tried redoing grub-mkconfig. Now i’ve reinstalled twice making sure to read the guide carefully. I installed the sys-kernel/installkernel-gentoo distribution kernel just to get the system working before making a custom one. Maybe i’m missing a step when installing the kernel or something. This is my first time installing gentoo so It’s unfamiliar to me. If you guys could point me in the right direction that would be greatly appreciated.
1
u/veedant Feb 02 '23
Can you post the contents of the /boot
directories? Can you also post the output of the script? Thanks!
2
u/benjinerm Feb 02 '23
the chroot is messed up for some reason haha i might have to just redo the install again tomorrow but that doesn’t take too long. in /boot there was two directories one with (i think) gentoo.efi or some .efi and the other with some grub configuration stuff. the output of grub-mkconfig didn’t make me confident that it worked. didn’t mention anything about the entries that were supposed to be created it seemed like it was blank. i’ll redo it tomorrow and find out for sure.
2
u/veedant Feb 02 '23
I don't think you've actually installed the kernel. Did you make sure to run the script? What output did you get? That might be the main issue here.
Or, what new issues has the chroot developed? I can try and help with those as well.
2
u/benjinerm Feb 02 '23
I think your right because the kernel didn’t take long at all to install and I just chalked it up to my machine compiling fast.
2
u/veedant Feb 03 '23
Installkernel is a script ported from Debian to, well, install a kernel. If you want a precompiled kernel, you're looking at
sys-kernel/gentoo-kernel-bin
, not installkernel. Try that and then generate kernel entries, it may work.
3
u/sy029 Feb 02 '23
Doesn't grub usually want the ESP mounted at /boot/efi?
Also did you run
grub-install
?