public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: wei6.xu@intel.com
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: Laszlo Ersek <lersek@redhat.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: [edk2-devel] Question about the Protective MBR in RedHat/Ubuntu
Date: Wed, 24 Apr 2019 11:36:19 +0000	[thread overview]
Message-ID: <59B8EAB3797CDB4091332F0685A110ED50D6B722@SHSMSX104.ccr.corp.intel.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 623 bytes --]

Hi,

I have a question about protective MBR. Thanks a lot for your time.
Why is the StartingCHS of protective MBR partition record set to 0x000100 in RedHat / Ubuntu? While UEFI spec defines it as 0x000200.

Problem Statement:
I met a problem when trying to use FatPei to fetch a file on the GPT partition of RedHat/Ubuntu in TCB.
FatPei has a check about Partition Record of protective MBR: StartingCHS should to 0x000200.
But I find the StartingCHS in both RedHat and Ubuntu is 0x000100, so that the check fails.

According to UEFI spec, StartingCHS should be 0x000200.

[cid:image001.png@01D4FACC.71570DF0]

[-- Attachment #1.2: Type: text/html, Size: 3124 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 78036 bytes --]

             reply	other threads:[~2019-04-24 11:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-24 11:36 wei6.xu [this message]
2019-04-24 16:07 ` [edk2-devel] Question about the Protective MBR in RedHat/Ubuntu Andrew Fish
2019-04-25  1:40   ` chao.b.zhang
2019-04-25  1:59     ` Andrew Fish
2019-04-24 18:11 ` Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59B8EAB3797CDB4091332F0685A110ED50D6B722@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox