Skip to content

Instantly share code, notes, and snippets.

@thiagomgo
Created March 25, 2018 16:47
Show Gist options
  • Save thiagomgo/625f431519d02738b71ecc9baee7c2ad to your computer and use it in GitHub Desktop.
Save thiagomgo/625f431519d02738b71ecc9baee7c2ad to your computer and use it in GitHub Desktop.
Mount tips to chroot
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