linux mount dev, proc, sys in a chroot

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

Leave a Reply

Your email address will not be published. Required fields are marked *