cancel
Showing results for 
Search instead for 
Did you mean: 

Secondary Kernal

SOLVED
Go to solution
Ashis
Occasional Contributor

Secondary Kernal

Hi ,

How can i find the secondary kernal name when my kernal is corrupt and need to boot from secondary kernal , however i have forgotten the secondary kernal name.

Thanks
5 REPLIES
Jose Mosquera
Honored Contributor

Re: Secondary Kernal

Hi,

Integrity based server use in EFI shell:
HPUX> boot backup

PA-RISC based server use in ISL:
ISL>hpux backup/vmunix

Rgds.
Jose Mosquera
Honored Contributor
Solution

Re: Secondary Kernal

Ooops...

In PA-RISC based systems the automatic backup kernel copy is placed at /stand/backup/vmunix. The kconfig(5) man page get you detailed info about.

Rgds.
Manix
Honored Contributor

Re: Secondary Kernal

Please try these:-

See which one works for you

ISL> hpux /stand/backup/vmunix
ISL> hpux /stand/vmunix.old
ISL> hpux /stand/vmunix.prev
HP-UX been always lovable - Mani Kalra
Manix
Honored Contributor

Re: Secondary Kernal

However in future keep a note of these on 11iv2

# kconfig -v
Configuration NFSPatch
Title SAS fails after NFS/AutoFS patches
Save Time Thu Feb 19 06:36:35 2009
Modify Time Thu Feb 19 06:37:10 2009
Kernel Path /stand/NFSPatch/vmunix

Configuration backup
Title Automatic Backup
Save Time Tue Feb 17 12:14:35 2009
Modify Time Tue Feb 17 12:14:35 2009
Kernel Path /stand/backup/vmunix

Configuration last_install
Title Created by last OS install
Save Time Tue Jan 27 11:36:18 2009
Modify Time Tue Jan 27 11:36:18 2009
Kernel Path /stand/last_install/vmunix

# ll /stand/*/vmunix
-rwxr-xr-x 3 root sys 67322912 Feb 17 12:14 /stand/NFSPatch/vmuni
x
-rwxr-xr-x 2 root sys 67376600 Jan 29 14:06 /stand/backup/vmunix
-rwxr-xr-x 3 root sys 67322912 Feb 17 12:14 /stand/current/vmunix

-rwxr-xr-x 1 root sys 67374424 Jan 27 11:26 /stand/last_install/v
munix
-rwxr-xr-x 3 root sys 67322912 Feb 17 12:14 /stand/nextboot/vmuni
x

# ll /stand/vmunix
-rwxr-xr-x 3 root sys 67322912 Feb 17 12:14 /stand/vmunix

Thanks
Manix
HP-UX been always lovable - Mani Kalra
Ismail Azad
Esteemed Contributor

Re: Secondary Kernal

Hi,

This can be done by checking available configurations with kconfig as said by the other forumers. However, you can do this on your shell or you can do it on the ISL prompt. On the shell kconfig -v would show you all configurations except current.

Remember on v2 and v3 operating systems, the following are by default,

/stand/current/vmunix
/stand/backup/vmunix
/stand/last_install/vmunix

and you will also have a nextboot kernel as well as a /stand/crashconfig/vmunix if you have crash dumps configured.

On the ISL prompt type ISL> hpux ls to see the contents of /stand and available kernels and then load it with the complete path of the kernel as the firmware of PARISC cannot traverse /stand and find the kernel but the integrity server boot loader can!! and hence you see the previous posts state :-

ISL> hpux /stand/backup/vmunix
HPUX> boot backup

The complete path and just the name!

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....