Difference between revisions of "Build a Live USB disk"

From Archivematica
Jump to navigation Jump to search
Line 7: Line 7:
 
<pre>sudo dd if=disk.raw of=/dev/sdb bs=4k</pre>
 
<pre>sudo dd if=disk.raw of=/dev/sdb bs=4k</pre>
  
if = input file
+
if = input file; of = output file; bs = block size
of = output file
 
bs = block size
 
  
 
this will take time, ~20 minutes
 
this will take time, ~20 minutes

Revision as of 18:32, 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 (default = MSDOS)