Skip to content

Instantly share code, notes, and snippets.

@asachs
Created October 21, 2014 15:28
Show Gist options
  • Save asachs/7aa434c7eca124377e06 to your computer and use it in GitHub Desktop.
Save asachs/7aa434c7eca124377e06 to your computer and use it in GitHub Desktop.
prep for chroot
mount /dev/vda1 /mnt
cd /mnt
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment