Operating System - HP-UX
1847100 Members
5671 Online
110263 Solutions
New Discussion

kernel corrupted 11.23/rx260

 
SOLVED
Go to solution
UniRock
Regular Advisor

kernel corrupted 11.23/rx260

Hi all,

I have some problem in my current kernel and I have a backup kernel in /stand/last_install.
The problem is, how can I make a new kernel or how can I use this permanently.

Thanks
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: kernel corrupted 11.23/rx260

Unless it's changed in 11.23, you would simply do some renaming:

mv /stand/vmunix /stand/vmunix.problem
mv /stand/last_install /stand/vmunix


Pete

Pete
UniRock
Regular Advisor

Re: kernel corrupted 11.23/rx260

thanks, but how can i know which kernel have I booted from, if i moved the kernel as you said?
Don Morris_1
Honored Contributor
Solution

Re: kernel corrupted 11.23/rx260

It has changed in v2 (and v3) -- don't just copy the vmunix binary -- you need other files (such as the KRS) that go with the configuration.

Use kconfig to copy the configuration (kconfig -c src dest) or save the current configuration to a new name (kconfig -s newconfig).

kconfig -w tells you where there original configuration came from (as mentioned in the man page, that doesn't mean either configuration couldn't have been modified since, but this is where it was loaded at boot).

man 1M kconfig or see
http://docs.hp.com/en/B3921-60631/kconfig.1M.html

for further details.
UniRock
Regular Advisor

Re: kernel corrupted 11.23/rx260

it helped a lot.