man(8) update_bootcfg man page man(8)
NAME
update_bootcfg - Update the configuration for the boot monitor
SYNOPSIS
update_bootcfg
DESCRIPTION
Updates /boot.cfg, the configuration file used by the MINIX boot moni-
tor. The default values are stored in /etc/boot.cfg.default.
/etc/boot.cfg.local stores any local modifications. These templates
obey the syntax of boot.cfg(5). The /etc/boot.cfg.default template ex-
pects the system images to reside in the /boot/minix directory and that
/boot/minix_latest points to last image, selected by the default= com-
mand. Besides the directory to which points /boot/minix_latest, all the
directory entries within /boot/minix are expected to be alternative
system releases, and are given additional menu= entries, with the basic
parameters $rootdevname and $args. Template menu= entries for inexis-
tant directories, or directories without kernel file, are skipped; the
default= option is adjusted to point to the same relative menu entry.
Within the templates, some variables can be used and will be substi-
tuted by update_bootcfg at run time. They are preceded by the dollar
sign. $rootdevname is replaced with the name of the device holding the
(current) root file system; $args, which is intended to be at the end
of the menu lines, is replaced by the system environement values.
Finally, the update_bootcfg command updates the root file system.
EXAMPLES
update_bootcfg
FILES
/boot.cfg
Location of the configuration file
/boot/minix/*
Directories with the various releases
/boot/minix_default
Directory with the base release of MINIX, installed at setup(8)
time
/boot/minix_latest
Symbolic link to the directory with the latest release, usually
taken by default
/etc/boot.cfg.default
Default template
/etc/boot.cfg.local
Locally-defined additional boot commands
BUGS
The previous content of /boot.cfg is lost. Do not change that file di-
rectly! The presence of /boot/minix_latest as a menu= entry is not
checked; it is assumed than one or several entries refer to it.
The naming conventions, particularly the use of default, are not con-
sistent.
SEE ALSO
boot(8), boot.cfg(5), setup(8), sysenv(1)
AUTHOR
Manpage written by Jacob Adams <
[email protected]>. This manpage bor-
rows liberally from Antoine Leca's manual page.
2.0 14 July 2015 man(8)