1834105 Members
2303 Online
110063 Solutions
New Discussion

Boot with older kernel

 
SOLVED
Go to solution
Daniel Caçador
Regular Advisor

Boot with older kernel

Hi!

I need to boot with older kernel in HP-UX 11i.
How I do this?

Thank's!
16 REPLIES 16
Peter Godron
Honored Contributor
Solution

Re: Boot with older kernel

Daniel,
you want to use the previos kernel?

Check that /stand/vmunix.prev exists !

reboot system
interupt boot
bo pri ipl
interact with isl

ISL> hpux /stand/vmunix.prev
Daniel Caçador
Regular Advisor

Re: Boot with older kernel

Hi!

I try this command, but, don't work.

This is the only way to make boot using the older kernel?

Thank's.
RAC_1
Honored Contributor

Re: Boot with older kernel

What is the error/message that you get?
From ISL can you ll /stand? Can you see old kernel file there?
There is no substitute to HARDWORK
Daniel Caçador
Regular Advisor

Re: Boot with older kernel

This is a shoot of screem

I'm thinking one person make a rename of kernel.

I could mount de LVOL's too...
Daniel Caçador
Regular Advisor

Re: Boot with older kernel

This is a shoot of screem

I'm thinking one person make a rename of kernel.

I could mount de LVOL's too...
Daniel Caçador
Regular Advisor

Re: Boot with older kernel

I could NOT mount the LVOL's
Peter Godron
Honored Contributor

Re: Boot with older kernel

Daniel,
you may need to use the recovery disk if you have an unbootable kernel and can't find the previous one.
RAC_1
Honored Contributor

Re: Boot with older kernel

The screen shot that you attached has errors about inittab entries and nothing more. From ISL boot into single user mode (From ISL, do hpux -is /stand/vmunix) and comment out entries that are giving problem. (Except console entry) Once that is done, try booting through old kernel.

Post error if any and in full.
There is no substitute to HARDWORK
Daniel Caçador
Regular Advisor

Re: Boot with older kernel

Please, look this screen shot.

What you can see?

Thank's
RAC_1
Honored Contributor

Re: Boot with older kernel

Looks like, you have serious problems with disk or lvols.

Can you at least boot into single user mode?
Is disk ok? Do you have mirror copies of disk. If yes, try booting through alternate disk.
There is no substitute to HARDWORK
Daniel Caçador
Regular Advisor

Re: Boot with older kernel

Well,

My disk aren't OK

But...My lvols.....I don't know...

I Don, t have mirror, But i can boot in single user mode...

Alternate disk? how?

Thanks!


Daniel Caçador
Regular Advisor

Re: Boot with older kernel

Some idea?
Baiju Kumar.B_1
Advisor

Re: Boot with older kernel

dear sir ,
from screen shot i understood that ,either your stand file systen is corrupted or the boot disk is having problem.you can try to boot from old kernel ,for this purpose you have to intrrupt auto boot and go to pdc
issue the folloing commands
bo pri
it will ask do u want to interrupt with isl

give y

from ipl prompt
give the followin command
hpux ll /stand

you will get all the kernal
lists in /stand file system try with yuor wanted kernel

with following format

hpux -is /stand/
if you will get the prompt it is ok

u can fsck the /stand file system and reboot the system

if it is not ok with this step,it is disk problem replace the root disk ,if mirror disk is not present .if it is there boot through alternate disk.if you are replace the root disk please restore the ignite unix back up from tape,for getting the full system configuration


please check the man pages of the following


#man fsck
#man make_tape_recovery

regards
Baiju Kumar.B

nothing is impossible
Sivakumar TS
Honored Contributor

Re: Boot with older kernel


Hi Daniel,

Looks like the /stand filesystem in corrupt.

Please boot thru the HPUX Support CD

RUN the recovery shell

after getting the shell prompt

try to do fsck and fix the /stand

NOW reboot thru DISK and try to boot HPUX.

Hope this helps.

Siva.
Nothing is Impossible !
Daniel Caçador
Regular Advisor

Re: Boot with older kernel

Yes!

My /stand is all modify!

But, after boot running older kernel, I don't can mount /dev/vg00/lvol1 on /stand to fix de kernel!

How I can mount?

Thank's!!!!
Daniel Caçador
Regular Advisor

Re: Boot with older kernel

Thank's