Small script to mount and chroot a local system (using a rescue CD or Image). This script is developped to have minimal requirements therefore it should run on a very large panel of rescue system.
Feel free to report any problem in the Github located at : https://github.com/sysadminstory/chrootme/
wget --no-check-certificate "https://raw.githubusercontent.com/sysadminstory/chrootme/master/chrootme.sh" -O "chrootme.sh" && sh chrootme.sh
or
curl -k -o "chrootme.sh" "https://raw.githubusercontent.com/sysadminstory/chrootme/master/chrootme.sh" && sh chrootme.sh
To run this tool, you will need to be able to get the file on your system, and you will need those utilities :
- sh
- cat
- tr or awk
- mkdir
- rm
- mount
- umount
- sed
- cp
- grep
- sort
There are optional tools used by this script :
- lsblk
- whiptail or dialog