Created
March 25, 2018 16:47
-
-
Save thiagomgo/625f431519d02738b71ecc9baee7c2ad to your computer and use it in GitHub Desktop.
Mount tips to chroot
This file contains 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
sudo fdisk -l | |
sudo mount /dev/sdax /mnt | |
sudo mount --bind /dev /mnt/dev | |
sudo mount --bind /dev/pts /mnt/dev/pts | |
sudo mount --bind /proc /mnt/proc | |
sudo mount --bind /sys /mnt/sys | |
sudo chroot /mnt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment