Ignite-UX

how to take the present kernel backup

 
rajesh73
Super Advisor

how to take the present kernel backup

How to take the kernel backup in hpux 11.31

 

 

 

P.S. This thread has been moved from General to HP-UX > ignite. - Hp Forum Moderator

5 REPLIES 5
Bill Hassell
Honored Contributor

Re: how to take the present kernel backup

The kernel (vmunix) is automatically backed up whenever a new kernel is built. If you are running 10.20, 11.00 or 11.11, the previous kernel is /stand/vmunix.prev. For 11.23 and 11.31, the previous kernel is in /stand/backup.

 

When you refer to "kernel", do you mean the HP-UX kernel or do you mean the bootable volume as in vg00?



Bill Hassell, sysadmin
rajesh73
Super Advisor

Re: how to take the present kernel backup

Thanks for your reply

Could you please explain below message


------>When you refer to "kernel", do you mean the HP-UX kernel or do you mean the bootable volume as in vg00?
rajesh73
Super Advisor

Re: how to take the present kernel backup

One more doubt in your above message you told me,The kernel (vmunix) is automatically backed up whenever a new kernel is built. so if I am installed one depot that time the new kernel will built automatically. Please confirm
Bill Hassell
Honored Contributor

Re: how to take the present kernel backup

>> kernel backup  ... vg00 ...

 

The kernel file is /stand/vmunix for a normal bootup. If you install a kernel patch or change a kernel parameter using SAM or SMH, then the current vmunix file is moved to /stand/backup (or vmunix.prev for earlier versions of HP-UX) and a new vmunix file is created. If the new kernel does not work, you can select the previous version during an interactive bootup.

 

The word backup is more often used in reference to a backup to tape or over the network. vg00 is the standard name for the first volume group which contains the HP-UX files as well as a boot area. So the question is: do you want to backup the thousands of files in vg00 or just make a copy of the current vmunix file?



Bill Hassell, sysadmin
GregSB
Occasional Advisor

Re: how to take the present kernel backup

kconfig -s <config_name> will save the running kernel configuration to the <config_name> specified.    This is useful prior to making changes to the running kernel configuration. 

I work for HPE
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details