Build a Live USB disk

From Archivematica
Revision as of 18:32, 1 April 2010 by Peter (talk | contribs)
Jump to navigation Jump to search

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 (default = MSDOS)