Date: Sat, 20 Aug 2011 08:20:10 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r225023 - head/sbin/geom/class/part Message-ID: <201108200820.p7K8KAA8040601@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Sat Aug 20 08:20:10 2011 New Revision: 225023 URL: http://svn.freebsd.org/changeset/base/225023 Log: o Fix mdoc formatting for the '.Fx' macro. [1] o Add information about APM scheme and fix typos. [2] Submitted by: gjb [1], nwhitehorn [2] Approved by: re (kib) MFC after: 1 week Modified: head/sbin/geom/class/part/gpart.8 Modified: head/sbin/geom/class/part/gpart.8 ============================================================================== --- head/sbin/geom/class/part/gpart.8 Sat Aug 20 07:43:10 2011 (r225022) +++ head/sbin/geom/class/part/gpart.8 Sat Aug 20 08:20:10 2011 (r225023) @@ -709,7 +709,8 @@ The scheme-specific attributes for PC98: .It Cm bootable .El .Sh BOOTSTRAPPING -.Fx supports several partitioning schemes and each scheme uses different +.Fx +supports several partitioning schemes and each scheme uses different bootstrap code. The bootstrap code is located in the specific disk area for each partitioning scheme and also it might have different size. @@ -770,7 +771,7 @@ and The first one is used to boot from UFS. It searches in the GPT partition with type .Cm freebsd-ufs , -and it runs the thrid bootstrap stage ( +and it runs the third bootstrap stage ( .Pa /boot/loader ) if it is found. The @@ -785,7 +786,7 @@ from it. The VTOC8 scheme does not support embedding bootstrap code. Instead, the 8 KBytes bootstrap code image .Pa /boot/boot1 -could be written with +should be written with .Cm gpart bootcode command with .Fl p Ar bootcode @@ -793,6 +794,15 @@ option to all sufficiently large VTOC8 p To do this the .Fl i Ar index option could be ommited. +.Pp +The APM scheme also does not support embedding bootstrap code. +Instead, the 800 KBytes bootstrap code image +.Pa /boot/boot1.hfs +should be written with +.Cm gpart bootcode +command to a partition of type +.Cm freebsd-boot , +which should also be 800 KB in size. .Sh OPERATIONAL FLAGS Actions other than the .Cm commit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108200820.p7K8KAA8040601>