Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Reconfiguring the Kernel (Prior to HP-UX 11i Version 2)
Chapter 3286
This builds a new kernel ready for testing: /stand/build/vmunix_test
and the associated kernel components.
Step 5. Prepare for rebooting by invoking the kmupdate command. This sets a
flag that tells the system to use the new kernel when it restarts.
/usr/sbin/kmupdate
Step 6. Notify users that the system will be shut down. You can use the
/usr/sbin/wall command and/or the interactivate capabilities of the
/usr/sbin/shutdown command to broadcast a message to users before
the system goes down. For details, see wall (1M), shutdown (1M), and
“Shutting Down Systems” on page 520.
NOTE You only need to do the next steps if you are changing hardware, such as
adding new peripherals. If you are simply changing a kernel parameter,
reboot the system to active the new kernel with shutdown -r.
Step 7. Bring the system to a halt using the shutdown command.
Step 8. Turn off the power to all peripheral devices and then to the SPU.
Step 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.
Step 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, boot the system from the backup kernel
(/stand/vmunix.prev) and repeat the process of creating a new kernel.
See “Booting from an Alternate Kernel” on page 496 for information on
rebooting from a backup kernel.