#Minimal BASH-like GNU GRUB

1 messages · Page 1 of 1 (latest)

bright rover
#

Hey, I'm installing Gentoo with musl, in a dual boot with Windows 11 Ghost Spectre.
After installing and configuring grub and os-prober and rebooting, it sends me to the GRUB Minimal BASH-like interface.
What can I do to fix GRUB?

amber fog
# bright rover Hey, I'm installing Gentoo with musl, in a dual boot with Windows 11 Ghost Spect...

I don't know how to specifically fix your issue, but I way to get into a booting operating system is either chroot from a live USB from an operating system of your choice, or manually boot into your Gentoo install via the grub bash command line.

https://www.linuxfoundation.org/blog/blog/classic-sysadmin-how-to-rescue-a-non-booting-grub-2-on-linux

Once upon a time we had legacy GRUB, the Grand Unified Linux Bootloader version 0.97. Learn how to rescue a non-booting GRUB 2 on Linux.

bright rover
amber fog
#

Yea so, there are a few things that could be wrong.
You mentioned modifying the os-prober setting - did you re-run the command that creates your grub.cfg once you changed os-prober?

bright rover
#

I didn't change anything from os-prober, just installed it and reemerged grub with mount support, wrote GRUB_DISABLE_OS_PROBER=false to /etc/default/grub, and then I ran grub-mkconfig and rebooted

amber fog
#

If you ran mkconfig then I don't see why it would have done that, sorry but this has gone past my knowledge of grub.
I had the same symptom/issue on a non-efi i386 architecture computer when installing Arch with the grub boot loader. I changed the os-prober setting and didnt run mkconfig again

bright rover
#

I just did something that made it identify Windows.

  • Removed GRUB_DISABLE_OS_PROBER=false from /etc/default/grub
  • Ran emerge -avuND @world -- Nothing got changed
  • Ran grub-mkconfig -o /boot/grub/grub.cfg -- It identified Windows, but only Windows

Now, I'll take a better look at my fstab

rocky pier
#

is your kernel present in /boot?

bright rover
#

mmm, actually, doing a ls, it doesn't show the kernel there

#

;-; but those commands in grub work to boot

bright rover
#

mine isn't that

#

what I do now? emerge -c and then emerge again?

rocky pier
#

what does ls /boot show?

bright rover
rocky pier
#

try reinstalling your kernel

#

first

bright rover
#

Done! Thx @rocky pier
I reemerged grub, os-prober and gentoo-kernel-bin

modern wadi
#

Everything solved?

bright rover
#

yeah