Quantcast

Create RAW image of a USB Drive

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Create RAW image of a USB Drive

laserdude

How do I create a RAW image off of a USB drive. I have tried all combinations of dd that i am able to find in internet. any help on this is greatly appreciated.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Create RAW image of a USB Drive

Matthi41
Hello laserdude,

"dd if=/dev/sdd of=/home/laserdude/usb-device-image.raw"

should work.
Be sure to substitute "/dev/sdd" by your actual USB device. A common mistake is to just to create a raw image of the partition on the USB device (like "/dev/sdd1"). In this case you miss partitioning information, other partitions and the bootsector.
Similarly, substitute "/home/laserdude/usb-device-image.raw" by the actual image path and name you want to use.
You may have to run the dd command as root.

Hope that helps,
Mat41
Loading...