Reconfiguring the Kernel in HP-UX Release 11i Version 1.5
Reconfiguring the kernel in HP-UX Release 11i Version 1.5
Reconfiguring the Kernel
Chapter 1 9
NOTE You only need to do the next steps if you are changing hardware, such as adding
new peripherals. If you are only adding or removing a kernel module, or
simply changing a static kernel parameter, reboot the system to active the
new kernel with shutdown -r.
7. Bring the system to a halt using the shutdown command.
8. Turn off the power to all peripheral devices and then to the SPU.
9. Install the hardware or remove interface cards or peripheral devices. Refer to the
documents shipped with the products being installed and to Configuring HP-UX for
Peripherals for specific instructions.
10.Turn on the power to all peripheral devices. Wait for them to become “ready”, then turn on
power to the SPU. The system will attempt to boot the new kernel.
If the New Kernel Fails to Boot
If the new kernel fails to boot
1. Boot the system from the backup kernel (/stand/vmunix.prev) and repeat the process of
creating a new kernel. See the section “Booting From an Alternate Kernel,” in Chapter 3,
“Configuring a System,” in Managing Systems and Workgroups: A Guide for HP-UX
System Administrators for information on rebooting from a backup kernel.
2. Remove the “bad” kernel. As soon as you boot from the backup kernel, remove the “bad”
unbootable kernel using the -d option of the kmupdate command:
kmupdate -d /stand/vmunix
NOTE This step is necessary to avoid removing from the system the component files of
the currently running backup kernel (/stand/vmunix.prev).With the -d
option of the kmupdate command you have removed all the kernel
component files associated with the un-bootable kernel /stand/vmunix.
Now it is safe to repeat the process of configuring a new kernel and
performing a kernel update without overwriting /stand/vmunix.prev with
the“ bad” kernel. Once /stand/vmunix has been removed, there is no longer
a default kernel from which to boot, until a new kernel is configured and
updated via the kmupdate command.