[syslinux:pathbased] gptmbr: change synthetic partition type to 0xED

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sat Jun 19 19:09:08 PDT 2010


Commit-ID:  1897f6d18fd80faac31c87eb6c5e1a65e8db5f31
Gitweb:     http://syslinux.zytor.com/commit/1897f6d18fd80faac31c87eb6c5e1a65e8db5f31
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Mon, 14 Jun 2010 09:58:01 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Mon, 14 Jun 2010 09:58:01 -0700

gptmbr: change synthetic partition type to 0xED

The committee didn't like re-using 0xEE for this purpose and wants
0xED instead.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 doc/gpt.txt  |    2 +-
 mbr/gptmbr.S |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/gpt.txt b/doc/gpt.txt
index b17322d..fd6f00d 100644
--- a/doc/gpt.txt
+++ b/doc/gpt.txt
@@ -48,7 +48,7 @@ form:
 	---------------------------------------------------------
 	  0	  1	0x80 (this is a bootable partition)
 	  1	  3	CHS of partition (using INT 13h geometry)
-	  4	  1	0xEE (partition type: EFI data partition)
+	  4	  1	0xED (partition type: synthetic)
 	  5	  3	CHS of partition end
 	  8	  4	Partition start LBA
 	 12	  4	Partition end LBA
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index e8c60c0..d25d27c 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -183,7 +183,7 @@ found_part:
 	xorl	%eax,%eax
 	movb	$0x80,%al
 	stosl
-	movb	$0xee,%al
+	movb	$0xed,%al
 	stosl
 	movl	32(%si),%eax
 	movl	36(%si),%edx



More information about the Syslinux-commits mailing list