Phoronix Forums  

Go Back   Phoronix Forums > Hardware > General Hardware

General Hardware Discuss anything and everything else here, including mobile devices.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2007, 09:57 AM
geertsky geertsky is offline
Junior Member
 
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??
Reply With Quote
  #2  
Old 04-16-2007, 05:34 PM
Thund Thund is offline
Junior Member
 
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.
Reply With Quote
  #3  
Old 04-17-2007, 02:06 AM
mlau mlau is offline
Senior Member
 
Join Date: Sep 2006
Location: Austria
Posts: 157
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!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.