Operating System - HP-UX
1836574 Members
2654 Online
110102 Solutions
New Discussion

canB4t boot --> vmunix not found

 
Cesar Gonzalez_1
Occasional Advisor

canB4t boot --> vmunix not found

Hi. My mirror failed lasta week so, HP techinician told me the way to remake mirror:


pvcreate -fB /dev/rdsk/c0t5d0
vgextend /dev/vg00 /dev/dsk/c0t5d0
mkboot /dev/rdsk/c0t5d0
## Crea un ejecutable en el dispositivo, lo hace bootable
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c0t5d0
## Copia programas de diagnostico
mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p PAD -p HPUX -p LABEL /dev/dsk/c0t5d0

## Ahora extiende los lvols

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c0t5d0
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c0t5d0


## le dice que esa particion es de boot
/usr/sbin/lvlnboot -b /dev/vg00/lvol1
## le dice que esa particion es de root
/usr/sbin/lvlnboot -r /dev/vg00/lvol3
## le dice que esa particion es de swap
/usr/sbin/lvlnboot -s /dev/vg00/lvol2
## le dice que esa particion es dump
/usr/sbin/lvlnboot -d /dev/vg00/lvol2
## recupera los links perdidos ???
/usr/sbin/lvlnboot -R /dev/vg00
## muestra estado de boot en VG
lvlnboot -v

##Para modificar pol??ticas de consistencia, necesitamos arrancar en modo
##mantenimiento. Para ello rebotamos, paramos la secuencia de arranque,
##decimos que queremos interactuar con ISL y en el prompt de ISL ...

# ISL> hpux -lm
# vgchange -a y vg00
# lvchange -M n /dev/vg00/lvol2
# lvchange -c n /dev/vg00/lvol2

##2. Comprobar la integridad del sistema, y BOTAR desde el mirror, para ver que el mirror funciona.

(don??t worry about spanish comments... ;-))

Now I can??t boot the machine, appears a panic that says:"NEED DRIVERS?????"

I don??t understand relaction between both events, but anyway I cna??t boot in -lm mode, not in -is mode, not in -lq mode...

I know there is data in system but I can??t see it!!!

In ISL appears next message:

ISL>hpux ll
Ls
: disk(8/16/5.6.0.0.0.0.0;;0)/.
cannot open directory


I can??t boot neither from other disk...

Any help!?!?! Server is in production





6 REPLIES 6
Peter Kloetgen
Esteemed Contributor

Re: canB4t boot --> vmunix not found

Hi,

try to let the computer boot up to the message:

"To disconotinue press any key within 10 seconds"

press a key, then enter search or sea in ISL
takes a while to search devices, then gives you a list of all devices which are bootable.

Look for your SCSI- target nr 5- disk, in front of the line you find as first column:

p0 or p1 and so on. Then enter boot p# or bo p#
where # is the number of desired bootpath.


Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
Bill McNAMARA_1
Honored Contributor

Re: canB4t boot --> vmunix not found

ISL>hpux ll
Ls
: disk(8/16/5.6.0.0.0.0.0;;0)/.
cannot open directory

!= t5d0

# man setboot

BCH> SERVICE > PA PRI
BCH> SERVICE >


Later,
Bill

It works for me (tm)
Peter Kloetgen
Esteemed Contributor

Re: canB4t boot --> vmunix not found

Hi,

it's like Bill described, your system tried to boot the SCSI- target 6, which is the default system disk in HP-UX, but you have to boot an alternative path, target 5!

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
Cesar Gonzalez_1
Occasional Advisor

Re: canB4t boot --> vmunix not found


I don??t agree on that, Peter. I can??t boot from any disk (no bo pri no bo alt), and I checked the SCSI address. Theres no anwser in any disk. Same response from t5d0.

Anyway in any case I didn??t change nothing on pri (t6d0).
In the mirror script I was replicating the information to the disk.

Thanks for your help.
Bill McNAMARA_1
Honored Contributor

Re: canB4t boot --> vmunix not found

try

BCH> sea ipl
(or isl)

ISL> hpux ll
to list all potentially bootable kernels. (*)

--

ISL> hpux /stand/vmunix.back
boot from vmunix.back

--

ISL> hpux -is -lm -lq
boot into last change maintenance mode before CD recovery.

--

You may have made a mistake on device files during mirror......

?

Later,
Bill
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: canB4t boot --> vmunix not found

I'd call HP on this one if your server is in production.


I'm sure you'll need to rescue from cdrom.

Later,
Bill
It works for me (tm)