![]() |
Kernel rebuilding is needed whenever you add or remove a device from your system, add or remove a subsystem, make changes to a swap or dump device, or change the value of a kernel tunable parameter. In the kernel rebuild process, you first create a new system file from the running system configuration using the system_prep command. After that, you need to edit this file to carry out the desired changes. For this you use the ioscan and sysdef commands to check existing device drivers and system parameters. Once you are satisfied with your system file, you create the new kernel using the mk_kernel command. In the next step, you back up the old kernel, install the new kernel, and reboot the system. You can also use SAM to rebuild the kernel.
In this chapter, you have seen all of this process in a step-by-step approach. You learned how to boot from an old kernel with the help of the ISL and the hpux command if the new kernel goes bad. A list of important kernel tunable parameters was presented in Table 16-1.
After going through this chapter, you have the knowledge of how to rebuild and install the HP-UX kernel, how to recover from a bad kernel, and what the important kernel parameters are.
![]() |
![]() |
Top |