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

Mogens Kjaer mk at crc.dk
Thu Mar 25 15:38:45 UTC 2010


On 03/25/2010 03:23 PM, Dan Burkland wrote:
...
> a) mount /dev/sda1 /mnt/sysimage/ (replace /dev/sda1 with your root partition or logvol)
> b) mount -o bind /dev /mnt/sysimage/dev
> c) mount -o bind /sys /mnt/sysimage/sys
> d) mount -o bind /proc /mnt/sysimage/proc
> e) chroot /mnt/sysimage

This works for me as well: Thanks!

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