From bb8ad7f7ee4d94dd9f88e8ce8872634e4808ad07 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Thu, 4 Apr 2019 15:48:55 -0400 Subject: [PATCH] add readme --- readme.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..fe5aa0e --- /dev/null +++ b/readme.md @@ -0,0 +1,37 @@ +# Rescue USB Creator +This bash script uses the Easy2Boot utility available [here](http://www.easy2boot.com/make-an-easy2boot-usb-drive/make-using-linux/) to create a bootable USB drive with several OS Distributions helpful for troubleshooting and restoring servers. + +## Current list of Distros: + +* acronis-newacronis +* acronis_trueimage_home_2012_plus-ati +* clonezilla-live +* super_grub2_disk_hybrid_2.02s9 +* systemrescuecd-x86 +* WinPE_Fixer + +## Resources Directory +Files here are used to customize E2B settings. + +## Using the script + +```bash +git clone https://gogs.tfmm.co/tfmm/rescue-usb.git +cd rescue-usb +chmod +x usbcreator.sh +sudo ./usbcreator.sh +``` + +The script will prompt for a device, like `/dev/sdX`. Please use caution here, as the script will then proceed to remove all partitions and data from the provided device. + +## How does it work? + +The script downloads the previously mentioned Easy2Boot utility to create a bootable USB flash drive that can boot from any number of Live CD ISO files. + +It then copies the ISOs to the `_ISO/MAINMENU` directory of the flash drive, these ISOs show up in the boot menu of the flash drive. + +In order to make WinPE Fixer work correctly, we then mount the ISO, and pull the `/tools` directory off of it, and copy it to the root of the USB. + +Then custom menu settings are copied to the drive. + +Finally, the device is unmounted. \ No newline at end of file