Skip to content

Instantly share code, notes, and snippets.

@bmaia
Created February 17, 2014 00:48
Show Gist options
  • Save bmaia/9042842 to your computer and use it in GitHub Desktop.
Save bmaia/9042842 to your computer and use it in GitHub Desktop.
mount --bind /dev /mnt/squashfs-root/dev
mount --bind /proc /mnt/squashfs-root/proc
mount --bind /sys /mnt/squashfs-root/sys
mount --bind /dev/pts /mnt/squashfs-root/dev/pts
cp /etc/resolv.conf /mnt/squashfs-root/tmp/resolv.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment