[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

grub-install in chroot



Hello,

I've been following the instructions on installing a Debian GNU/Linux system [1] and
found an issue that was not completely covered: I could not run grub-install in chroot
because there are no /dev/hdX special files. So the command to be ran in chroot

grub-install /dev/hda

should be run as like that outside the chroot:

grub-install --recheck --root-directory=/mnt/debinst /dev/hda

I found this hint here [2] and hope it may be useful.

[1] http://www.debian.org/releases/stable/i386/apds03.html.en
[2] http://www.cs278.org/blog/ubuntu-configuration/feisty-debootstrap-encrypted-install/

Thanks,
Igor

PS: I'm not on the list so please CC me if you want me to see the reply.

--
:wq
Reply to: