Difference between revisions of "Build a Live USB disk"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
==rebuild partition table== | ==rebuild partition table== | ||
Some USB keys will require rebuilding of partition table (e.g. if initial dd write fails). Use GParted to rebuild partition table: Device -> Create Partition Table -> MSDOS | Some USB keys will require rebuilding of partition table (e.g. if initial dd write fails). Use GParted to rebuild partition table: Device -> Create Partition Table -> MSDOS | ||
+ | |||
+ | ==reformat drive== | ||
+ | Some USB keys will required reformating of their hard drive. Use GParted to format to FAT32, this will allow Windows machines to read the USBSHARE partition to exchange files via the USB key. |
Revision as of 14:31, 2 April 2010
find out the location of your USB drive
you can use the mount command to do this:
mount
On a single drive system the usb drive is likely on /dev/sdb (but be very sure of your drive. You will loose all data on what ever drive is specified as 'of=')
sudo dd if=disk.raw of=/dev/sdb bs=4k
if = input file; of = output file; bs = block size
this will take time, ~20 minutes
rebuild partition table
Some USB keys will require rebuilding of partition table (e.g. if initial dd write fails). Use GParted to rebuild partition table: Device -> Create Partition Table -> MSDOS
reformat drive
Some USB keys will required reformating of their hard drive. Use GParted to format to FAT32, this will allow Windows machines to read the USBSHARE partition to exchange files via the USB key.