bug-parted
[Top][All Lists]
Advanced

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

Re: GPT Question


From: Christian
Subject: Re: GPT Question
Date: Wed, 09 Nov 2011 23:18:40 +0100

On mer, 2011-11-09 at 00:16 +0100, Christian wrote:
> Hi,
> 
> I created a GPT table on a file (1 MB), using parted 2.2.
> Looking at the hexdump seems that the CHS-start-sector of the GPT
> partition may not be correct. Those are MBR (64 byte) partitions:
>  
>   Status  CHS    Type  CHS     LBA start  LBA sectors
>   00      000100 EE    FEFFFF  01000000   FF070000
>   00      000000 00    000000  00000000   00000000 
>   00      000000 00    000000  00000000   00000000
>   00      000000 00    000000  00000000   00000000
> 
> CHS start bytes are HEAD: 00, SECTOR: 01 CYLINDER: 00.
> 
> Using the formula:
> 
> LBA = (CYL * NHEADS + HEAD) * NSECTORS + SECTOR - 1
> 
> LBA = (0 * 4 + 0) * 32 + 1 - 1
> 
> LBA = 0
> 
> But the GPT header is at LBA 1 (as the LBA start field 01000000).
> 
> This is an error or CHS values ​​are ignored?
> 
> Many thanks!
> 
> Christian.

Parted 3.0 have this "error" too.

Christian.





reply via email to

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