Last active
July 18, 2017 23:48
-
-
Save dominicusin/d59605f1ce52819d80bd90b6d6c601a8 to your computer and use it in GitHub Desktop.
mips chroot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mount -R /proc /chroot/mips/proc;mount -R /sys /chroot/mips/sys;mount -R /dev /chroot/mips/dev | |
| mount -t overlay -o rw,noatime,lowerdir=/chroot/mips/,upperdir=/chroot/mips/overlay/upper,workdir=/chroot/mips/overlay/work /chroot/mips/overlay/ /chroot/mips/ | |
| env -i /sbin/chroot /chroot/mips /bin/ash | |
| umount -l `mount |grep mips|cut -d' ' -f3` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment