Results 1 to 3 of 3

Thread: Hardisk disklabel broken

  1. #1
    Join Date
    Jan 2007
    Posts
    1

    Question Hardisk disklabel broken

    Hello,
    I've got a new dell inspiron 9400 with windows installed on it, i've installed fedora 6 on it... srunk the windows partition to 30G and installed fedora on a new partition of 30G I don'r recall deleting the Dell rescue partition but it seems to have gone anyways... I was planning to put Ubuntu on the remaining part of the disk but the installation program does not recognise the partitions on the disk... Also gparted does not recognize these partitions and parted gives me "Error: Can't have overlapping partitions." when I ask it to 'print all'...
    the output of fdisk -l /dev/sda gives:
    Disk /dev/sda: 100.0 GB, 100030242816 bytes
    255 heads, 63 sectors/track, 12161 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 12 3855 30870422 7 HPFS/NTFS
    /dev/sda2 3856 3867 96390 83 Linux
    /dev/sda3 3868 12161 66621555 5 Extended
    /dev/sda4 * 11509 11769 2096451 c W95 FAT32 (LBA)
    /dev/sda5 3868 3994 1020096 82 Linux swap / Solaris
    /dev/sda6 3995 7818 30716248+ 83 Linux

    does somebody have a clue what is going wrong here??

  2. #2
    Join Date
    Apr 2007
    Posts
    24

    Default

    Quote Originally Posted by geertsky View Post
    Hello,
    I've got a new dell inspiron 9400 with windows installed on it, i've installed fedora 6 on it... srunk the windows partition to 30G and installed fedora on a new partition of 30G I don'r recall deleting the Dell rescue partition but it seems to have gone anyways... I was planning to put Ubuntu on the remaining part of the disk but the installation program does not recognise the partitions on the disk... Also gparted does not recognize these partitions and parted gives me "Error: Can't have overlapping partitions." when I ask it to 'print all'...
    the output of fdisk -l /dev/sda gives:
    Disk /dev/sda: 100.0 GB, 100030242816 bytes
    255 heads, 63 sectors/track, 12161 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 12 3855 30870422 7 HPFS/NTFS
    /dev/sda2 3856 3867 96390 83 Linux
    /dev/sda3 3868 12161 66621555 5 Extended
    /dev/sda4 * 11509 11769 2096451 c W95 FAT32 (LBA)
    /dev/sda5 3868 3994 1020096 82 Linux swap / Solaris
    /dev/sda6 3995 7818 30716248+ 83 Linux

    does somebody have a clue what is going wrong here??
    1 - 11 ???
    12 - 3855 NT
    3856 - 3867 LINUX
    3868 - 12161 EXTENDED

    So, inside that Extended you have
    3868 - 3994 SWAP
    3995 - 7818 Linux (the problem partition)*
    FREE SPACE
    11509 - 11769 FAT32


    Block size is 8033. (8032.5 if you're doing the math)
    sda6 is 7818 - 3995 +1 cyl long (3824 cyl total).
    This is 30716280 blocks. This is larger than the listed number of 30716248 by just a tad. Therefore, starting at cyl 7819 would be on top of sda6. Some tool didn't do the round-up on the block size maybe?

    That is one messed up partition table. Better off to backup your data and start over IMO. Or delete sda6, move the data from the FAT32 down to a partition starting at 3995 - 4225, and putting the linux partition starting at 4226.

  3. #3
    Join Date
    Sep 2006
    Posts
    210

    Default

    Quote Originally Posted by Thund View Post
    1 - 11 ???
    That is one messed up partition table. Better off to backup your data and start over IMO. Or delete sda6, move the data from the FAT32 down to a partition starting at 3995 - 4225, and putting the linux partition starting at 4226.
    Or give TestDisk a try first:
    http://www.cgsecurity.org/wiki/TestDisk

    It looks for partitions on the disk an can reconstruct a valid
    partition table. Very good tool!

Posting Permissions

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