Installing to a USB Drive
From RedPost/Kit/Documentation
Note: This procedure is known to work for the following flash drives used in the RedPost/Goshen devices:
2.0 GB
- Emtec 2.0GB C150
- Toshiba 2.0GB -- Fast access time
- Staples Relay USB Flash
- PNY 2GB Attache
- SanDisk 2GB Cruzer Micro
512 MB
- JetFlash V30 USB 2.0
- Staples Relay USB Flash
- PNY 512MB Attache
- SanDisk 512MB Cruzer Micro USB
- Verbatim 512MB -- Faster than average access time
- Lexar JDFirefly 512MB -- Very fast access time
DOES NOT WORK
Your mileage may vary. See the DSL wiki for a more detailed guide.
Many flash drives on the market come pre-formatted using FAT32. To make a drive bootable and work properly with DSL, it needs to be formatted using the FAT16 standard.
[edit] Linux
- Insert the flash drive.
- Run fdisk. (Note: I will assume here that your flash drive is /dev/sda. Be sure to change it if it is something else, or else you might accidentally erase data from the wrong place.)
fdisk /dev/sda
- If there is not a valid FAT partition already, add one. First remove any existing partitions using d. Then add a new partition using n.
- Make sure the partition is marked as bootable. To make it bootable, enter a, then 1.
- Enter w to write the new partition table to the drive.
- If you just created a new partition, create a FAT filesystem on it using
mkdosfs /dev/sda1
- Mount the drive.
mount /dev/sda1 tmpdir/
- Copy the files from the image.
cp -a /path/to/image/* tmpdir/
(or -- if updating a previous created copy -- use rsync to only copy files that have changed)
rsync -a /path/to/image/ tmpdir/
Don't leave out the trailing slash. It tells rsync to copy the directory's contents, but not the directory itself.
- Unmount the flash drive.
- Run syslinux to install the bootloader. (Again, be sure to use the correct device for your flash drive.)
syslinux -s /dev/sda1

