Canislupus
April 26th, 2009, 10:05 AM
I've been following meierfra's solutions to several very similar problems.
My first SATA drive (1tb) is the problem. It started as Win 7 repairing after I upgraded Ubuntu to 9.04. Win 7 messed up the extended partition.
Anyway, I fixed the problem with testdisk, but I still have a problem with my partition sizes.
Meierfra, or someone similarly talented, can you see what this partition table needs?
brent@brent-desktop:~$ sudo fdisk -lu
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0dc30dc3
Device Boot Start End Blocks Id System
/dev/sda1 * 63 147460623 73730280+ 7 HPFS/NTFS
/dev/sda2 147462144 147871743 204800 7 HPFS/NTFS
/dev/sda3 147871744 233199615 42663936 7 HPFS/NTFS
/dev/sda4 233215605 1953536129 860160262+ f W95 Ext'd (LBA)
/dev/sda5 233215668 437996159 102390246 7 HPFS/NTFS
/dev/sda6 438003712 1052401663 307198976 7 HPFS/NTFS
/dev/sda7 1052403712 1953521663 450558976 7 HPFS/NTFS
Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xdcd0dcd0
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 787184 393561 83 Linux
/dev/sdb2 787185 31503464 15358140 83 Linux
/dev/sdb3 95249385 390716864 147733740 5 Extended
/dev/sdb4 31503465 95249384 31872960 83 Linux
/dev/sdb5 95249448 259578269 82164411 83 Linux
/dev/sdb6 387793098 390716864 1461883+ 82 Linux swap / Solaris
/dev/sdb7 259578333 307018214 23719941 83 Linux
Partition table entries are not in disk order
Disk /dev/sdc: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xb4476f19
Device Boot Start End Blocks Id System
/dev/sdc1 * 63 81920159 40960048+ 7 HPFS/NTFS
brent@brent-desktop:~$ sudo sfdisk -d
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start= 63, size=147460561, Id= 7, bootable
/dev/sda2 : start=147462144, size= 409600, Id= 7
/dev/sda3 : start=147871744, size= 85327872, Id= 7
/dev/sda4 : start=233215605, size=1720320525, Id= f
/dev/sda5 : start=233215668, size=204780492, Id= 7
/dev/sda6 : start=438003712, size=614397952, Id= 7
/dev/sda7 : start=1052403712, size=901117952, Id= 7
# partition table of /dev/sdb
unit: sectors
/dev/sdb1 : start= 63, size= 787122, Id=83, bootable
/dev/sdb2 : start= 787185, size= 30716280, Id=83
/dev/sdb3 : start= 95249385, size=295467480, Id= 5
/dev/sdb4 : start= 31503465, size= 63745920, Id=83
/dev/sdb5 : start= 95249448, size=164328822, Id=83
/dev/sdb6 : start=387793098, size= 2923767, Id=82
/dev/sdb7 : start=259578333, size= 47439882, Id=83
# partition table of /dev/sdc
unit: sectors
/dev/sdc1 : start= 63, size= 81920097, Id= 7, bootable
/dev/sdc2 : start= 0, size= 0, Id= 0
/dev/sdc3 : start= 0, size= 0, Id= 0
/dev/sdc4 : start= 0, size= 0, Id= 0
# partition table of /dev/sdd
unit: sectors
sda is the drive that I'm having the problem with. It's bad enough that gparted refuses to try to read it (unallocated). But I can mount it, and all the data seems fine. I noticed that sda7 ends outside the disk. Parted just gives me a "partition cannot be outside disk" error or something to that effect.
Got another one of those handy-dandy text files? (TYIA)
My first SATA drive (1tb) is the problem. It started as Win 7 repairing after I upgraded Ubuntu to 9.04. Win 7 messed up the extended partition.
Anyway, I fixed the problem with testdisk, but I still have a problem with my partition sizes.
Meierfra, or someone similarly talented, can you see what this partition table needs?
brent@brent-desktop:~$ sudo fdisk -lu
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x0dc30dc3
Device Boot Start End Blocks Id System
/dev/sda1 * 63 147460623 73730280+ 7 HPFS/NTFS
/dev/sda2 147462144 147871743 204800 7 HPFS/NTFS
/dev/sda3 147871744 233199615 42663936 7 HPFS/NTFS
/dev/sda4 233215605 1953536129 860160262+ f W95 Ext'd (LBA)
/dev/sda5 233215668 437996159 102390246 7 HPFS/NTFS
/dev/sda6 438003712 1052401663 307198976 7 HPFS/NTFS
/dev/sda7 1052403712 1953521663 450558976 7 HPFS/NTFS
Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xdcd0dcd0
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 787184 393561 83 Linux
/dev/sdb2 787185 31503464 15358140 83 Linux
/dev/sdb3 95249385 390716864 147733740 5 Extended
/dev/sdb4 31503465 95249384 31872960 83 Linux
/dev/sdb5 95249448 259578269 82164411 83 Linux
/dev/sdb6 387793098 390716864 1461883+ 82 Linux swap / Solaris
/dev/sdb7 259578333 307018214 23719941 83 Linux
Partition table entries are not in disk order
Disk /dev/sdc: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xb4476f19
Device Boot Start End Blocks Id System
/dev/sdc1 * 63 81920159 40960048+ 7 HPFS/NTFS
brent@brent-desktop:~$ sudo sfdisk -d
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start= 63, size=147460561, Id= 7, bootable
/dev/sda2 : start=147462144, size= 409600, Id= 7
/dev/sda3 : start=147871744, size= 85327872, Id= 7
/dev/sda4 : start=233215605, size=1720320525, Id= f
/dev/sda5 : start=233215668, size=204780492, Id= 7
/dev/sda6 : start=438003712, size=614397952, Id= 7
/dev/sda7 : start=1052403712, size=901117952, Id= 7
# partition table of /dev/sdb
unit: sectors
/dev/sdb1 : start= 63, size= 787122, Id=83, bootable
/dev/sdb2 : start= 787185, size= 30716280, Id=83
/dev/sdb3 : start= 95249385, size=295467480, Id= 5
/dev/sdb4 : start= 31503465, size= 63745920, Id=83
/dev/sdb5 : start= 95249448, size=164328822, Id=83
/dev/sdb6 : start=387793098, size= 2923767, Id=82
/dev/sdb7 : start=259578333, size= 47439882, Id=83
# partition table of /dev/sdc
unit: sectors
/dev/sdc1 : start= 63, size= 81920097, Id= 7, bootable
/dev/sdc2 : start= 0, size= 0, Id= 0
/dev/sdc3 : start= 0, size= 0, Id= 0
/dev/sdc4 : start= 0, size= 0, Id= 0
# partition table of /dev/sdd
unit: sectors
sda is the drive that I'm having the problem with. It's bad enough that gparted refuses to try to read it (unallocated). But I can mount it, and all the data seems fine. I noticed that sda7 ends outside the disk. Parted just gives me a "partition cannot be outside disk" error or something to that effect.
Got another one of those handy-dandy text files? (TYIA)