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

Mogens Kjaer

mk at crc.dk
Thu Mar 25 13:45:37 UTC 2010


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?

Mogens
-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk at crc.dk Homepage: http://www.crc.dk



More information about the CentOS mailing list