HELP! Recover files after accidentally mounting iso to SSD

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read
Posts: 1
Joined: 15 Aug 2016, 21:57

HELP! Recover files after accidentally mounting iso to SSD

#1 Post by crmdias »


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!

Sponsored links

User avatar
Site Admin
Posts: 5304
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France

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

#2 Post 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)