Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 61

Thread: GPT messed up, cant boot or access harddrive

  1. #51
    Join Date
    Jan 2014
    Beans
    45
    Distro
    Ubuntu

    Re: GPT messed up, cant boot or access harddrive

    Code:
    ubuntu@ubuntu:~$ sudo fsck -n /dev/sda1
    fsck from util-linux 2.20.1
    e2fsck 1.42 (29-Nov-2011)
    fsck.ext4: Group descriptors look bad... trying backup blocks...
    fsck.ext4: Bad magic number in super-block when using the backup blocks
    fsck.ext4: going back to original superblock
    fsck.ext4: Group descriptors look bad... trying backup blocks...
    fsck.ext4: Bad magic number in super-block when using the backup blocks
    fsck.ext4: going back to original superblock
    Error reading block 4294967295 (Invalid argument).  Ignore error? no
    
    Superblock has an invalid journal (inode 8).
    Clear? no
    
    fsck.ext4: Illegal inode number while checking ext3 journal for /dev/sda1
    
    /dev/sda1: ********** WARNING: Filesystem still has errors **********
    
    ubuntu@ubuntu:~$ echo $?
    12
    12 means Filesystem errors left uncorrected and Operational error

    Code:
    • 4 – Filesystem errors left uncorrected
    • 8 – Operational error
    sda2 looks fine, although its too big (my opinion)

    Code:
    ubuntu@ubuntu:~$ sudo fsck -n /dev/sda2
    fsck from util-linux 2.20.1
    e2fsck 1.42 (29-Nov-2011)
    /dev/sda2: clean, 254/122400 files, 151105/488448 blocks
    ubuntu@ubuntu:~$ echo $?
    0
    sda3 looks like sda1:

    Code:
    ubuntu@ubuntu:~$ sudo fsck -n /dev/sda3
    fsck from util-linux 2.20.1
    e2fsck 1.42 (29-Nov-2011)
    fsck.ext4: Group descriptors look bad... trying backup blocks...
    fsck.ext4: Bad magic number in super-block when using the backup blocks
    fsck.ext4: going back to original superblock
    fsck.ext4: Group descriptors look bad... trying backup blocks...
    fsck.ext4: Bad magic number in super-block when using the backup blocks
    fsck.ext4: going back to original superblock
    Error reading block 1367597501 (Invalid argument).  Ignore error? no
    
    Superblock has an invalid journal (inode 8).
    Clear? no
    
    fsck.ext4: Illegal inode number while checking ext3 journal for /dev/sda3
    
    /dev/sda3: ********** WARNING: Filesystem still has errors **********
    
    ubuntu@ubuntu:~$ echo $?
    12

  2. #52
    Join Date
    Jan 2014
    Beans
    45
    Distro
    Ubuntu

    Re: GPT messed up, cant boot or access harddrive

    Can I trust fsck to repair the paritions or should I prefer to change the mbrtable manually?

  3. #53
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GPT messed up, cant boot or access harddrive

    did you have this and get them out of sync?
    Do not mix gpt & MBR is the bottom line.

    http://www.rodsbooks.com/gdisk/hybrid.html
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #54
    Join Date
    Jan 2014
    Beans
    45
    Distro
    Ubuntu

    Re: GPT messed up, cant boot or access harddrive

    Cant really say if I had a mixed GPT/MBR.

    At least gdisk said that the MBR is hybrid and GPT damaged. That was before we started rewriting the partition table to MBR.

    My intention when installing the system with Windows and Linux was to have both using GPT. But I cant say for sure, that I havent done any mistakes when installing it 1 1/2 year ago.

  5. #55
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GPT messed up, cant boot or access harddrive

    Windows only boots from gpt drives with UEFI. And must have UEFI to boot from a gpt partitioned drive.
    Ubuntu will boot with BIOS or UEFI from gpt drive.
    Both Windows and Ubuntu only boot from MBR(msdos) drives with BIOS.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #56
    Join Date
    Jan 2014
    Beans
    45
    Distro
    Ubuntu

    Re: GPT messed up, cant boot or access harddrive

    Quote Originally Posted by oldfred View Post
    Windows only boots from gpt drives with UEFI. And must have UEFI to boot from a gpt partitioned drive.
    Ubuntu will boot with BIOS or UEFI from gpt drive.
    Both Windows and Ubuntu only boot from MBR(msdos) drives with BIOS.
    Yes, I know that (now). The problem is I messed up the GPT partition table with testdisk and YesWeCan and I tried to remove the GPT and replace it with a MBR. But we could only restore the boot partition.


    I tried the "Partition Wizard" which was suggested in the sevenforums. It shows all my files for the NTFS partition on the SSD. Will try to recover the needed files from that partition with "Power Recovery Tool" by the same company. Here are two screenshots from that tool.

    The first is just the overview of the tool, the second is the result of the full scan for lost partitions and the third as well. The selected NTFS partition is the one I can open and read files from. I'm still wondering, why the /boot partition is in the middle of the drive. I'm pretty sure I have put it at the beginning.

    2014-01-07 09.31.20.jpg2014-01-07 09.30.10.jpg2014-01-07 09.29.47.jpg

    Dont know if this helps to solve the problem with the linux partitions

  7. #57
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GPT messed up, cant boot or access harddrive

    It may just be easier to recover what data you can and start all over with a good partition plan.

    And create a good regular backup plan. With multiple drives you can do quick backups daily with cron & rsync. But I also do copies to DVDs of most critical files.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #58
    Join Date
    Jan 2014
    Beans
    45
    Distro
    Ubuntu

    Re: GPT messed up, cant boot or access harddrive

    I will do that later with the Windows partition (probably not today anymore). Just need some bootable tool for that.

    The problem is my home partition that was encrypted by Ubuntu. And I'm not sure if I had a lot of data that I hadnt backed up. The things that I remember were some settings and configurations for some programs and tools, but that is not important to me. Dont know if I had any personal files like images or other documents on it, though I have most of that stuff on an external drive and backed up.

    YesWeCan already gave me some tips for a partition plan. But any additional information is much appreciated.


    Will read this article, when I have recovered everything and set up my system again: http://www.jveweb.net/en/archives/20...l-backups.html

  9. #59
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: GPT messed up, cant boot or access harddrive

    If you have encryption, then backup is even more important as data recovery is not supposed to be possible or the entire reason for the encryption in the first place.

    I do not use encryption, but understand some need it. But not sure all data needs to be encrypted.
    I am a believer in Pareto principle or the 80/20 rule and believe that applies to our computer data. It may even be more like 90/10 as I find I have little really vital data.
    So I do try to separate system from data. And I include the user settings in /home as part of system. So I keep data in separate data partition(s).
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #60
    Join Date
    Jan 2014
    Beans
    45
    Distro
    Ubuntu

    Re: GPT messed up, cant boot or access harddrive

    Yes, I'm thinking about leaving out the encryption with the new system. But I will wait with that, until I have tried everything to recover the old system.

Page 6 of 7 FirstFirst ... 4567 LastLast

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
  •