Wrote Raspberry Pi image to external drive, now stuck

How to use TestDisk to recover lost partition
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
sidneylopsides
Posts: 3
Joined: 24 Feb 2016, 21:37

Wrote Raspberry Pi image to external drive, now stuck

#1 Post by sidneylopsides »

Hi,
I was writing a new image to an SD for my Raspberry Pi and selected the wrong drive letter.
I have a 1TB Seagate USB3 external drive that I use for my Lightroom catalogue, and that got the image.

When I look with Get Data Back I can see a 932GB NTFS filesystem and everything is there.
When I scan with Testdisk it is showing me a 56MB FAT16 and a 1000MB Linux partition.

I know the file system is intact, but I can't work out what I need to do to make it "live" again. In windows storage manager it shows a 932GB RAW.

Is there a way to reactivate the NTFS partition?

Thanks!

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

Re: Wrote Raspberry Pi image to external drive, now stuck

#2 Post by cgrenier »

Run TestDisk, Analyse, Quick Search, Deeper Search, the NTFS partition should be listed.
Set this partition as P(rimary), on next screen, choose Write, confirm, BackupBS, confirm, Quit

sidneylopsides
Posts: 3
Joined: 24 Feb 2016, 21:37

Re: Wrote Raspberry Pi image to external drive, now stuck

#3 Post by sidneylopsides »

Thank you for the reply. I've done this, and now I just have a single NTFS primary partition according to Testdisk, but windows still sees it as RAW. Have I missed something?

sidneylopsides
Posts: 3
Joined: 24 Feb 2016, 21:37

Re: Wrote Raspberry Pi image to external drive, now stuck

#4 Post by sidneylopsides »

Fixed! I ran chkdsk /f on the drive and it's back as normal

Locked