1752650 Members
5547 Online
108788 Solutions
New Discussion юеВ

Kenrel rebuilding on 11i

 
susee_sundar
Regular Advisor

Kenrel rebuilding on 11i


Hi ,

I want to know the steps in rebuilding the kernel on HP-unix 11i.
Anybody guide me the doc or better give me the steps ..

I know how to do it on Hp10.2 but new on 11i

regards
Suseendran .A
5 REPLIES 5

Re: Kenrel rebuilding on 11i

If you are on 11iv1 (11.11):

http://docs.hp.com/en/B2355-90950/ch03s10.html

If you are on 11iv2 (11.23):

http://docs.hp.com/en/B2355-90950/ch03s11.html

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Peter Godron
Honored Contributor

Re: Kenrel rebuilding on 11i

Hi,
have you checked chapter 3 - reconfiguring thekernel in :
http://docs.hp.com/en/B2355-90950/B2355-90950.pdf
Asif Sharif
Honored Contributor

Re: Kenrel rebuilding on 11i

Hi Sundar,

Please find the attached doc for rebuilding the HPUX kernel.

Regards,
Asif Sharif
Regards,
Asif Sharif
Yarek
Regular Advisor

Re: Kenrel rebuilding on 11i

Hi,

1. Change directories to /stand/build.
cd /stand/build

2. Create a new system file from the running kernel.
/usr/lbin/sysadm/system_prep -s /stand/build/system



3. Edit the kernel with the planned changes.
vi /stand/build/system

4. Build the new kernel.
/usr/sbin/mk_kernel -s /stand/build/system

5. Move the old system and vmunix files so if anything goes wrong, the system can be booted from the old kernel.
mv /stand/system /stand/system.prev

6. Move the new system file and new kernel into place, ready to be used when rebooting the system.
mv /stand/build/system /stand/system
kmupdate /stand/build/vmunix_test

NOTE: The kmupdate command will move the /stand/vmunix kernel to /stand/vmunix.prev and the newly created kernel to /stand/vmunix as part of the shutdown process.

7. Reboot the system off the new kernel.
shutdown -r


good luck!
Peter Godron
Honored Contributor

Re: Kenrel rebuilding on 11i

Hi,
how are getting on with this problem ?

Could you please complete the thread by awarding points to helpful answers and summarising the solution for you.

This will help resolution of similar problems in the future.