Skip to content

Instantly share code, notes, and snippets.

@f4bio
Last active May 7, 2017 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save f4bio/229b2544ca3d6119d3b698a4a6714854 to your computer and use it in GitHub Desktop.
Save f4bio/229b2544ca3d6119d3b698a4a6714854 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "better use: https://github.com/f4bio/linux-rescuemode.git"
#mount /dev/sda3 /mnt/custom
#mount --bind /dev /mnt/custom/dev
#mount --bind /proc /mnt/custom/proc
#mount --bind /sys /mnt/custom/sys
#echo "now run `$ chroot /mnt/custom /bin/bash`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment