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
sudo fdisk -l
find exact partition number (sdax/hdax - x 1/2/3 etc.)then
sudo ntfsundelete /dev/sdax
(or hdax)if ntfsundelete gives error,
sudo apt-get install ntfsprogs
now ntfsundelete should work
to undelete file, check ntfsundelete report, should see files inode number @ left
sudo ntfsundelete /dev/sdax –u –i <inode>
(or hdax)your files should recovered, can see them root user
change files ownership normal user
sudo chown ubuntu <files>
hope helps
Comments
Post a Comment