diff options
author | trasz <trasz@FreeBSD.org> | 2016-01-11 20:10:14 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2016-01-11 20:10:14 +0000 |
commit | 8a895b1fb59b27dada94e93a01fc4613e07517d3 (patch) | |
tree | 231b81a1833795b57589fbf89aea0d752382aa05 /usr.sbin | |
parent | 3426ec6df300daea902b133c4a6e71261113ee77 (diff) | |
download | FreeBSD-src-8a895b1fb59b27dada94e93a01fc4613e07517d3.zip FreeBSD-src-8a895b1fb59b27dada94e93a01fc4613e07517d3.tar.gz |
MFC r287396:
It's 2015, and some people are still trying to use fdisk and then
go asking what debug flags to set for GEOM to make it work. Advice
them to use gpart(8) instead.
Something similar should probably done with disklabel,
but I need to rewrite the disklabel examples first.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/boot0cfg/boot0cfg.8 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/boot0cfg/boot0cfg.8 b/usr.sbin/boot0cfg/boot0cfg.8 index 27f94e0..7d0b9b1 100644 --- a/usr.sbin/boot0cfg/boot0cfg.8 +++ b/usr.sbin/boot0cfg/boot0cfg.8 @@ -180,14 +180,13 @@ To enable just slices 1 and 3 in the menu: .Dl "boot0cfg -m 0x5 ada0" .Pp To go back to non-interactive booting, use -.Xr fdisk 8 +.Xr gpart 8 to install the default MBR: .Pp -.Dl "fdisk -B ada0" +.Dl "gpart bootcode -b /boot/mbr ada0" .Sh SEE ALSO .Xr geom 4 , .Xr boot 8 , -.Xr fdisk 8 , .Xr gpart 8 .Sh AUTHORS .An Robert Nordier Aq rnordier@FreeBSD.org . |