From 1ee0f089754bd3e36c93a6e86f7f83a03ea4c74f Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Fri, 4 Jul 2014 15:55:32 +0000 Subject: After EFI support was added to the installer, it needed to allow boot partitions of types other than "freebsd-boot" (in particular, "efi"). This allows the removal of some nasty hacks for supporting PowerPC systems, in particular aliasing freebsd-boot to apple-boot on APM and an IBM-specific code on MBR. This changes the installer to use the correct names, which also breaks a degeneracy in the meaning of "freebsd-boot" that allows the addition of support for some newer IBM systems that can boot from GPT in addition to MBR. Since I have no idea how to detect which those systems are, leave the default on IBM PPC systems as MBR for now. --- sys/sys/gpt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/sys/gpt.h') diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h index ba07206ec3ad..ecf75368a234 100644 --- a/sys/sys/gpt.h +++ b/sys/sys/gpt.h @@ -91,6 +91,8 @@ struct gpt_ent { {0x516e7cb8,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}} #define GPT_ENT_TYPE_FREEBSD_ZFS \ {0x516e7cba,0x6ecf,0x11d6,0x8f,0xf8,{0x00,0x02,0x2d,0x09,0x71,0x2b}} +#define GPT_ENT_TYPE_PREP_BOOT \ + {0x9e1a2d38,0xc612,0x4316,0xaa,0x26,{0x8b,0x49,0x52,0x1e,0x5a,0x8b}} /* * The following are unused but documented here to avoid reuse. -- cgit v1.2.3