Comment 45 for bug 430333

Revision history for this message
Felix Zielcke (fzielcke) wrote : Re: [Bug 430333] Re: beta installer left ASUS EeePC 900 unbootable

Am Dienstag, den 15.12.2009, 17:11 +0000 schrieb Tommy Trussell:
> It sounds like you're saying that even though I mounted the /dev and
> /proc and chroot-ed into the mounted target I still must explicitly
> specify the device for update-grub's root, so the command would be (??
> haven't tested):
>
> grub-install /dev/sdc --root-directory=/dev/sdc/

If you mean grub-install then please say grub-install and not
update-gub.
update-grub is now just a stub for `grub-mkconfig
-o /boot/grub/grub.cfg'
It does not do anything more then generating grub.cfg

If you use chroot command and so /boot/grub inside there is the
disk/partition which should get GRUB you don't need --root-directory=.
If it's not then you have to give it a path not a device.
Like grub-install --root-directory=/mnt /dev/sdc
and then it uses /mnt/boot/grub instead of /boot/grub.

--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer