Skip to content

Instantly share code, notes, and snippets.

@bamthomas
Last active January 1, 2016 22:29
Show Gist options
  • Save bamthomas/8210776 to your computer and use it in GitHub Desktop.
Save bamthomas/8210776 to your computer and use it in GitHub Desktop.
chroot with peudo-devices
sudo mount /dev/sda1 /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