Tag Archives: flash usb drive

How to recover deleted files from usb flash drive?

What do you need?

  • dd
  • foremost
  • enough space for recoverd flash drive data

How to do it?

# dd if=/dev/sdX of=/home/username/XY-file-name.image

# foremost XY-file-name.image -o output

/dev/sdX <— path to usb flash drive

/home/username/XY-file-name.image <— path to save image of recovered data from flash drive

Where on internet I found a solution?

URL: http://www.corythompson.net/index.php/recover-deleted-data-from-usb-flash-drive-with-foremost/