Document the new -p and -i options for writing bootstrap code into
a partition. Make it clear that the -b option embeds boot code in the meta-data.
This commit is contained in:
parent
3022de951b
commit
c0b5f33d45
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179630
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd Jun 5, 2008
|
.Dd Jun 6, 2008
|
||||||
.Dt GPART 8
|
.Dt GPART 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -72,7 +72,8 @@ utility:
|
|||||||
.\" ==== BOOTCODE ====
|
.\" ==== BOOTCODE ====
|
||||||
.Nm
|
.Nm
|
||||||
.Cm bootcode
|
.Cm bootcode
|
||||||
.Fl b Ar bootcode
|
.Op Fl b Ar bootcode
|
||||||
|
.Op Fl p Ar partcode Fl i Ar index
|
||||||
.Op Fl f Ar flags
|
.Op Fl f Ar flags
|
||||||
.Ar geom
|
.Ar geom
|
||||||
.\" ==== COMMIT ====
|
.\" ==== COMMIT ====
|
||||||
@ -152,12 +153,19 @@ about its use.
|
|||||||
.El
|
.El
|
||||||
.\" ==== BOOTCODE ====
|
.\" ==== BOOTCODE ====
|
||||||
.It Cm bootcode
|
.It Cm bootcode
|
||||||
Install bootstrap code into the partitioning scheme's metadata on
|
Embed bootstrap code into the partitioning scheme's metadata on the
|
||||||
.Ar geom .
|
.Ar geom
|
||||||
Not all partitioning schemes have bootstrap code, so this command
|
(using
|
||||||
is scheme-specific in nature.
|
.Fl b Ar bootcode )
|
||||||
For the GPT scheme, bootstrap code is supported but it is the boostrap
|
or write bootstrap code into a partition (using
|
||||||
code that's installed in the protective MBR.
|
.Fl p Ar partcode
|
||||||
|
and
|
||||||
|
.Fl i Ar index ) .
|
||||||
|
Not all partitioning schemes have embedded bootstrap code, so the
|
||||||
|
.Fl b Ar bootcode
|
||||||
|
option is scheme-specific in nature.
|
||||||
|
For the GPT scheme, embedded bootstrap code is supported.
|
||||||
|
The bootstrap code is embedded in the protective MBR rather than the GPT.
|
||||||
The
|
The
|
||||||
.Fl b Ar bootcode
|
.Fl b Ar bootcode
|
||||||
option specifies a file that contains the bootstrap code.
|
option specifies a file that contains the bootstrap code.
|
||||||
@ -165,6 +173,14 @@ The contents and size of the file are determined by the partitioning
|
|||||||
scheme.
|
scheme.
|
||||||
For the MBR scheme, it's a 512 byte file of which the first 446 bytes
|
For the MBR scheme, it's a 512 byte file of which the first 446 bytes
|
||||||
are installed as bootstrap code.
|
are installed as bootstrap code.
|
||||||
|
The
|
||||||
|
.Fl p Ar partcode
|
||||||
|
option specifies a file that contains the bootstrap code intended to be
|
||||||
|
written to a partition.
|
||||||
|
The partition is specified by the
|
||||||
|
.Fl i Ar index
|
||||||
|
option.
|
||||||
|
The size of the file must be smaller than the size of the partition.
|
||||||
.\" ==== COMMIT ====
|
.\" ==== COMMIT ====
|
||||||
.It Cm commit
|
.It Cm commit
|
||||||
Commit any pending changes for geom
|
Commit any pending changes for geom
|
||||||
|
Loading…
Reference in New Issue
Block a user