Sunday, April 17, 2022

GRUB2 doesn't load OS and drills down into BASH-like prompt

There may be many situations with unworking GRUB2 configuration, where the OS can't be loaded. In my case I made an error, migrating old GRUB into new GRUB2 configuration, and created new config file with conf extension (like in the previous GRUB :-) ), but the right extension should be cfg.

So, when GRUB2 gave me the prompt, I entered the command :

GRUB2> configfile /grub2/grub.conf

Then, when OS booted, I generate new config file using command :

# grub2-mkconfig -o /boot/grub2/grub.cfg

That was enough for successful booting the OS after reboot. Enjoy !

No comments:

Post a Comment