From c4a3114928e1448f9ff6d749ba5f94f81b3ed8ff Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 3 Jan 2009 17:16:41 +0000 Subject: [PATCH] Update --- rescue/linux/usb/README.usb | 21 +++++++++++++++++---- rescue/linux/usb/write_usb_boot_partition | 2 +- 2 files changed, 18 insertions(+), 5 deletions(-) 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