missing vmunix on 11iv3 (328 Views)
Reply
Super Advisor
meekrob
Posts: 373
Registered: ‎02-24-2003
Message 1 of 9 (328 Views)

missing vmunix on 11iv3

[ Edited ]

Hi All,

 

i was just simulating on a test environment a corrupted vmunix by deleting /stand/vmunix on 11iv3 so how to recover it using the recovery dvd?

i tried to boot from ISL  with: hpux backup  or  hpux backup/vmunix   without success.

Any suggestion please?

 

Regards

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,200
Registered: ‎10-02-2001
Message 2 of 9 (321 Views)

Re: missing vmunix on 11iv3

PA-RISC or Integrity machine?

 

Any output message?


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! star in the left column!   
Please use plain text.
Super Advisor
meekrob
Posts: 373
Registered: ‎02-24-2003
Message 3 of 9 (316 Views)

Re: missing vmunix on 11iv3

it's PA RISC (rp4440)

 

im getting the following message:

 

Boot

:disk (0/1/1/0.1.0.0.0.0.0;0)/stand/vmunix

disk (0/1/1/0.1.0.0.0.0.0;0)/stand/vmunix: can not open, or not executable

Exec failed: no such file or directory

 

Rgds

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,200
Registered: ‎10-02-2001
Message 4 of 9 (311 Views)

Re: missing vmunix on 11iv3

use

hpux /stand/vmunix.prev

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! star in the left column!   
Please use plain text.
Super Advisor
meekrob
Posts: 373
Registered: ‎02-24-2003
Message 5 of 9 (307 Views)

Re: missing vmunix on 11iv3

Still getting same error message as before.

Is there a way to copy the vmunix directory from recovery media to /stand?

 

Rgds

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,200
Registered: ‎10-02-2001
Message 6 of 9 (305 Views)

Re: missing vmunix on 11iv3

[ Edited ]

Time to boot the recovery shell from DVD or test your ignite backup.

 

 

But try this first:

 

 

ISL> hpux ls

 

Should look like this:

 

ISL> hpux ls

Ls
: disk(0/0/2/0.2.0.0.0.0.0;0)/.
lost+found      ioconfig        bootconf        system          krs
system.d        build           vmunix          dlkm            kernrel
rootconf        krs_tmp         system.prev     dlkm.vmunix.prev
vmunix.prev     vpmon           krs_lkg         vpdb

 

I never used 11.31 on a RISC box, so I'm not sure if this works:

 

ISL> hpux ls /stand/backup


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! star in the left column!   
Please use plain text.
Super Advisor
meekrob
Posts: 373
Registered: ‎02-24-2003
Message 7 of 9 (286 Views)

Re: missing vmunix on 11iv3

when trying:

>hpux ls /stand/backup

im getting message:  no such file or directory

 

just to clarify that from the beginning the simulation beginned by:

cd /stand

rm vmunix*


then reboot.

As no available tape backup, i rebooted from recovery media

 

loadfile chroot
chroot /ROOT /sbin/sh

 

how to proceed after this step?

 

Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,200
Registered: ‎10-02-2001
Message 8 of 9 (284 Views)

Re: missing vmunix on 11iv3

[ Edited ]

So you deleted the backup kernel too:

rm vmunix*

Boot into the recovery shell and follow the advisories to make it bootable again.

 

 

Google found this: http://docstore.mik.ua/manuals/hp-ux/en/5992-5309/ch15s03.html

 


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! star in the left column!   
Please use plain text.
Super Advisor
meekrob
Posts: 373
Registered: ‎02-24-2003
Message 9 of 9 (273 Views)

Re: missing vmunix on 11iv3

when booting from the Core OS and recovery media i do not have the 'c' option mentioned in the link to only rebuild the kernel:

c. Replace the kernel on the root file system.

 

All what i get is the following output:

HP-UX Recovery MENU
Use this menu to select the level of recovery desired.
Select one of the following:

a.  Mount the root disk and exit to a shell only.

b.  Recover the bootlif/os partitions.

v.  Read information about LVM recovery (LVM.RECOVER).

 

m.  Return to 'HP-UX Recovery Media Main Menu'.

x.  Exit to the shell.

 

Rgds

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation