Operating System - HP-UX
1848050 Members
4710 Online
104022 Solutions
New Discussion

Re: Boot from Root-mirror

 
dark-sun
Frequent Advisor

Boot from Root-mirror

Hello,
it's long ago since I boot from a HPUX root-mirror disk. I will write down a "How-To" (for me and new colleagues), but not shure about the correct steps.

- reboot (startup server)
- connect to Console
- break the boot sequenze within 10s (what is the screen message?) with Eascape (?)
- Now the PDC prompt appeares
- Type >search
On the result list search for the secondary boot disk (normally P1)
> boot sec (or: boot )

Then you will be asked for "Interactive with ISL":
Type "N(o)" when you are shure, the kernel is bootable and you will boot in multiuser-mode
"Y(es)" will start the ISL. You see a prompt "ISL":
ISL> hpux (will load the /stand/vmunix-Kernel)
ISL> hpux -is (boot into singeluser mode)
ISL> hpux -lq (deactivate the quorum restriction)
ISL> hpux -lm (maintenance mode, to modify vg00)
ISL> hpux /stand/vmunix.prev (if vmunix will not work)
-------------------------------

Are these steps correct and completly?
Did I forgett something or is something wrong (or bad) ?

Regards,
Markus
7 REPLIES 7
IT_2007
Honored Contributor

Re: Boot from Root-mirror

Break boot sequence with space bar or Enter key

It would be better if you know already what is boot and alternate boot paths. It may not be P1 or P2.
issue following command to look for boot devices.

Search ipl

and then look for correct hardware paths to boot from Alternate boot disk.

and remaining steps are good.
nanan
Trusted Contributor

Re: Boot from Root-mirror

Hi

you correct

you just need until boot sec
then automatically boot with sec device
If you configured correctlly before

Regards
nanan
DCE
Honored Contributor

Re: Boot from Root-mirror


To interupt the boot sequesnce - press any key.

if the alternate boot drive has been configured, you can issue the command

bo alt

at the PDC prompt to bott off of the alternate drive

Also , you can use the setboot command at HPUX command prompt (as root) to set or change the primary and alternate boot drives, as well as whether the system will autoboot.

Alzhy
Honored Contributor

Re: Boot from Root-mirror

First you will need to find out what is the hw path of your "Root-mirror".

Then, if "Root-mirror" is properly set up, you simply BO hw/hw/he/x.x.x and that is it.

how do you know you have a "properly" set up boot mirror?

vgdisplay -v vg00
lvlnboot -v
root# lifcp /dev/dsk/cxtydz:AUTO -
hpux -lq

Hakuna Matata.
Jaime Bolanos Rojas.
Honored Contributor

Re: Boot from Root-mirror

Mhpuxm,

This doc, should give you any detail that you might have missed, and more info for other different cases:

http://docs.hp.com/en/B2355-90950/ch05s01.html

Regards,

Jaime.
Work hard when the need comes out.
Peter Godron
Honored Contributor

Re: Boot from Root-mirror

Markus,
looks good.
The message should read:
"press any key within 10 seconds..."
No need for escape key
Sp4admin
Trusted Contributor

Re: Boot from Root-mirror

Hello,

Yes, break the boot sequence.
do a serch and pick alternate boot path. It should start will something like P1, P2 etc.

sp,