-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2010-03-02 a las 17:20 -0500, Anton Aylward escribió: You forgot to email to the list.
Carlos E. R. said the following on 03/02/2010 04:47 PM:
No, grub does not reorder. Number five is number five regardless the order it has.
We're talking at cross purposes. Let me try again.
I ran 'fdisk' to get a listing of the partitions. Fdisk orders by "sda*" and not by the order of the partitions
I recorder the output of 'fdisk' to match the ascending order of the cylinders.
If the order of the cylinders is not that of the partitions ... then something is wrong.
Nothing is wrong. They are different, that's all. Don't reorder, simply print whatever fdisk prints, because it is correct. That is the order of the partitions, not the tracks.
Go back and count.
I don't need to count. Partition 6, /dev/sda6, is always the second logical partition, by definition.
No, sda5 is the first, always. Cylinder order is irrelevant.
Are you talking about order of creation? No, that can't be right.
I'm talking that the partition that gets the number 5 by fdisk is the first logical partition, regardless of whether it is placed the first in the track layout or the last. Look: don't look at the tracks numbers, forget it. Fdisk says "5", linux says "/dev/sda5". That's all that matters. The software knows perfectly well haw to access partition numbered "5".
This isn't making any sense. If the order of the cinders is irrelevant what is the underlying logic.
The partition numbers depends on where in a table is each partition listed. There are four entries, the first one is numbered "one" - even if it is physically the last partition in the disk. The table is boss, pysical layout is arbitrary. Kind of.
Are you saying that the whole thing gets re-written on every edit?
No.
Don't bother about the order the partitions are defined in the disk, the important thing is the numbers assigned to them. And the sofware will not get confused by that. Only us ;-)
Well that last statement is certainly true!
:-)
(hd0,5) is /dev/sda6. Correct.
Now since grub, sorry, GRUB, counts from zero, why is this "5" and not "4"?
Ah.
(hd0,5) sda6 (hd0,4) sda5 (hd0,3) sda4 (hd0,2) sda3 (hd0,1) sda2 (hd0,0) sda1
That's programmesse >:-)
Double DUH
Must be a C programmer.
Or assembler. - -- Saludos Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkuNsbQACgkQtTMYHG2NR9WHiQCgiHdOAcX8btDfZY6j5FjB5QOd eWoAn2nmOnjtFbSAny9xwPHg81WPBcGY =r7Bp -----END PGP SIGNATURE-----