Changeset View
Changeset View
Standalone View
Standalone View
sbin/geom/class/part/gpart.8
Show First 20 Lines • Show All 1,294 Lines • ▼ Show 20 Lines | |||||
.Pp | .Pp | ||||
Finally, we install the appropriate boot loader for the | Finally, we install the appropriate boot loader for the | ||||
.Bx | .Bx | ||||
label: | label: | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
/sbin/gpart bootcode -b /boot/boot ada0s1 | /sbin/gpart bootcode -b /boot/boot ada0s1 | ||||
.Ed | .Ed | ||||
.Ss VTOC8 | .Ss VTOC8 | ||||
.Pp | |||||
Create a VTOC8 scheme on | Create a VTOC8 scheme on | ||||
.Pa da0 : | .Pa da0 : | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
/sbin/gpart create -s VTOC8 da0 | /sbin/gpart create -s VTOC8 da0 | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
Create a 512MB-sized | Create a 512MB-sized | ||||
.Cm freebsd-ufs | .Cm freebsd-ufs | ||||
Show All 30 Lines | |||||
/sbin/gpart destroy da0 | /sbin/gpart destroy da0 | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
Alternatively, you can invoke the | Alternatively, you can invoke the | ||||
.Cm destroy | .Cm destroy | ||||
action with the | action with the | ||||
.Fl F | .Fl F | ||||
flag. | flag. | ||||
.Ed | |||||
.Ss Backup and Restore | .Ss Backup and Restore | ||||
.Pp | |||||
Create a backup of the partition table from | Create a backup of the partition table from | ||||
.Pa da0 : | .Pa da0 : | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
/sbin/gpart backup da0 > da0.backup | /sbin/gpart backup da0 > da0.backup | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
Restore the partition table from the backup to | Restore the partition table from the backup to | ||||
.Pa da0 : | .Pa da0 : | ||||
Show All 25 Lines |