Hi all,
I have 2 drives, sda and sdb, and I wanted to install ubuntu. sdb1 had a bootable copy of XP64 on it, and sdb2 had another copy of XP on it. Forgetting that the windows bootloader was on sdb1 (and not wanting to use xp64), I tried to install ubuntu over that but could not recover windows even after fixmbr and fixboot, so I reinstalled windows on sdb1 just to get the bootloader back. OK, then I installed ubuntu on sda after shrinking it (with grub on the MBR of sdb1), and the dual boot works fine. But now I want to shrink sdb1 and add that space to sdb2.
All drives are accessible in both OS's, but for some reason GParted shows sdb as unallocated, with the message "can't have overlapping partitions." XP's disk management shows the correct partitions, with an additional "unallocated space" that is equal to the sum of sdb5 and sdb6.
fdisk -lu outputs:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0xba45ba45
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 70300439 35150188+ 7 HPFS/NTFS
/dev/sdb2 70313982 1953503999 941595009 f W95 Ext'd (LBA)
/dev/sdb3 102398373 204796619 51199123+ 7 HPFS/NTFS
/dev/sdb5 204796683 1228795784 511999551 7 HPFS/NTFS
/dev/sdb6 1228795848 1953503999 362354076 7 HPFS/NTFS
For some reason, sdb2 is now an extended partition that contains the logical drives sdb3 (SYSTEM/XP32),sdb5(Data), and sdb6(Data2). Not really sure how that happened but I'm sure I gave it the go-ahead
When I go to analyze the disk in testdisk, I get:
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Current partition structure:
Partition Start End Size in sectors
1 * HPFS - NTFS 0 1 1 4375 254 63 70300377
2 E extended LBA 4376 214 61 121599 254 63 1883190018
3 P HPFS - NTFS 6374 1 1 12747 254 63 102398247 [SYSTEM]
Space conflict between the following two partitions
2 E extended LBA 4376 214 61 121599 254 63 1883190018
3 P HPFS - NTFS 6374 1 1 12747 254 63 102398247 [SYSTEM]
X extended 12748 0 1 76488 254 63 1023999165
5 L HPFS - NTFS 12748 1 1 76488 254 63 1023999102 [Data]
X extended 76489 0 1 121599 254 63 724708215
6 L HPFS - NTFS 76489 1 1 121599 254 63 724708152 [Data2]
If I do a deep scan on them, the result is
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Partition Start End Size in sectors
D HPFS - NTFS 0 1 1 4375 254 63 70300377
D HPFS - NTFS 0 1 1 6373 254 63 102398247
L HPFS - NTFS 6374 1 1 12747 254 63 102398247 [SYSTEM]
L HPFS - NTFS 12748 1 1 76488 254 63 1023999102 [Data]
L HPFS - NTFS 76489 1 1 121599 254 63 724708152 [Data2]
I don't remember ever seeing a primary partition on an extended partition... is this even kosher? Seems like there's a space conflict between the extended partition and the three logical drives, but why? So the what's with the duplicates here, and how can I get rid of them??
Thanks!
grant