bug-parted
[Top][All Lists]
Advanced

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

Re: The format of the GPT partition table is version 10000


From: Szakacsits Szabolcs
Subject: Re: The format of the GPT partition table is version 10000
Date: Wed, 3 Nov 2004 16:46:57 +0100 (MET)

Hi,

On Wed, 3 Nov 2004, Enrico Petracchi wrote:

> I'm working on Itanium2 HP machine running Red Hat Linux AS 2.1.
> 
> Adding some debug print I found that gpt->HeaderSize is 512 on disk /dev/sdc.
> 
> This disk is not my linux disk, i don't know how it was partitioned
> and which system was installed on it.
> 
> I will investigate on it.

Great! It would be very nice to know.

The info, you sent, is already very useful. Parted should cope with 
this scenario in the future.

Thanks again,

        Szaka

> On Wed, 3 Nov 2004 12:35:25 +0100 (MET), Szakacsits Szabolcs
> > On Wed, 3 Nov 2004, Enrico Petracchi wrote:
> > 
> > > GNU Parted 1.6.15
> > >
> > > Using /dev/sdc
> > > (parted) p
> > > Warning: The format of the GPT partition table is version 10000, which is 
> > > newer
> > > than what Parted can recognise.  Please tell us!  address@hidden
> > > Ignore/Cancel? i
> > > Error: Unable to satisfy all constraints on the partition.
> > 
> > Thanks for the report.
> > 
> > Parted should recognise version 10000 GPT partition table. This is either
> > an internal type conversion bug or your GPT header size isn't 92 for
> > whatever reason.
> > 
> > I'm not familiar with GPT but Parted code has this section:
> > 
> > /libparted/disk_gpt.c:_generate_header()
> > 
> >         gpt->Revision = PED_CPU_TO_LE32 (GPT_HEADER_REVISION_V1_00);
> >         gpt->HeaderSize = PED_CPU_TO_LE32 (92); /* per 1.02 spec */
> > 
> > Unless the GPT 1.00 spec defines HeaderSize to be 92 bytes too, this is
> > wrong (but otherwise, logically, too). The code above sets the GPT
> > revision to 1.00 but the header size is based on 1.02 spec.
> > 
> > What architecture do you have?
> > 
> >         Szaka






reply via email to

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