Интерактивная система просмотра системных руководств (man-ов)
nextboot (8)
>> nextboot (8) ( FreeBSD man: Команды системного администрирования )
BSD mandoc
NAME
nextboot
- specify an alternate kernel and boot flags for the next reboot
SYNOPSIS
[-f
]
[-o options
]
-k kernel
-D
DESCRIPTION
The
utility allows specifying an alternate kernel and/or boot flags for the
next time the machine is booted.
Once the
loader(8)
loads in the new kernel
information, it is deleted so in case the new kernel hangs the machine,
once it is rebooted, the machine will automatically revert to its previous
configuration.
The options are as follows:
-D
Invoking
with this
option removes an existing
configuration.
-f
This
option disables the sanity checking which checks if the kernel really exists
before writing the
configuration.
-k kernel
This option specifies a kernel directory relative to
/boot
to load the kernel and any modules from.
-o options
This option
allows the passing of kernel flags for the next boot.
FILES
/boot/nextboot.conf
The configuration file that the
configuration is written into.
EXAMPLES
To boot the
GENERIC
kernel with the
command:
"nextboot -k GENERIC"
To enable into single user mode with the normal kernel: