X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=rescue%2Flinux%2Fusb%2FREADME.usb;h=31bbf902257143b32425458c7e3868d55688f605;hb=6bae50775269c6d0c2c83ffb174a444351d26472;hp=71d16f54024a05b19c5e399604588f3507d932f1;hpb=7ac5267e468ba46ff5b9aaa7ca2497162ba6a3c1;p=bacula%2Frescue diff --git a/rescue/linux/usb/README.usb b/rescue/linux/usb/README.usb index 71d16f5..31bbf90 100644 --- a/rescue/linux/usb/README.usb +++ b/rescue/linux/usb/README.usb @@ -2,6 +2,82 @@ This directory is used to build a USB key containing a Kubuntu 8.04 LiveCD with persistent OS files and persistent /home files. +You will need to run as root for most things ... + +Start by editing the "config" file. Be sure to get your USB_DEV +definition correct. The scripts you need to partition the key and +to write the boot image to it are all in this (usb) directory. + +After editing the config file, run: + + ./partition_usb_key + +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. + +==== +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