Announcement

Collapse
No announcement yet.

Keep getting "Invalid partition table error"

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Keep getting "Invalid partition table error"

    Can't figure this problem out. I've set the BIOS to boot from UEFI and disabled Legacy setting but get this error message in my Dell Latitude E6430s laptop. Then it reverts back to the Legacy settings. Don't see any kind of revert to defaults setting. Shows the following query.

    admin1@Latitude-E6430s:~$ sudo gdisk -l /dev/sda2
    GPT fdisk (gdisk) version 1.0.8

    Partition table scan:
    MBR: not present
    BSD: not present
    APM: not present
    GPT: not present

    Creating new GPT entries in memory.
    Disk /dev/sda2: 624091136 sectors, 297.6 GiB
    Sector size (logical/physical): 512/4096 bytes
    Disk identifier (GUID): 18B3B973-650A-41FC-9D7A-202DCE61EE47
    Partition table holds up to 128 entries
    Main partition table begins at sector 2 and ends at sector 33
    First usable sector is 34, last usable sector is 624091102
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 624091069 sectors (297.6 GiB)



    #2
    What does
    sudo sfdisk -l /dev/sda
    show?
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      I don't know if you're explaining the issue properly because I see no mention of the error message you have in the title. If you are trying to convert from MBR disk partitioning to GPT and are unable to, it can be caused by lack of space for the GPT partition table. The "end" of the disk is used for a backup table. Try shrinking the last partition on the disk so there's a little free space after it and trying again.

      If this is not your issue, please provide more detail on what the issue actually is.

      Please Read Me

      Comment


        #4
        Originally posted by jacatone View Post
        admin1@Latitude-E6430s:~$ sudo gdisk -l /dev/sda2
        GPT fdisk (gdisk) version 1.0.8

        Partition table scan:
        MBR: not present
        BSD: not present
        APM: not present
        GPT: not present
        I *think* You want to use gdisk on the whole drive, not a single partition. Use just sda for this

        Code:
        $ sudo gdisk -l /dev/sda1
        
        GPT fdisk (gdisk) version 1.0.8
        
        Partition table scan:
        MBR: not present
        BSD: not present
        APM: not present
        GPT: not present

        Using /dev/sda (no number)

        Code:
        ​$ sudo gdisk -l /dev/sda
        
        
        GPT fdisk (gdisk) version 1.0.8
        
        Partition table scan:
        MBR: protective
        BSD: not present
        APM: not present
        GPT: present
        
        Found valid GPT with protective MBR; using GPT.
        Disk /dev/sda: 2000409264 sectors, 953.9 GiB

        Comment


        • oshunluvr
          oshunluvr commented
          Editing a comment
          Good catch

        • Qqmike
          Qqmike commented
          Editing a comment
          Yeah, I missed that, although I thought the OP output was strange.
      Working...
      X