Chroot
From VVCWiki
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