Wednesday, 2 March 2016

Create image of flash drive / Memory card in linux.

Hi guys sometime we need to make image of memory card, pendrive or any flash device.
There is a tools in linux by which we can easily make images.




  1. Insert memory card / flash drive in card reader or usb.
  2. Now open terminal window using ("ctrl + alt + t" in ubuntu).
  3. make a directory at desktop where we will save image by following commands:
    • sudo mkdir ~/Desktop/backupImages
    • cd ~/Desktop/backupImages
  4. give command clear"dmesg"
    • dmesg -C
    • dmesg

  • You will find result "attached scsi removable disk". Here "sdd" is found on my pc.
  • Make sure you check on your computer. "Careful in this step to get your device name"

  • Now give command to make image of your device
    • sudo dd if=/dev/sdd of=myflashbackup.img
  • now wait for few minutes depending upon size of flash drive.
  • A new file is created named "myflashbackup.img".
Note: "if" is source and "of" is destination.

please post if having any query.

No comments:

Post a Comment