data recovery - How can I recover files from a deleted NTFS partition? - Ask Ubuntu


this question has answer here:

suddenly deleted ntfs partition disk in ubuntu , later created new partition of same name 1 deleted before. have files in there i'm missing.

i want retrieve data before formatting partition. can achieve this. tested testdisk, won't help.

to recover data, may try follows:

boot ubuntu live dvd/usb , open terminal

  1. sudo fdisk -l find exact partition number (sdax/hdax - x 1/2/3 etc.)

  2. then sudo ntfsundelete /dev/sdax (or hdax)

  3. if ntfsundelete gives error, sudo apt-get install ntfsprogs

  4. now ntfsundelete should work

  5. to undelete file, check ntfsundelete report, should see files inode number @ left

  6. sudo ntfsundelete /dev/sdax –u –i <inode> (or hdax)

  7. your files should recovered, can see them root user

  8. change files ownership normal user sudo chown ubuntu <files>

hope helps


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User