]> git.sur5r.net Git - bacula/rescue/blobdiff - rescue/linux/usb/README.usb
Update
[bacula/rescue] / rescue / linux / usb / README.usb
index f2f914c31e261fa266d010c22573c93add5b22e1..dcae47b849bb5bdebdb51efffd6362a35486c200 100644 (file)
@@ -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 <save_me
+====
+
+The partition_usb_key script creates three partitions:
 
  1. kubuntu8  -- USB boot partition containing the OS
  2. casper-rw -- A writable ext3 partition for saving OS changes