1827459 Members
4552 Online
109965 Solutions
New Discussion

Re: HP OS Boot Problem

 
SOLVED
Go to solution
logaraman
Regular Advisor

HP OS Boot Problem

Hi ,

We have a HP server with HP UX 11.23 installed on it. When we restarted the server, it doesnt come up and takes us to the ISL prompt. When we give BO p* whcih is the hard drive, it gives the error, " disk(0/0/1/1.2.0.0.0.0.0;0)/stand/vmunix
Exec failed: Exec format error"....

Any suggestions please
7 REPLIES 7
Torsten.
Acclaimed Contributor

Re: HP OS Boot Problem

From ISL> prompt, please list the content of /stand and post!

ISL>hpux -ls

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
FLQ
Valued Contributor

Re: HP OS Boot Problem

Hi,

At the ISL prompt,

type "SEA" to look for possible boot devices.

The output will give you bootable PATH named P0,P1, etc...

Try "BO P0" or "BO P1".

Check with "pa pri" and "pa alt" if these path are valid boot path on your system.

If you are absolutely sure that the disk you try to boot from is the right one, try at ISL prompt: "hpux ls" which will list the /stand directory on the PRImary PAth. Check if there is a vmunix.prev.

Then at ISL prompt, type "BO pri", interact with IPL, type "hpux -is /stand/vmunix.prev"


Let me know

Francis
logaraman
Regular Advisor

Re: HP OS Boot Problem

Hi,

we tried the options provided by you with the complete path of vmunix .. the vmunix file is off o bytes.. is that an issue
FLQ
Valued Contributor
Solution

Re: HP OS Boot Problem

Hi,

what about vmunix.prev?

Is it also 0 bytes?

If that is the case, you dont have a kernel to boot from.

I suggest that you boot the CDROM and use the Recovery Shell option to get a shell with the CDROM's kernel.

Then activate VG00 ( vgchange -a y vg00)
mount all lvols at their proper location and try to generate a new kernel.

#cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
( Prepares new system file )
# /usr/sbin/mk_kernel -s system
( Prepares new kernel )
# mv /stand/system /stand/system.prev
( Move old system file )
# mv /stand/vmunix /stand/vmunix.prev
( Move old kernel file )
# mv /stand/dlkm /stand/dlkm.vmunix.prev
# mv /stand/build/system /stand/system
( Move new system file to /stand )
# kmupdate /stand/build/vmunix_test
( Moves new kernel into place )
# shutdown -ry 0


Let me know

Francis
logaraman
Regular Advisor

Re: HP OS Boot Problem

Hi,

As advised, the new kernle was build but after the restart the vmunix becomes 0 bytes and the server becomes unstable
FLQ
Valued Contributor

Re: HP OS Boot Problem

Hi,

I need to have some commands run after you boot the CDROM with the recovery shell.

1 - Execute "mount" before you mount any filesystem,

2 - What are the exact command you run to mount the VG00 filesystems.

3 - Execute "mount" after all VG00 filesystems are mounted.

4 - Execute "vgdisplay -v vg00" after you mounted all VG00 filesystems.

Was there any error/warning messages when you executed any commands in the kernel rebuild procedure?

Please post/attach all output from these command so I can grasp a bit better your setup.

Francis
logaraman
Regular Advisor

Re: HP OS Boot Problem

the new kernel was build and we had cleared some space on /stand and so the server was OK after restarting