[wplug] grub-install

Eric Cooper ecc at cmu.edu
Fri Jul 14 15:24:55 EDT 2006


On Fri, Jul 14, 2006 at 01:35:59PM -0400, Arnaud Loos wrote:
> [...] 
>    Chroot /mnt/my_system
> 
>    Grub-install /dev/hda
> 
>    I'm able to mount hda2 and chroot to it. When I run grub-install
>    however I get back "/dev/hda: not found or not a block device"

You might not have a fully populated /dev directory in your target
system (if you're using udev, for example).  Try doing
    cp -a /dev/hda* /mnt/my_system/dev/
(outside the chroot), then chroot in and try the grub-install again.

-- 
Eric Cooper             e c c @ c m u . e d u


More information about the wplug mailing list