Cannot have overlapping partitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
parted (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: parted
parted thinks I have overlapping partitions:
sam@rattle:~$ sudo parted /dev/sda
GNU Parted 1.7.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print all
Error: Cannot have overlapping partitions.
however, take a look, there is no overlap (apart from all the partitions within the extended partition but thats normal)
sam@rattle:~$ sudo cfdisk -Ps /dev/sda
Partition Table for /dev/sda
# Type Sector Sector Offset Length Filesystem Type (ID) Flag
-- ------- ----------- ----------- ------ ----------- -------
1 Primary 0 75778604 63 75778605 HPFS/NTFS (07) Boot
2 Primary 75778605 76951349 0 1172745 Linux (83) None
3 Primary 76951350 156296384 0 79345035 W95 Ext'd (LBA) (0F) None
5 Logical 76951350 108197774 126# 31246425 Linux (83) None
6 Logical 108197775 110157704 63 1959930 Linux swap / So (82) None
7 Logical 110157705 143364059 63 33206355 Linux (83) None
Logical 143364060 143364122* 0 63*Free Space None
4 Primary 143364123* 156296384 0 12932262*W95 FAT32 (0B) None
Whats REALLY scary is that gparted shows the disk as not being partioned at all! I coulda lost all my data.
it should have passed on the error instead of assuming no partition.
I see it.
Partition 4 really ought to be marked as logical, not primary.
I guess it ought to be partition 8
I'm sure I used to had a partition 8, no doubt some clever partition tool moved it to 4.
I don't know what tool I can use to fix this, obviously not parted :-)
But the bug remains that gparted should not pretend there are no partitions.
is someone able to assign this to gparted or do I need to file a new bug?