*** This bug is a duplicate of bug 445852 ***
    https://bugs.launchpad.net/bugs/445852

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

-- 
beta installer left ASUS EeePC 900 unbootable
https://bugs.launchpad.net/bugs/430333
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to