Archive

Posts Tagged ‘microsd’

Recovering microSD under Ubuntu (12.04), should work on other Linuxes

January 28th, 2013 5 comments

My Android phone somehow managed to kill the inserted 32 GB microSD card, which is really annoying as I have most of my applications on this card and – which is much worse – photos taken at several occasions.

When I connected the card (via an SD-microSD adapter), Ubuntu told me “mount: /dev/sdb1: can’t read superblock” (obviously trying to mount it as ext).  Forcing Linux to mount the card as FAT didn’t work either, so I googled somewhat and found a tool called TestDisk!

TestDisk allows to recover lost data and this is what I did to get most of my content back

  1. sudo apt-get install testdisk
  2. sudo testdisk
  3. [Create] create a new log file
  4. Select /dev/sdb (“…FlashMedia”) and Proceed
  5. Select [Intel] Intel/PC partition
  6. (Backup, just in case sth happens)  [Advanced] -> [Image Creation] -> Select target Folder
  7. [Analyze]->[Quick Search]
  8. [Enter to continue]
  9. [Deeper Search]
  10. [P] (list files)
  11. [A] (select all files, which includes folders)
  12. [C] Copy files
  13. select target folder
  14. [C] (copy to selected folder)

And thats it 🙂 Whee!!!!

Categories: linux Tags: , , , ,