History log of /freebsd-current/usr.sbin/boot0cfg/boot0cfg.8
Revision Date Author Comments
# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 5b990a94 22-Jun-2020 Baptiste Daroussin <bapt@FreeBSD.org>

Revert r362466

Such change should not have happen without prior discussion and review.

With hat: transitioning core


# 7747001b 21-Jun-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Improve wording to be more precise and clear.
No functional change intended.

s/Master Boot/Main Boot/ (also called MBR)

MFC after: 1 week
Sponsored by: Mellanox Technologies


# b8c19fd7 02-Sep-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

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


# 01c2b8ac 20-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

use .Mt to mark up email addresses consistently (part2)

PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>


# 05d98029 01-Oct-2013 Sergey Kandaurov <pluknet@FreeBSD.org>

Sweep man pages replacing ad -> ada.

Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only


# c0cbd1c6 25-Mar-2012 Joel Dahl <joel@FreeBSD.org>

Remove superfluous paragraph macro.


# 5c95e6ff 04-Feb-2012 Konstantin Belousov <kib@FreeBSD.org>

Be as explicit as possible when describing relation between the -m mask
argument and slices. Adjust example for the same reason.

Submitted by: Valentin Nechayev <netch netch kiev ua>
MFC after: 3 days


# f9a01458 20-Dec-2011 John Baldwin <jhb@FreeBSD.org>

Allow boot0cfg to force a PXE boot via boot0 on the next boot.
- Fix boot0 to check for PXE when using the pre-set setting for the
preferred slice.
- Update boot0cfg to use slice 6 to select PXE. Accept a 'pxe' argument
instead of a number for the 's' option as a way to select PXE as well.

Submitted by: Andrew Boyer aboyer averesystems
MFC after: 2 weeks


# 2a9cd9b3 07-Nov-2011 Andrey V. Elsukov <ae@FreeBSD.org>

Remove a note about disabling of GEOM protection mechanism.
boot0cfg should work without such hack.

MFC after: 3 days


# 395a625c 06-Nov-2011 Andrey V. Elsukov <ae@FreeBSD.org>

Add reference to gpart(8).

MFC after: 3 days


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 789a82a6 13-Jan-2009 Luigi Rizzo <luigi@FreeBSD.org>

Extend the geom-related info and put in the NOTE section, not
in BUGS, as this is a feature.

Bump the date, as it was forgotten in previous commits and the
page has had significant changes recently


# ae309670 03-Dec-2008 Luigi Rizzo <luigi@FreeBSD.org>

Another, hopefully final set of changes to boot0 and boot0cfg.

boot0.S changes:

+ import a patch from Christoph Mallon to rearrange the various
print functions and save another couple of bytes;

+ implement the suggestion in PR 70531 to enable booting from
any valid partition because even the extended partitions that
were previously in our kill list may contain a valid boot loader.
This simplifies the code and saves some bytes;

+ followwing up PR 127764, implement conditional code to preserve
the 'Volume ID' which might be used by other OS (NT, XP, Vista)
and is located at offset 0x1b8. This requires a relocation of the
parameter block within the boot sector -- there is no other
possible workaround.
To address this, boot0cfg has been updated to handle both
versions of the boot code;

+ slightly rearrange the strings printed in the menus to make
the code buildable with all options. Given the tight memory
budget, this means that with certain options we need to
shrink or remove certain labels.

and especially:

make -DVOLUME_LABEL -DPXE the default options.

This means that the newly built boot0 block will preserve the
Volume ID, and has the (hidden) option F6 to boot from INT18/PXE.
I think the extra functionality is well worth the change.

The most visible difference here is that the 'Default: ' string
now becomes 'Boot: ' (it can be reverted to the old value
but then we need to nuke 1/2 partition name or entries to
make up for the extra room).

boot0cfg changes:

+ modify the code to recognise the new boot0 structure (with the
relocated options block to make room for the Volume id).

+ add two options, '-i xxxx-xxxx' to set the volume ID, -e c
to modify the character printed in case of bad input

PR: 127764 70531
Submitted by: Christoph Mallon (portions)
MFC after: 4 weeks


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 448f9bb6 07-Jun-2007 Pav Lucistnik <pav@FreeBSD.org>

"-b /boot/mbr" is redundant, /boot/mbr is the default boot code for fdisk(8).

