[CentOS] /mnt/sysimage/dev folder in rescue mode

Nicolas Thierry-Mieg Nicolas.Thierry-Mieg at imag.fr
Thu Mar 25 13:55:15 UTC 2010


Mogens Kjaer wrote:
> If I boot C5 from DVD in rescue mode,
> chroot to /mnt/sysimage, and try to do a
> grub-install /dev/sda it will fail because
> the /dev folder is empty (in the chroot environment).
>
> Until now I've then created the missing nodes manually,
> but is there a smarter way of doing this? Some devfs
> that needs to be mounted on top of /dev?
>

won't this work?
grub-install --root-directory=/mnt/sysimage



More information about the CentOS mailing list