Chroot

From VVCWiki
Revision as of 10:05, 20 February 2017 by Vvc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
mkdir /mnt/sysimage
mount /dev/vg0/root /mnt/sysimage
mount /dev/vg0/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