Chroot

From VVCWiki
Revision as of 03:31, 12 December 2015 by Vvc (talk | contribs) (typo)
Jump to navigationJump to search
mkdir /mnt/sysimage
mount /dev/vg1/root /mnt/sysimage
mount /dev/vg1/var /mnt/sysimage/var
mount /dev/sda1 /mnt/sysimage/boot
mount -t proc none /mnt/sysimage/proc
mount --rbind /sys /mnt/sysimage/sys
mount --rbind /dev /mnt/sysimage/dev
chroot /mnt/sysimage