Operating System - HP-UX
1825803 Members
2700 Online
109687 Solutions
New Discussion

Problem Booting after mirror

 
SOLVED
Go to solution
CharliePuyol
Advisor

Problem Booting after mirror

I just aplied a boot mirror, after that when I reboot This appeared:

Boot
: disk(0/1/1/0.0.0.0.0.0.0;0)0/1/1/0.0.0/stand/vmunix
disk(0/1/1/0.0.0.0.0.0.0;0)/stand/0/1/1/0.0.0/stand/vmunix: cannot open, or not executable
Exec failed: No such file or directory


Primary boot path: 0/1/1/0.0
Alternate boot path: 0/3/1/1.8
Console path: 0/7/1/1.0
Keyboard path: 0/0/4/0.0




I put hpux and the OS started normally, how can I fix this?
5 REPLIES 5
Steven E. Protter
Exalted Contributor
Solution

Re: Problem Booting after mirror

Shalom,

Properly mirror your system:

pvcreate -B /dev/rdsk/c1t0d0 #use real disk

mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk


# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?

If you are running 64-bit OS:

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?


vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0

# real disk. repeat for other lvols

lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Eric SAUBIGNAC
Honored Contributor

Re: Problem Booting after mirror

Bonsoir,

I guess it is a PA-RISC system ?

I have no Pa-Risc to make a test but I think your boot string is bad :

disk(0/1/1/0.0.0.0.0.0.0;0)0/1/1/0.0.0/stand/vmunix

It should be something like :
disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix

So, you should boot again, stop boot at BCH, type BO to boot from primary path, then reply "y" to stop at ISL. Then issue command "HPUX" or "HPUX /stand/vmunix"

It should work. If yes, you will have to correct file AUTO in LIF.

Regards

Eric
CharliePuyol
Advisor

Re: Problem Booting after mirror

I miss this part mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
Thanks a lot!
CharliePuyol
Advisor

Re: Problem Booting after mirror

Thanks fellows good and quick work!
Eric SAUBIGNAC
Honored Contributor

Re: Problem Booting after mirror

Charlie, I think nothing is resolved with mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?
It is not something mandatory for building mirror boot ...
If you need more help, you can still re-open the thread. Regards

Eric