Overwritten partition during installation of FC 17

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
alexlausk
Posts: 1
Joined: 25 Sep 2012, 06:05

Overwritten partition during installation of FC 17

#1 Post by alexlausk »

I have a data disk, 100 GB) of ext4 file system. When I tried to install Fedora 17, I accidentally inserted this data disk instead of a blank disk into the system. I did not realized until the Fedora written the partition information on the disk, then I aborted the installation without going further. Now the partition is as follow:

Device Boot Start End Blocks Id System
/dev/sdf1 * 2048 1026047 512000 83 Linux
/dev/sdf2 1026048 195362815 97168384 8e Linux LVM

My old partition was a plain ext 4 file system without any LVM stuff.
I have clone the disk with dd and I found this testdisk program. Can testdisk be used to rescue my data in this situation?


Thanks in advance for any help, as I have most of my data and research papers that I have referenced in this data disk!

Alex

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

Re: Overwritten partition during installation of FC 17

#2 Post by cgrenier »

TestDisk should be able to find your old partitions. Run TestDisk, Analyse, Quick Search, continue with Deeper Search if some partitions are still missing. Use the arrow keys to switch the partitions to recover from D(eleted) to P(rimary) or L(ogical). If you have all your partitions, choose to write the new partition table on next screen.

Locked