1753618 Members
5891 Online
108797 Solutions
New Discussion юеВ

kernel tuning

 
Hari Prasad S R
Frequent Advisor

kernel tuning

can any tell me how rebuild hpux kernel using command line,
5 REPLIES 5
Devender Khatana
Honored Contributor

Re: kernel tuning

Hi,


1. cd /stand/build
2. create the kernal parameter system file /usr/lbin/sysadm/system_prep -s system
3. make your changes to the system file
vi system
4. build the new kernal
/usr/sbin/mk_kernel -s ./system
5. back up the old kernel and sys files
mv /stan/system /stand/system.prev
mv /stand/vmunix /stand/vmunix.prev
6. install the new kernel
cp /stand/build/system /stand
cp /stand/build/vmunix_test /stand/vmunix
7. reboot system
8. verify the kernel changes using sysdef

HTH,
Devender
Impossible itself mentions "I m possible"
Hari Prasad S R
Frequent Advisor

Re: kernel tuning

thanks, but can you tell me devendra, how to boot system by 2 kernels like if i want to go for previous kernel what i need to do at the ISL prompt.

thanks
Hari Prasad S R
Frequent Advisor

Re: kernel tuning

hey devendra,

can you tell me how to get kcweb for the hpux machine, any trial edition is available, please tell me about that
Devender Khatana
Honored Contributor

Re: kernel tuning

Hi,

If you want to boot it from vmunix.prev then at PDC prompt give
bo pri
Select Y when prompts for interacting with IPL.

Now at IPL give
hpux vmunix.prev
Moreover you can also see the files in /stand from here itself by
hpux ls (Or ls -l)

HTH,
Devender
Impossible itself mentions "I m possible"
Devender Khatana
Honored Contributor

Re: kernel tuning

Hi Hari,

It is available for free at

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=Casey

HTH,
Devender
Impossible itself mentions "I m possible"