grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: counting partitions in gpt partition map


From: Peter Jones
Subject: Re: counting partitions in gpt partition map
Date: Tue, 25 Apr 2006 17:47:33 -0400

On Tue, 2006-04-25 at 22:32 +0200, Marco Gerards wrote:
> "Yoshinori K. Okuji" <address@hidden> writes:
> 
> > 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?

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.
-- 
  Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]