Pointed out by: ru


# 3022d78f 06-Jun-2007 Pav Lucistnik <pav@FreeBSD.org>

- Revert previous revision, it was incorrect
- Add an example using fdisk instead

Pointed out by: ru
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 3 days


# 2e032d8d 12-May-2007 Pav Lucistnik <pav@FreeBSD.org>

Document /boot/mbr (non-interactive boot block)

PR: doc/111840
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 1 week


# 338465d5 07-Apr-2005 Scott Long <scottl@FreeBSD.org>

Document how to make boot0cfg work on mounted disks.


# 59a3c79d 18-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.


# a866e170 17-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Added the EXIT STATUS section where appropriate.


# 49e5f552 14-Sep-2004 Tor Egge <tegge@FreeBSD.org>

boot0 defaults to packet mode.


# 2410103c 07-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) fixes.


# 7196870c 16-Jun-2004 Poul-Henning Kamp <phk@FreeBSD.org>

Document boot0sio and note that it requires modem handshake to work.


# 68c4cb5d 04-Jun-2004 Ruslan Ermilov <ru@FreeBSD.org>

Spelling nit.


# 959d6c24 14-Sep-2003 Ruslan Ermilov <ru@FreeBSD.org>

Get rid of duplicates.


# 4a87a5ee 15-Apr-2003 John Baldwin <jhb@FreeBSD.org>

Add an example of how to use the -m option that clarifies how the bits in
the mask correspond to slice numbers. Also, clarify the description of the
existing example.

Requested by: Larry Rosenman <ler@lerctr.org>


# 490d5836 14-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# 90432ad7 28-May-2002 Ian Dowse <iedowse@FreeBSD.org>

Remove references to the update/noupdate flag from the description
and examples of the "-s" option, since these two features operate
completely independently of each other.

Reviewed by: obrien


# 12b51ad0 24-May-2002 David E. O'Brien <obrien@FreeBSD.org>

The man page is VERY WRONG about using "-o noupdate" with -s.
So fix it, and add an example using -s.


# 35213a76 14-May-2002 Daniel Harris <dannyboy@FreeBSD.org>

Trivial language fixes.

PR: 38015
Submitted by: Chris Pepper <pepper@mail.rockefeller.edu>


# d628d776 15-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: utilize the new .Ex macro.


# 753d686d 14-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: s/BSD/.Bx/ where appropriate.


# 504dd5ea 18-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

fdisk(8): document the default for -b, add xref to boot0cfg(8).
boot0cfg(8): add FILES section.

Reviewed by: rnordier


# e97407b4 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# 76a06f84 15-Nov-2000 Ben Smithurst <ben@FreeBSD.org>

remove trailing periods from SEE ALSO.


# b5c508fb 14-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

Use Fx macro wherever possible.


# 1d5731be 02-Oct-2000 Robert Nordier <rnordier@FreeBSD.org>

Reflect new packet option default.


# 8aab42e1 11-Sep-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Mark a path up with Pa.


# a9264f3e 11-Sep-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Whitespace-only change: apply normal line breaking style.


# d1edabdf 09-Sep-2000 Robert Nordier <rnordier@FreeBSD.org>

Provide correct information regarding "packet" option default.

PR: 20936
Originated by: obrien


# 81e309b7 17-Aug-2000 David Malone <dwmalone@FreeBSD.org>

Allow people to set the default boot slice with boot0cfg.

PR: 18923
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by: jhb
Approved by: rnordier


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 5868a099 19-Jun-1999 Robert Nordier <rnordier@FreeBSD.org>

Implement -m option to enable/disable slices.


# ee6fb785 26-Feb-1999 Robert Nordier <rnordier@FreeBSD.org>

Finish implementing "setdrv" option. This is intended to be used
(with care) in those instances where boot0 is not passed the
correct drive number by the PC BIOS. (The symptoms are a
"F5 Drive 0" line, even though the current drive is drive 0.)


# ed720ec3 22-Feb-1999 Robert Nordier <rnordier@FreeBSD.org>

Make various minor corrections.


# 0b654f60 21-Feb-1999 Robert Nordier <rnordier@FreeBSD.org>

Add boot0cfg: this installs/configures the `boot0' boot manager. A
CLI utility to do this has been requested by a few people.