X-Git-Url: https://git.sur5r.net/?p=bacula%2Frescue;a=blobdiff_plain;f=rescue%2Flinux%2Foldusb%2FREADME.usb;fp=rescue%2Flinux%2Foldusb%2FREADME.usb;h=c3a64034791847ecb9559035ae242ea934ced2f2;hp=0000000000000000000000000000000000000000;hb=fb21b5066e01a80263767f2406829a10dfa58303;hpb=0a3515b92eb06f0fee16cee0f189ae5aa83b4414 diff --git a/rescue/linux/oldusb/README.usb b/rescue/linux/oldusb/README.usb new file mode 100644 index 0000000..c3a6403 --- /dev/null +++ b/rescue/linux/oldusb/README.usb @@ -0,0 +1,133 @@ + +Copyright (C) Kern E. Sibbald, 2009 + +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 ... + +Packages needed: +apt-get install syslinux mbr + + +1. Start by editing the "config" file. Be sure to get your USB_DEV + definition correct. Note: you can see what devices you have + connected by running: + + lsscsi + + For example, I get: + + $ lsscsi + [1:0:0:0] cd/dvd _NEC DVD+RW ND-1100A 108B /dev/scd0 + [1:0:1:0] cd/dvd PHILIPS DVD+-RW DVD8631 9D03 /dev/scd1 + [9:0:0:0] disk Kingston DataTraveler 2.0 PMAP /dev/sda + + and in my case, the USB device is the Kingston DataTraveler on + device /dev/sda. + + Alternatively you can do: + + fdisk -l + +2. The scripts you need to partition the key and + to write the boot image to it are all in this (usb) directory. + +3. 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