16.3 Kernel Rebuilding in a Nutshell

   

The kernel rebuilding process is accomplished using the following steps.

  1. Change the directory to /stand/build .

     cd /stand/build 
  2. Create the kernel parameter system file from the running system.

     /usr/lbin/sysadm/system_prep -s system 
  3. Edit the system file to make necessary changes.

     vi system 
  4. Build the new kernel using the mk_kernel command.

     /usr/sbin/mk_kernel -s ./system 
  5. Back up the old kernel and system files.

     mv /stand/system /stand/system.old mv /stand/vmunix /stand/vmunix.old 
  6. Install the new kernel.

     cp /stand/build/system /stand cp /stand/build/vmunix_test /stand/vmunix 
  7. Reboot the system.

     shutdown -r 0 
  8. Verify the changed parameters and additional devices using the following commands.

     sysdef ioscan 

You will see the presence of additional configured devices and any changes in the system parameters.


   
Top


HP Certified
HP Certified: HP-UX System Administration
ISBN: 0130183741
EAN: 2147483647
Year: 2000
Pages: 390
Authors: Rafeeq Rehman

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net