Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rm -fR /tmp/{changes,workdir,chroot}
- mkdir -p /tmp/{changes,workdir,chroot}
- mount -t overlay overlay -olowerdir=/,upperdir=/tmp/changes,workdir=/tmp/workdir /tmp/chroot
- mount -t proc proc /tmp/chroot/proc
- chroot /tmp/chroot
- umount /tmp/chroot/proc
- umount /tmp/chroot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement