Wrote directly to wrong drive using pv as root (dumb)

Using TestDisk to repair the filesystem
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 https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
MoogusShow
Posts: 1
Joined: 23 Mar 2020, 14:22

Wrote directly to wrong drive using pv as root (dumb)

#1 Post by MoogusShow »

I was messing around, creating an XP thumb drive for an old netbook and wrote the .iso to the wrong drive - my 1TB external with all my backup data. I have written about 800MB at the beginning of the disk. There was about 250GB of data on the disk and a bunch of empty space, all on one partition. I used Testdisk to try and recover the partition and file system, but I wasn't sure if it worked, so I have begun using PhotoRec on the entire drive which will take about 16 days on my system. I have a couple of questions.

It now appears that my drive has shown up on the desktop with its correct label, ready to be mounted. Is it possible that with Testdisk I was successful in restoring access to the drive (minus what was overwritten, of course)?

Is it safe to stop PhotoRec to see if I can mount the drive, and restart PhotoRec later? Will it start where it left off?

Should I just suck it up and let PhotoRec run for 16 days?

Thank you for your input!

recuperation
Posts: 2735
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Wrote directly to wrong drive using pv as root (dumb)

#2 Post by recuperation »

MoogusShow wrote: 23 Mar 2020, 14:37 I was messing around, creating an XP thumb drive for an old netbook and wrote the .iso to the wrong drive - my 1TB external with all my backup data. I have written about 800MB at the beginning of the disk. There was about 250GB of data on the disk and a bunch of empty space, all on one partition. I used Testdisk to try and recover the partition and file system, but I wasn't sure if it worked, so I have begun using PhotoRec on the entire drive which will take about 16 days on my system. I have a couple of questions.

It now appears that my drive has shown up on the desktop with its correct label, ready to be mounted. Is it possible that with Testdisk I was successful in restoring access to the drive (minus what was overwritten, of course)?
There is no "one fits all" answer. Try Testdisk out, recover files and try to open them with the associated application.
Is it safe to stop PhotoRec to see if I can mount the drive, and restart PhotoRec later? Will it start where it left off?
Check my recents posts in other threads.
Should I just suck it up and let PhotoRec run for 16 days?
Yes.

Locked