Results 1 to 5 of 5

Thread: Can't have a partition outside the disk!

  1. #1
    Join Date
    Mar 2012
    Beans
    4

    Can't have a partition outside the disk!

    When I try to run gparted my disk shows up as unallocated and gparted says "Can't have a partition outside the disk!" I've looked into this and it seems this is caused by a problem with the partition table. I had deleted a partition and then recovered it with testdisk immediately before this happened, so I am guessing testdisk wrote a bad partition table or something. I've looked into common problems with partition tables and can't seem to find any of the common problems, but I am not overly familiar with partition tables myself. Here is my partition table as shown from fdisk -lu:

    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00013b21

    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 19531775 9764864 83 Linux
    /dev/sda2 19531776 405454847 192961536 83 Linux
    /dev/sda3 405454848 444517336 19531244+ 7 HPFS/NTFS/exFAT
    /dev/sda4 444518550 488408129 21944790 f W95 Ext'd (LBA)
    /dev/sda5 446924800 488396799 20736000 7 HPFS/NTFS/exFAT


    As I've said I can't find anything wrong with this partition table, but again I'm not an expert at these things. So after being using these forums for a long time for help I am finally posting my first post here. Thanks in advance.
    Last edited by jrutherfordt; March 1st, 2012 at 06:16 AM.

  2. #2
    Join Date
    Aug 2009
    Beans
    57

    Re: Can't have a partition outside the disk!

    Did you start Gparted from LiveCD ?

  3. #3
    Join Date
    Mar 2012
    Beans
    4

    Re: Can't have a partition outside the disk!

    No, will that make a difference? I can try it.

  4. #4
    Join Date
    Nov 2009
    Beans
    3,225

    Re: Can't have a partition outside the disk!

    sda total ...... 488397168

    sda4 ............ 488408129

    sda4 goes beyond your total number of sectors .....

    Testdisk ..... will probably work out what is wrong ...... but backup ..... all important
    data before attempting to use it ......

  5. #5
    Join Date
    Mar 2012
    Beans
    4

    Re: Can't have a partition outside the disk!

    Aha, I looked for that but missed it. Thanks for the keen eye 23dornot23d. I've run testdisk and re-wrote that partition table and it didn't correct this but I've dug around the man pages of a enough commands in the last hour so to fix this manually. Thanks again for spotting what I missed. Now if I can just figure out how to mark this thread as solved...

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
  •