[Mageia-discuss] partitioning bug
blind Pete
0123peter at gmail.com
Thu Jul 5 11:10:30 CEST 2012
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]#
--
blind Pete
Sig goes here...
More information about the Mageia-discuss
mailing list