History log of /src/share/man/man5/boot.cfg.5
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.32 15-Apr-2022 fcambus

boot.cfg.5: banner can span up to 12 lines, and not 10 like stated.

For the record, the value is set by the BOOTCFG_MAXBANNER macro defined
in sys/lib/libsa/bootcfg.h.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.31 24-Nov-2020 kim

Add a comment to clarify the selected drivers to disable in the example


# 1.30 21-Nov-2020 wiz

Bump date for previous.


# 1.29 21-Nov-2020 kim

boot.cfg.5: Note that userconf can be used multiple times

Additionally:
- Make it easier for the reader to learn which keywords can be used
multiple times
- Use multiple "userconf" lines in the EXAMPLES section, conveniently
listing the current DRM drivers that a user might need to disable to
troubleshoot "blank screen after boot" issues.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base perseant-stdc-iso10646-base
# 1.28 03-Jul-2017 wiz

Remove workaround for ancient HTML generation code.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 matt-nb8-mediatek-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.27 25-Apr-2015 wiz

branches: 1.27.8;
Sort keywords. From dieter roelants in PR 49855.
Bump date.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base tls-maxphys-base
# 1.26 15-Apr-2013 jdf

Remove superfluous '.Pp' macro (fixes mandoc(1) warning).
Patch supplied by Bug Hunting.


Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
# 1.25 03-Mar-2012 nonaka

branches: 1.25.2;
fix incorrent example.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 1.24 28-Nov-2011 wiz

New sentence, new line. Use more markup. Bump date for previous.


# 1.23 28-Nov-2011 tls

Add support for passing saved entropy (random seed file) to the kernel
from the bootloader. This can fix the problem of poor quality keys
for other kernel modules which call arc4random() early in kernel startup
(NFS startup, in particular, causes this).

We continue to rely on the etc/rc.d/random_seed script to save entropy
to the seed file at shutdown and erase the seed file at startup.

Boot loader support implemented only for i386 and amd64 ports for now but
it should be easy for other ports to do the same or similar.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base
# 1.22 26-May-2011 uebayasi

branches: 1.22.4;
Support userconf(4) command in boot(8)/boot.cfg(5) on i386/amd64.

From jmmv@, no objections seen in the proposed thread:

http://mail-index.netbsd.org/tech-kern/2009/01/22/msg004081.html


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.21 28-Oct-2010 jruoho

Correct section in xref.


# 1.20 28-Oct-2010 jruoho

Bump to the right date.


# 1.19 28-Oct-2010 jruoho

Xref boothowto(8).


Revision tags: matt-premerge-20091211
# 1.18 13-Sep-2009 snj

Use \*[Lt] and \*[Gt] instead of < and >.


# 1.17 13-Sep-2009 jmcneill

PR# port-i386/39463: boot.cfg(8) does not mention about relative path for
the 'load' option

Document the search behaviour of the 'load' directive when an absolute
path is not specified.


# 1.16 04-Sep-2009 wiz

Fix incorrect wording. From Bug Hunting in PR 41989.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.15 13-Dec-2008 christos

sort keywords


# 1.14 13-Dec-2008 christos

document the clear option, from Anon Ymous..


# 1.13 18-Nov-2008 ad

ramdisk.kmod -> miniroot.kmod


Revision tags: netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2
# 1.12 15-Oct-2008 sborrill

branches: 1.12.2;
Correct existing Xen example and add Xen with serial console example.
Refer to boot.cfg(5) for Xen examples from boot(8).


# 1.11 11-Oct-2008 joerg

Add example of booting Xen.


Revision tags: mjf-devfs2-base
# 1.10 24-Sep-2008 njoly

Add missing .El directive.


Revision tags: wrstuden-revivesa-base-3 wrstuden-revivesa-base-2
# 1.9 13-Aug-2008 wiz

Bump date for previous.
Use more markup. Sort sections.


# 1.8 12-Aug-2008 sborrill

Document the new format option


Revision tags: wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base
# 1.7 03-May-2008 sborrill

branches: 1.7.2;
Fix syntax for load command. There is no = sign when specified as a command
vs being a boot.cfg directive.


# 1.6 03-May-2008 sborrill

Add support for multiple commands separated by semi-colons on menu lines
in boot.cfg.
e.g.
menu=Boot with module foo:load=/foo.kmod;boot


# 1.5 02-May-2008 ad

- Give x86 BIOS boot the ability to load new style modules and pass them
into the kernel. Based on a patch by jmcneill@, with many fixes and
improvements by me.

- Put MEMORY_DISK_DYNAMIC and MODULAR into the GENERIC kernels, so that
you can load miniroot.kmod from the boot blocks and boot into the
installer!


Revision tags: yamt-pf42-baseX yamt-pf42-base keiichi-mipv6-nbase hpcarm-cleanup-base keiichi-mipv6-base matt-armv6-base matt-armv6-nbase
# 1.4 05-Jan-2008 apb

branches: 1.4.2; 1.4.6; 1.4.8;
If a menu line in boot.cfg has an empty description, then re-use the
command as the description. For example,

menu=:boot netbsd -s

now works like

menu=boot netbsd -s:boot netbsd -s


Revision tags: cube-autoconf-base
# 1.3 22-Nov-2007 sborrill

i386 and amd64 share a bootloader, so this should work on both.

Thanks to xtraeme@ and bouyer@ for pointing out this oversight.


# 1.2 21-Nov-2007 sborrill

While boot.cfg support is currently i386 only, it is hoped that its use
will be extended to other appropriate ports in future. Note as such in the
bugs section.

This is an MI man page, so should not be flagged as i386 in the header.


# 1.1 20-Nov-2007 sborrill

Add support for /boot.cfg configuration file in x86 boot loader.
This allows easy configuration of banner text, console device and timeout
as well as allowing menus of commands to be displayed. If /boot.cfg
is not present, then the existing behaviour does not change.

The sections in the boot loader source are surrounded by #ifdef SMALL
allowing this functionality to be removed if space is at a premium.