Changeset View
Changeset View
Standalone View
Standalone View
share/man/man8/picobsd.8
Show First 20 Lines • Show All 419 Lines • ▼ Show 20 Lines | |||||
However, the process will only have success if the | However, the process will only have success if the | ||||
partition does not contain a valid disklabel, otherwise the kernel will | partition does not contain a valid disklabel, otherwise the kernel will | ||||
likely prevent overwriting the label. | likely prevent overwriting the label. | ||||
In this case you can use the | In this case you can use the | ||||
third form, replacing | third form, replacing | ||||
.Ar NN | .Ar NN | ||||
with the actual start of the partition | with the actual start of the partition | ||||
(which you can determine using | (which you can determine using | ||||
.Xr fdisk 8 ) . | .Xr gpart 8 ) . | ||||
Note that after saving the image to the slice, it will not yet be | Note that after saving the image to the slice, it will not yet be | ||||
recognised. | recognised. | ||||
You have to use the | You have to use the | ||||
.Xr disklabel 8 | .Xr disklabel 8 | ||||
command to properly initialize the label (do not ask why!). | command to properly initialize the label (do not ask why!). | ||||
One way to do this is | One way to do this is | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
disklabel -w ada0s2 auto | disklabel -w ada0s2 auto | ||||
▲ Show 20 Lines • Show All 226 Lines • Show Last 20 Lines |