Page 1 of 1

HELP! Recover files after accidentally mounting iso to SSD

Posted: 16 Aug 2016, 04:14
by crmdias
Hello,

I was trying to create a windows bootable media, and when calling the command:
mount -o loop -t iso9660 /home/crmdias/Downloads/utorrent/utorrent-server-alpha-v3_3/DVD\ Windows\ 10\ 32\ e\ 64\ By\ Raton.iso /dev/sdc3
I accidentally mounted to my SSD instead of my external HDD. I used testdisk to see partition, and found out that some files were not being found (my most important files, under /User/Cristiano/Documents/Visual Studio 2015/Projects . The folder was empty. Can someone help me recover those files? I have used photorec to dump all the files in the 250Gb volume, but I cant find out if the files I want have been saved. Also, maybe using a windows boot drive could help me boot into the drive and repair the disk?

Thank you!

Re: HELP! Recover files after accidentally mounting iso to SSD

Posted: 17 Aug 2016, 19:26
by cgrenier
Run TestDisk, select /dev/sdc, confirm the partition table type, Advanced, select the partition 3.
Assuming the partition was using NTFS, choose Boot, RebuildBS, List. If you can see your files, choose Write, confirm, Quit and restart your computer.
Using Windows, run "cmd" (right click run as administrator) and "chkdsk /f X:" (replace X: by the correct drive letter)