GPT Not mounting using "normal" GPT mounting techniques 12.04

8,587

Your partition table is corrupt. Note the following:

First usable sector is 34, last usable sector is 3907027021
Number Start (sector) End (sector) Size       Code Name
  2          264192   3907028991   1.8 TiB    0700 Basic data partition

The end sector of partition #2 is after the last usable sector on the disk. This is illegal.

Note, however, that this says nothing about the filesystem on that partition. It's possible that the filesystem is smaller by a wide enough margin to make it fit entirely on the disk. If so, deleting the partition in gdisk and re-creating it with a smaller size may fix things. You'll need to figure out the precise size of the filesystem, though. Perhaps one of the Linux NTFS utilities can provide this information, but offhand I'm not sure precisely how to do this.

Also note that it's partition #2 (/dev/sdb2) that contains the filesystem, not /dev/sdb1 or /dev/sdb. If you've been using either of the latter two identifiers in Linux, that could explain the error messages you've been getting. If you try /dev/sdb2 and it starts working, though, don't ignore the partition table problem; it's likely to come back and bite you!

Share:
8,587

Related videos on Youtube

Roy Markham
Author by

Roy Markham

Updated on September 18, 2022

Comments

  • Roy Markham
    Roy Markham almost 2 years

    I've got two 2TB drivess: one MBR and the other GPT.

    sudo blckid /dev/sdb1
    

    returns a blank.

    gdisk shows:

    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present
    
    Found valid GPT with protective MBR; using GPT.
    
    Warning! Secondary partition table overlaps the last partition by 1970 blocks!
    You will need to delete this partition or resize it in another utility.
    
    Disk /dev/sdb: 3907027055 sectors, 1.8 TiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 38A1113D-B5E9-4B69-ABFF-ACB27AFB3DDD
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 3907027021
    Partitions will be aligned on 8-sector boundaries
    
    Total free space is 2014 sectors (1007.0 KiB)
    Number Start (sector) End (sector) Size       Code Name
      1              34       262177   128.0 MiB  0C01 Microsoft reserved part
      2          264192   3907028991   1.8 TiB    0700 Basic data partition
    

    mounting via fstab or -t gives same error when using NTFS or NTFS-3g "NTFS signature is missing"

    GParted says one partition is overwriting another, yet windows shows no errors at all. The drive is also mounted easily via MacOs (triple boot)

    • Jeremy Kerr
      Jeremy Kerr almost 12 years
      Could you post the output of gdisk -l /dev/sdb ?
    • Roy Markham
      Roy Markham almost 12 years
      Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Warning! Secondary partition table overlaps the last partition by 1970 blocks! You will need to delete this partition or resize it in another utility. Disk /dev/sdb: 3907027055 sectors, 1.8 TiB Logical sector size: 512 bytes Disk identifier (GUID): 38A1113D-B5E9-4B69-ABFF-ACB27AFB3DDD Partition table holds up to 128 entries First usable sector is 34, last usable sector is 3907027021 Partitions will be aligned on 8-sector boundaries
    • Roy Markham
      Roy Markham almost 12 years
      Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 34 262177 128.0 MiB 0C01 Microsoft reserved part 2 264192 3907028991 1.8 TiB 0700 Basic data partition
    • Roy Markham
      Roy Markham almost 12 years
      sorry for the formatting, dont know why it was copynpaste
    • Jeremy Kerr
      Jeremy Kerr almost 12 years
      Not all formatting is supported in comments, so I've added the data to your question.
    • Roy Markham
      Roy Markham almost 12 years
      That just confused the heck out of me, here I'm looking wth?! ;)
    • Jeremy Kerr
      Jeremy Kerr almost 12 years
      Could you also edit your question to include the command you're using to mount the partition, and the output of sudo file -s /dev/sdb* ?
    • Jeremy Kerr
      Jeremy Kerr almost 12 years
      not sure if you saw the previous comment: we're waiting on the output of that file command above.