Root partition recovery

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Besmart
Level 1
Level 1
Posts: 1
Joined: Tue May 17, 2022 2:25 am

Root partition recovery

Post by Besmart »

Hello! Thanks for your attention to my problem.
I’ll try to describe the issue from the beginning and I’m sorry for my English.

I have the 1Tb HDD with win7 and Linux mint (previously there was only win7 system). Later I added the 250Gb SSD with win7 and Linux mint as well. After adding SSD, Grub detected all 4 operating systems. It worked perfectly. I used SSD as a system drive and HDD as a storage for media files. Both drives are GPT-based.

But half a year ago Grub stopped detecting Linux mint on the HDD. I have a lack of knowledge in this area and looked for some information in google. I decided that it was a problem with the ext4 file system and tried to recover using superblocks via fsck. There was the response that superblocks were damaged and I postponed solving this issue. Win7 on the HDD can still boot via boot menu.

I continued using two operating systems on the SSD. But several days ago Grub failed. There was a message “minimal bash-like line editing is supported”. Win7 on the SSD works normal. I decided that something happened with ext4 file system again and tried to recover it with superblocks. I tried the first one and it failed as well.

I think, it was my mistake. I should have solved the Grub issue another way. I found the information that it needs to boot into the Live USB stick and type several commands. But now it’s impossible because the root file system is damaged. ‘/home’ partition can be mounted and I copied necessary information.

I used TestDisk to detect partitions on the SSD. The current partition structure looks good. But after quick search the intersection between two partitions is revealed and they’re pointed as Deleted. Deeper search helped to find the root partition that matches the current partition structure and there is the access to files on this partition.

Is it possible to restore the root partition on the SSD and fix Grub? Or is there only way to reinstall the system? I can’t figure out the TestDisk output and further steps to perform. I need a direction what information I should look for.

As for the HDD, I can’t get access to files on the Linux partitions using TestDisk. In the last resort I’ll try to restore files from ‘/home’ using DMDE and it’s not necessary to restore the root partition.

As it’s already been mentioned, win7 systems works on the both drives.
I also attached screenshots with the drives smart info, TestDisk search results, and GParted.
  1. SMART SSD: https://drive.google.com/file/d/1IRIgYn ... sp=sharing
    SMART HDD: https://drive.google.com/file/d/1xvM196 ... sp=sharing
  2. SSD TestDisk current partition structure: https://drive.google.com/file/d/1cqci5h ... sp=sharing
    SSD TestDisk quick search: https://drive.google.com/file/d/1VSPdcz ... sp=sharing
    SSD TestDisk found root partition: https://drive.google.com/file/d/1CQKi1d ... sp=sharing
  3. HDD TestDisk current partition structure: https://drive.google.com/file/d/1oWJaNq ... sp=sharing
    HDD TestDisk quick search: https://drive.google.com/file/d/1x59Rwm ... sp=sharing
  4. SSD GParted: https://drive.google.com/file/d/1PcA1DW ... sp=sharing
    HDD GParted: https://drive.google.com/file/d/1S3-eXJ ... sp=sharing
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
karlchen
Level 23
Level 23
Posts: 18222
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Root partition recovery

Post by karlchen »

Viewing screenshots uploaded to Google drive is very slow. Therefore all screenshot files have been downloaded and re-uploaded to a different image hoster.
The re-uploaded screenshots can be viewed below. The order of the screenshots has been preserved. Hope this helps forum users interested in inspecting the screenshots.
  1. SMART SSD:
    Image
    .
    SMART HDD:
    Image
    .
  2. SSD TestDisk current partition structure:
    Image
    .
    SSD TestDisk quick search:
    Image
    .
    SSD TestDisk found root partition:
    Image
    .
  3. HDD TestDisk current partition structure:
    Image
    .
    HDD TestDisk quick search:
    Image
    .
  4. SSD GParted:
    Image
    .
    HDD GParted:
    Image
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
Locked

Return to “Storage”