summaryrefslogtreecommitdiffstats
path: root/sbin/geom
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2014-07-04 15:55:32 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2014-07-04 15:55:32 +0000
commit6fa381c0bf4943c64c238b23b3b3f85534786588 (patch)
tree86e3e90fab77df08e7453d6048f215852172ca90 /sbin/geom
parentfa1bbb761808bc564ea2d03b9a474917dd6bc915 (diff)
downloadFreeBSD-src-6fa381c0bf4943c64c238b23b3b3f85534786588.zip
FreeBSD-src-6fa381c0bf4943c64c238b23b3b3f85534786588.tar.gz
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.
Diffstat (limited to 'sbin/geom')
-rw-r--r--sbin/geom/class/part/gpart.820
1 files changed, 19 insertions, 1 deletions
diff --git a/sbin/geom/class/part/gpart.8 b/sbin/geom/class/part/gpart.8
index 2ae9377..091dc41 100644
--- a/sbin/geom/class/part/gpart.8
+++ b/sbin/geom/class/part/gpart.8
@@ -553,6 +553,16 @@ for partition types that do not have symbolic names.
Symbolic names currently understood and used by
.Fx are:
.Bl -tag -width ".Cm dragonfly-disklabel64"
+.It Cm apple-boot
+The system partition dedicated to storing boot loaders on some Apple
+systems.
+The scheme-specific types are
+.Qq Li "!171"
+for MBR,
+.Qq Li "!Apple_Bootstrap"
+for APM, and
+.Qq Li "!426f6f74-0000-11aa-aa11-00306543ecac"
+for GPT.
.It Cm bios-boot
The system partition dedicated to second stage of the boot loader program.
Usually it is used by the GRUB 2 loader for GPT partitioning schemes.
@@ -823,6 +833,14 @@ A partition that contains a NTFS or exFAT filesystem.
The scheme-specific type is
.Qq Li "!7"
for MBR.
+.It Cm prep-boot
+The system partition dedicated to storing boot loaders on some PowerPC systems,
+notably those made by IBM.
+The scheme-specific types are
+.Qq Li "!65"
+for MBR and
+.Qq Li "!0x9e1a2d38-c612-4316-aa26-8b49521e5a8b"
+for GPT.
.It Cm vmware-vmfs
A partition that contains a VMware File System (VMFS).
The scheme-specific types are
@@ -1018,7 +1036,7 @@ Instead, the 800 KBytes bootstrap code image
should be written with the
.Cm gpart bootcode
command to a partition of type
-.Cm freebsd-boot ,
+.Cm apple-boot ,
which should also be 800 KB in size.
.Sh OPERATIONAL FLAGS
Actions other than the
OpenPOWER on IntegriCloud