GRUB2: unknown command 'boot'

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

GRUB2: unknown command 'boot'

Post 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 :)
Post Reply