mount -t proc none /mnt/sysimage/proc
mount -o bind /dev /mnt/sysimage/dev
mount -t sysfs sys /mnt/sysimage/sys
where /mnt/sysimage/ location of chrooted sysimage
linux mount dev, proc, sys in a chroot
Leave a reply
mount -t proc none /mnt/sysimage/proc
mount -o bind /dev /mnt/sysimage/dev
mount -t sysfs sys /mnt/sysimage/sys
where /mnt/sysimage/ location of chrooted sysimage