Chroot

From VVCWiki
Revision as of 15:48, 17 June 2013 by Vvc (talk | contribs) (Created page with "<source lang="bash"> mkdir /mnt/sysimange mount /dev/vg1/root /mnt/sysimange mount /dev/vg1/var /mnt/sysimange/var mount /dev/sda1 /mnt/sysimange/boot mount -t proc none /mnt/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
mkdir /mnt/sysimange
mount /dev/vg1/root /mnt/sysimange
mount /dev/vg1/var /mnt/sysimange/var
mount /dev/sda1 /mnt/sysimange/boot
mount -t proc none /mnt/sysimange/proc
mount --rbind /sys /mnt/sysimange/sys
mount --rbind /dev /mnt/sysimange/dev
chroot /mnt/sysimange