*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> nextboot (8)              



NAME    [Toc]    [Back]

     nextboot -- specify an alternate kernel and boot flags for the next

SYNOPSIS    [Toc]    [Back]

     nextboot [-f] [-o options] -k kernel
     nextboot -D

DESCRIPTION    [Toc]    [Back]

     The nextboot 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 nextboot with this option removes an existing
		 nextboot configuration.

     -f 	 This option disables the sanity checking which checks if the
		 kernel really exists before writing the nextboot 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

FILES    [Toc]    [Back]

     /boot/nextboot.conf  The configuration file that the nextboot configuration
 is written into.

EXAMPLES    [Toc]    [Back]

     To boot the GENERIC kernel with the nextboot command:

	   nextboot -k GENERIC

     To enable into single user mode with the normal kernel:

	   nextboot -o "-s" -k kernel

     To remove an existing nextboot configuration:

	   nextboot -D

SEE ALSO    [Toc]    [Back]

     boot(8), loader(8)

HISTORY    [Toc]    [Back]

     The original nextboot manual page first appeared in FreeBSD 2.2.  It used
     a very different interface to achieve similar results.

     The current incarnation of nextboot appeared in FreeBSD 5.0.

AUTHORS    [Toc]    [Back]

     This manual page was written by Gordon Tetlow <gordon@FreeBSD.org>.

BUGS    [Toc]    [Back]

     The nextboot code is implemented in the loader(8).  It is not the most
     throughly tested code.  It is also my first attempt to write in Forth.

     Finally, it does some evil things like writing to the file system before
     it has been checked.  If it scrambles your file system, do not blame me.

FreeBSD 5.2.1		       November 4, 2002 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
getbootfile FreeBSD get kernel boot file name
boot_config OpenBSD how to change kernel configuration at boot
UKC OpenBSD how to change kernel configuration at boot
modules Linux kernel modules to load at boot time
bootparam Linux Introduction to boot time parameters of the Linux kernel
eliloalt Linux manipulate elilo alternate
sigaltstack HP-UX set and/or get signal alternate stack context.
SgVisualDrawingArea IRIX A drawing area in an alternate visual
sigaltstack Tru64 set or get signal alternate stack context
sigstack HP-UX set and/or get alternate signal stack context
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service