bug-parted
[Top][All Lists]
Advanced

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

GPT Question


From: Christian
Subject: GPT Question
Date: Wed, 09 Nov 2011 00:16:57 +0100

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.





reply via email to

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