8yun
March 15th, 2009, 10:49 AM
I just noticed, maybe after I installed Windows 7 on my laptop, the partition table show overlapped. Here is output from sudo fdisk -l:
laptop:~$ sudo fdisk -l
[sudo] password for roger:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 678 5444608 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 679 2502 14643720 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 5062 19457 115630200 5 Extended
Partition 3 does not end on cylinder boundary.
/dev/sda4 * 2502 5062 20563200 7 HPFS/NTFS
Partition 4 does not end on cylinder boundary.
/dev/sda5 5062 5323 2094088+ 82 Linux swap / Solaris
/dev/sda6 5323 19457 113536048+ 83 Linux
Partition table entries are not in disk order
when I run sudo testdisk and analyze it, output is:
TestDisk 6.9, Data Recovery Utility, February 2008
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
Current partition structure:
Partition Start End Size in sectors
1 P Sys=27 0 32 33 677 242 13 10889216
Bad sector count.
2 P Linux 678 150 1 2501 164 63 29287440
Bad relative sector.
3 E extended 5061 165 1 19456 239 63 231260400
Warning: Incorrect number of heads/cylinder 240 (NTFS) != 255 (HD)
4 * HPFS - NTFS 2501 165 1 5061 164 63 41126400
5 L Linux Swap 5061 166 1 5322 89 63 4188177
X extended 5322 90 1 19456 239 63 227072160
6 L Linux 5322 91 1 19456 239 63 227072097 [NewVol]
Any idea what is the problem here? how to fix it? My ubuntu version is 8.10 intrepid.
Roger
laptop:~$ sudo fdisk -l
[sudo] password for roger:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 678 5444608 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 679 2502 14643720 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 5062 19457 115630200 5 Extended
Partition 3 does not end on cylinder boundary.
/dev/sda4 * 2502 5062 20563200 7 HPFS/NTFS
Partition 4 does not end on cylinder boundary.
/dev/sda5 5062 5323 2094088+ 82 Linux swap / Solaris
/dev/sda6 5323 19457 113536048+ 83 Linux
Partition table entries are not in disk order
when I run sudo testdisk and analyze it, output is:
TestDisk 6.9, Data Recovery Utility, February 2008
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
Current partition structure:
Partition Start End Size in sectors
1 P Sys=27 0 32 33 677 242 13 10889216
Bad sector count.
2 P Linux 678 150 1 2501 164 63 29287440
Bad relative sector.
3 E extended 5061 165 1 19456 239 63 231260400
Warning: Incorrect number of heads/cylinder 240 (NTFS) != 255 (HD)
4 * HPFS - NTFS 2501 165 1 5061 164 63 41126400
5 L Linux Swap 5061 166 1 5322 89 63 4188177
X extended 5322 90 1 19456 239 63 227072160
6 L Linux 5322 91 1 19456 239 63 227072097 [NewVol]
Any idea what is the problem here? how to fix it? My ubuntu version is 8.10 intrepid.
Roger