Difference between revisions of "Build a Live USB disk"

From Archivematica
Jump to navigation Jump to search
Line 12: Line 12:
  
 
==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 (default = 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

Revision as of 19:37, 1 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