counting partitions in gpt partition map
Why does the gpt partition map count partitions from one instead of zero, unlike other partition maps in GRUB? I don't object to changing the base number to one in GRUB 2, but they should be at least consistent.
Okuji
Quoted 3 lines · Yoshinori K. Okuji
Why does the gpt partition map count partitions from one instead of zero, unlike other partition maps in GRUB? I don't object to changing the base number to one in GRUB 2, but they should be at least consistent.
I would *love* to have the numbering start at one. This would be consistent with Open Firmware, Linux, and probably every other OSs' numbering, which will reduce user confusion.
-Hollis
Quoted 3 lines · Yoshinori K. Okuji
Why does the gpt partition map count partitions from one instead of zero, unlike other partition maps in GRUB? I don't object to changing the base number to one in GRUB 2, but they should be at least consistent.
This most likely would be a bug, if this is the case. I haven't really tested things on a partition map that is actually in use. Perhaps it's that or clumsiness that introduced this.
IIRC the first partition is one with a special meaning, perhaps it is that?
--
Marco
Quoted 6 lines · Marco Gerards
Quoted 3 lines · Yoshinori K. Okuji
Why does the gpt partition map count partitions from one instead of zero, unlike other partition maps in GRUB? I don't object to changing the base number to one in GRUB 2, but they should be at least consistent.
Quoted 6 lines
This most likely would be a bug, if this is the case. I haven't really tested things on a partition map that is actually in use. Perhaps it's that or clumsiness that introduced this.
IIRC the first partition is one with a special meaning, perhaps it is that?
Well, the encapsulating partition table has one sentinel value in it, and if you're using EFI you might have EFI boot partitions. The former you really wouldn't want to count, the latter you would.
Signature · 1 line
Peter