Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Unable to access root partition from grub menu

  1. #11
    Join Date
    Jul 2020
    Beans
    8

    Re: Unable to access root partition from grub menu

    Neither alternate superblock worked

    How can I make an image of a corrupted unrecognized partition?

  2. #12
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Unable to access root partition from grub menu

    See section on imaging damaged drive or partition.
    https://help.ubuntu.com/community/DataRecovery

    gddrescue better than ddrescue
    http://www.gnu.org/software/ddrescue/ddrescue.html
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #13
    Join Date
    Jul 2020
    Beans
    8

    Re: Unable to access root partition from grub menu

    So I downloaded gddrescue and got my hands on an old 500GB hard drive. Below is the logfile

    # Mapfile. Created by GNU ddrescue version 1.22
    # Command line: ddrescue --force /dev/sda5 /dev/sdb1 /home/logfile
    # Start time: 2020-07-30 15:31:27
    # Current time: 2020-07-30 16:20:55
    # Finished
    # current_pos current_status current_pass
    0x486D8F0000 + 1
    # pos size status
    0x00000000 0x486D900000 +

    I've looked at different directions because I'm a little confused and I'm scared of screwing something up again to be honest. It seemed like ddrescue was successful. But when I open gparted I don't see any space being taken up by the partition on my /dev/sdb1 drive. I assumed approx 300GB would be taken up in there but it only shows an unkown partition of size 465GB.

    I also downloaded sleuthkit per the data recovery website but I don't know where to go from here. When I ran

    Code:
    sudo mmls /dev/sdb1
    I get "Cannot determine partition type"

    What should I do next?

  4. #14
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Unable to access root partition from grub menu

    Can you run photorec on your sdb1 partition or sdb drive?
    Testdisk & photorec
    http://www.cgsecurity.org/wiki/PhotoRec
    http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step

    It needs another drive to copy data to as you cannot copy it to same drive you are scanning?
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #15
    Join Date
    Jul 2020
    Beans
    8

    Re: Unable to access root partition from grub menu

    So I'm booting from lubuntu on a flash drive. I just imaged /dev/sda5 onto a separate drive which is /dev/sdb1. Are you saying I need a third hard drive then for photorec? Couldn't I run photorec on /dev/sda5 and copy it over to /dev/sdb1?

  6. #16
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Unable to access root partition from grub menu

    You can, but the suggestion is always to have an image backup, just in case.

    Photorec will find even deleted files & parts of very old files that may have been partially overwritten. It only gives you extension, not full filename.
    I had to run it overnight and then took weeks part time to investigate each file and it turned out I had saved some many times so had lots of duplicates, but no date to know which was newest. Lots of compares to backkup which was a bit old.
    Learned to do better backups.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •