inskern(1) INTERACTIVE UNIX System inskern(1)
NAME
inskern - install a kernel
SYNOPSIS
inskern [ -r root_directory ] [ -gshutdown_grace_period ]
kernel_file
DESCRIPTION
The inskern command installs a new kernel. By default, the
configuration directory is /etc/conf; this may be overridden
by setting the environment variable $ROOT (see insdriver(1))
or by using the -r option on the command line. This root
will be referred to as $ROOT throughout this manual entry.
Installing a new kernel consists of linking the new kernel
to /unix, shutting down the system, and booting the new ker-
nel.
The inskern command does the following. It links, if possi-
ble, and otherwise copies
$ROOT/etc/conf/kconfig.d/kernel_file.d/kernel_file to
/kernel_file, copies configuration files from /etc/conf/cf.d
to /etc/conf/cf.d/OLD and from
$ROOT/etc/conf/kconfig.d/kernel_file.d to /etc/conf/cf.d,
echoes kernel_file to /etc/.new_unix, and executes
/etc/shutdown. /etc/shutdown moves the current kernel
(/unix) to /OLD.unix and links /kernel_file to /unix. Upon
reboot, the default, /unix, will be the new kernel. If the
new kernel cannot be linked to /unix, /OLD.unix is moved
back to /unix and the configuration files are moved back
from /etc/conf/cf.d/OLD to /etc/conf/cf.d.
Should the new kernel boot fail, reboot, and when the mes-
sage:
Booting the UNIX System...
is displayed, quickly press the space bar and type /OLD.unix
when prompted for the name of the kernel. After the system
is up, move /OLD.unix to /unix, and move
/etc/conf/cf.d/OLD/* to /etc/conf/cf.d.
EXAMPLES
The following command line reboots the system with
/tmp/etc/conf/kconfig.d/unix.3.d/unix.3 as the new kernel:
inskern -r /tmp unix.3
The following command reboots the system with
/etc/conf/kconfig.d/unix.3.d/unix.3 as the new kernel:
inskern unix.3
Rev. 1.2 Page 1
inskern(1) INTERACTIVE UNIX System inskern(1)
FILES
/etc/.new_unix
SEE ALSO
kconfig(1), shutdown(1M).
insdriver(1) in the INTERACTIVE SDS Guide and Programmer's
Reference Manual.
WARNINGS
The command inskern must be executed by the root user.
ADDED VALUE
This entry, supplied by INTERACTIVE Systems Corporation, is
an extension of UNIX System V.
Rev. 1.2 Page 2