diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-09-02 14:08:43 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-09-02 14:08:43 +0000 |
commit | b8c19fd719945f5b9ff51320f8dbe46dd23510c1 (patch) | |
tree | d830a30e2eb7a80e7395ba38191a5fef865fabef /usr.sbin/boot0cfg | |
parent | 089d32934ad974de5936051de316495514dd9ce8 (diff) | |
download | src-b8c19fd719945f5b9ff51320f8dbe46dd23510c1.tar.gz src-b8c19fd719945f5b9ff51320f8dbe46dd23510c1.zip |
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.
Reviewed by: wblock@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3315
Notes
Notes:
svn path=/head/; revision=287396
Diffstat (limited to 'usr.sbin/boot0cfg')
-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 9e413c0a6114..bf0d35d489a6 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 Mt rnordier@FreeBSD.org |