Page 1 of 1

GRUB2: unknown command 'boot'

Posted: Tue Dec 16, 2014 3:32 pm
by peter_b
[PROBLEM]
Fresh Debian 7 (Wheezy) install: Booting after install, drops to a "grub rescue>" prompt :(

Most of the commands that should work in GRUB, don't.
There's no 'help', no 'quit' - and entering 'boot' fails with:
Unknown command 'boot'
I've set the proper partition (using "set root=..." and "set prefix=..."), but without the command 'boot', I'm stuck.


[SOLUTION]
Since GRUB couldn't find its partition, it couldn't load any modules. Therefore, point "root" to the partition that contains your "/boot/grub" folder. In my case it was a SoftRAID:

Code: Select all

set root=(md/128)
Then insert some modules:

Code: Select all

insmod linux grub help rescue
Entering "boot" now, shows that we got a bit further:
error: no loaded kernel.
Now, type "normal" to return to the regular GRUB boot-prompt.
Select your desired kernel and boot :)