[Mageia-discuss] partitioning bug
0123peter at gmail.com
Fri Jul 6 10:03:34 CEST 2012
Morgan Leijström wrote:
> I have entered a couple partitioning bugs myself...
> Not similar to this one though.
I'm very good at breaking things in unusual ways. ;-)
> Important is to enter it in bugzilla at all, with as many details you can.
> -And i see you have done a good job to start with :)
After we work out what the bug is, or bugs are.
> Someone can then fill in or edit package or whatever.
> It would also be interesting to know what other tools say.
Gparted looks pretty. As far as I can see, gparted agrees
with what I think things should look like. Gparted and
fdisk agree about the number of sectors. (More than you
get by multiplying CxHxS.)
> torsdagen den 5 juli 2012 11.10.30 skrev blind Pete:
>> Cfdisk is very unhappy about something.
>> FATAL ERROR: Bad primary partition 3: Partition begins after
>> end-of-disk Press any key to exit cfdisk
>> It looks like cfdisk's error message is wrong. Partition 3 is mounted
>> and in use.
>> Unfortunately I don't know which software to blame, but something has
>> made my hard drive "interesting". It could be; cfdisk itself, the
>> Mageia 2 installer (the main suspect), the Ubuntu installer, fdisk,
>> or sfdisk. There might be multiple bugs.
>> I think that the order of events was;
>> I noticed a tiny amount of unused space at the end of my HDD
>> the perfect place for a LiLo map file.
>> Created a new primary partition (numbered 3, because 1, 2 and 4 existed).
>> "Fixed" the partition order with fdisk.
>> Found that the extended partition had grown to cover the whole disk.
>> Found that the third primary partition had been changed to logical.
>> (There were still two primary partitions in the middle of the disk.)
>> Found that sfdisk has decent man pages.
>> Fixed the problem.
>> Found that cfdisk is still not happy.
>> Does anyone know what to raise that bug report against?
>> [root at live bin]# cat /etc/release
>> Mageia release 1 (Official) for x86_64
>> [root at live bin]# sfdisk -l -uS -L
>> Disk /dev/sda: 121601 cylinders, 255 heads, 63 sectors/track
>> Warning: extended partition does not start at a cylinder boundary.
>> DOS and Linux will interpret the contents differently.
>> Units = sectors of 512 bytes, counting from 0
>> Device Boot Start End #sectors Id System
>> /dev/sda1 * 63 577440359 577440297 5 Extended
>> /dev/sda2 577440360 1562899589 985459230 83 Linux
>> /dev/sda3 1562899590 1953520064 390620475 83 Linux
>> /dev/sda4 1953520065 1953523054 2990 83 Linux
>> start: (c,h,s) expected (1023,254,63) found (769,0,1)
>> end: (c,h,s) expected (1023,254,63) found (769,47,29)
>> /dev/sda5 126 22507064 22506939 83 Linux
>> /dev/sda6 22507128 26587574 4080447 83 Linux
>> /dev/sda7 26587638 77786729 51199092 83 Linux
>> /dev/sda8 77786793 98253539 20466747 82 Linux swap / Solaris
>> /dev/sda9 98253603 122816924 24563322 83 Linux
>> /dev/sda10 122816988 126897434 4080447 83 Linux
>> /dev/sda11 126897498 167847119 40949622 83 Linux
>> /dev/sda12 167847183 577440359 409593177 83 Linux
>> [root at live bin]#
More information about the Mageia-discuss