Operating System - HP-UX
1832957 Members
2623 Online
110048 Solutions
New Discussion

Re: Booting from the alternate disk in Vpar

 
DA2072
Occasional Advisor

Booting from the alternate disk in Vpar

When trying to boot from the alternate internal drive in the 1st Vpar, I get:

Could not open file /stand/vmunix to check for a directory
Could not open /stand/vmunix
loading failed
Start of 0/0/0/3/0.6.0.0.0.0.0 failed: Unsupported

How to fix this?
9 REPLIES 9
Tim Nelson
Honored Contributor

Re: Booting from the alternate disk in Vpar

My initial thought is to redo your vpar OSs mirroring and or double check your work.

My assumption here is that you are trying to boot a vPar from its mirror and not a direct boot of the vpmon from BCH.

DA2072
Occasional Advisor

Re: Booting from the alternate disk in Vpar

Would I use the same procedure to mirror Disk for boot partition on Itanium? That's pretty much what I followed.
Tim Nelson
Honored Contributor

Re: Booting from the alternate disk in Vpar

Yes but...

The boot records change a little.

The boot records set using mkboot would tell the initial boot from BCH to boot the disk using /stand/vpmon.

The boot process inside the vpar get set with the vparmodify boot path, alt path or etc. You can use the gui vparmgr to modify as well. With this you can specify a reboot of vpar1 to use its ALT/mirror path using the vparboot command.

Check out page 169 of the below http://docs.hp.com/en/T1335-90073/T1335-90073.pdf

Torsten.
Acclaimed Contributor

Re: Booting from the alternate disk in Vpar

Check with vparstatus -v.

You should see something like this

Kernel Path: /stand/vmunix
...
5.0.8.1.0.4.0.17.4.0.0.1.6,ALTBOOT


Without the "ALTBOOT" the vPar won't boot.

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!   
Tim Nelson
Honored Contributor

Re: Booting from the alternate disk in Vpar

Thanks for the add-on Torsten, I have since graduated from vPars to IVM and I have no place to create vPar examples.

Torsten.
Acclaimed Contributor

Re: Booting from the alternate disk in Vpar

You are welcome.

If the entry is missing, add it with

vparmodify -p vparname -a 0/0/0/3/0.6.0.0.0.0.0:ALTBOOT


Depending on your version replace "/" with "."

Then boot from the alternate path

winona2# vparboot -p winona2 -B alt

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!   
DA2072
Occasional Advisor

Re: Booting from the alternate disk in Vpar

What about this?
efi_cp -d /dev/rdsk/c0t6d0s1 -u /efi/hpux/auto /tmp/auto.pri
efi_cp -d /dev/rdsk/c2t6d0s1 -u /efi/hpux/auto /tmp/auto.alt

cat /tmp/auto.pri shows boot vpmon -a
cat /tmp/auto.alt shows boot vmunix -lq

Is this okay?
DA2072
Occasional Advisor

Re: Booting from the alternate disk in Vpar

I redid the mirroring and now its all good.

Thanks!!
Torsten.
Acclaimed Contributor

Re: Booting from the alternate disk in Vpar

cat /tmp/auto.alt shows boot vmunix -lq

This is the setting stored in EFI area and is relevant for booting the vpmon - should be vpmon for this reason, not vmunix!

Please read also
http://forums1.itrc.hp.com/service/forums/helptips.do?#33


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!