Re: Wheezy USB Harddrive install grub2 issues
On Tue 15 May 2012 at 00:41:18 +0100, Brian wrote:
> I have replicated your problem (GRUB dropping to a prompt) by running
> the command above from an unstable installation. I've no explanation
> for it apart from some hazy idea GRUB is confused by having its files
> in two places, /boot/grub and /grub, but was able to retrieve a GRUB
> menu with
>
> grub-install /dev/sda
Ok, I do have an explanation now!
In your first mail you said:
> the system boots. once booted I run one of the commands below
> & reboot
> update-grub2
> grub-install --root-directory=/ /dev/sda
update-grub2 runs the command
grub-mkconfig -o /boot/grub/grub.cfg
and generates a grub2 configuration file in /boot/grub. You then told
GRUB to install its images in /grub but, because you did not generate
a grub.cfg file in that directory, it was unable to display a menu so
came up with a prompt instead. This can be checked by copying grub.cfg
from /boot/grub to /grub or by doing
grub-mkconfig -o /grub/grub.cfg
Reply to: