X-Git-Url: https://git.sur5r.net/?p=bacula%2Frescue;a=blobdiff_plain;f=rescue%2Flinux%2Fusb%2FREADME.usb;fp=rescue%2Flinux%2Fusb%2FREADME.usb;h=dcae47b849bb5bdebdb51efffd6362a35486c200;hp=f2f914c31e261fa266d010c22573c93add5b22e1;hb=c4a3114928e1448f9ff6d749ba5f94f81b3ed8ff;hpb=4afca20b7c7b2c265c8c65ff81717723cf2181b2 diff --git a/rescue/linux/usb/README.usb b/rescue/linux/usb/README.usb index f2f914c..dcae47b 100644 --- a/rescue/linux/usb/README.usb +++ b/rescue/linux/usb/README.usb @@ -11,11 +11,24 @@ After editing the config file, run: ./partition_usb_key -Note, this script assumes that you have a 3GB or bigger key. It -may work for a 2GB key, but you might want to reduce the size of -the second partition. +Note, this script will destroy *all* data on the key, and assumes +that you have a 3GB or bigger key. It may work for a 2GB key, +but you might want to reduce the size of the second partition. -This script creates three partitions: +==== +If you ever want to put the key back to its prior state, *before* +running the partition_usb_key, you might consider doing a: + + sfdisk -d /dev/key-device >save_me + +where key-device is the key device name (e.g. sda). The +output file can be fed back into sfdisk to recreate the original +with: + + sfdisk /dev/key-device