Good evening,
I just 'misclicked' and erased my main ext4 'home' partition when reinstalling Windows.
It seems like 20% of the disk space has been used, and so the file system is now corrupted.
I tried to put it back to Ext4 but it just didn't work. Testdisk says the file system is corrupted, even if it can restore it.
How can I rebuilt the meta back? I just need to access the remaining files, and I guess some superblocks might still be there.
Thank you.
EDIT: Seems it's a old partition that moved through several disks, I can't find the backup superblocks back.
The partition has been converted to NTFS with a clean Windows install and back to Ext4 for recovery but it didn't work. I'm pretty sure that a big part of the partition is clean as it was, but I can't find a way to get a superblock and recover the dir structure with available files remaining.
Overwritten Ext4 part with Windows Installation
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
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
- cgrenier
- Site Admin
- Posts: 5432
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: Overwritten Ext4 part with Windows Installation
Try TestDisk, Advanced, Superblock.
If the location of the partition is correct, it should identify backup superblock and you will be able to use fsck.ext4 to repair the filesystem.
If the location of the partition is correct, it should identify backup superblock and you will be able to use fsck.ext4 to repair the filesystem.