Create and Clone a USB with dd

Anything relates to software

Create and Clone a USB with dd

Postby LuKhach » Wed Oct 17, 2012 4:35 pm

Plug in both USB pen drives and type: fdisk -l as root in terminal to see what their device names are. If they appear as /dev/sdb and /dev/sdc, type in a terminal: dd if=/dev/sdb of=/dev/sdc conv=notrunc.

To make an image of the entire drive including MBR (boot files), type in terminal: dd if=/dev/sdb of=/path/to/destination/image.dd conv=notrunc. To restore the image to a new drive which is seen as /dev/sdb: dd if=/path/to/image.dd of=/dev/sdb conv=notrunc
User avatar
LuKhach
 
Posts: 67
Joined: Tue Jun 14, 2005 4:11 pm
Location: San Jose

Return to Software & Techniques

Who is online

Users browsing this forum: No registered users and 2 guests

cron