Operating System - HP-UX
1825768 Members
3164 Online
109687 Solutions
New Discussion

How to boot HP-UX on Itanium to lvm maintenance mode

 
ViS_2
Frequent Advisor

How to boot HP-UX on Itanium to lvm maintenance mode

I use

boot vmunix -lm

from HPUX prompt but it seems to me that it does not work.
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: How to boot HP-UX on Itanium to lvm maintenance mode

Hi Victor,

Check this doc.

Title: Booting IA64 systems manually
Document ID: IA64UXKBRC00014416

US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079994917

Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079994917

Regards,
Robert-Jan
Cem Tugrul
Esteemed Contributor

Re: How to boot HP-UX on Itanium to lvm maintenance mode

Actually, the procedure is a bit different from PA systems. Essentially, instead of
'hpux -is /stand/vmunix' you type
'boot vmunix -is' to get to single user mode.
Screen log below...

After rebooting, interrupt
the boot sequence:


Please select a boot option

HP-UX Primary Boot: 0/1/1/0.1.0
EFI Shell [Built-in]
Boot option maintenance menu
Security/Password Menu


Use ^ and v to change option(s). Use Enter to select an option
Loading.: HP-UX Primary Boot: 0/1/1/0.1.0
Starting: HP-UX Primary Boot: 0/1/1/0.1.0

(c) Copyright 1990-2002, Hewlett Packard Company.
All rights reserved

HP-UX Boot Loader for IA64 Revision 1.72

Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix
Seconds left till autoboot - 9
Type 'help' for help



HPUX> boot vmunix -is
^^^^^^^^^^^^^^^


INIT: Overriding default level with level 's'

INIT: SINGLE USER MODE

INIT: Running /sbin/sh
#
Our greatest duty in this life is to help others. And please, if you can't
Sivakumar TS
Honored Contributor

Re: How to boot HP-UX on Itanium to lvm maintenance mode

Dear Victor,

In the EFI Shell,

fs2:\> hpux -is

You can either choose to interrupt the boot process at this point or just let it go. I will recommend that you interrupt it at this point otherwise it might go to default mode as noted in AUTO file.

If you interrupt it then it will go to the bootloader prompt

HPUX>

At this prompt, type

boot vmunix -is

hth,

Siva.

Nothing is Impossible !
ViS_2
Frequent Advisor

Re: How to boot HP-UX on Itanium to lvm maintenance mode

I don't want to boot in the single user mode.
I do want to boot in the lvm maintenance mode.

The issue appear with rx8620 when the root disk is plugged in the different slot than it was at the time of installation the OS.
The system panics and can not mount the root.

In case of the PA system I could insert the root disk in any disk slot, boot to the lvm maintenance mode ( ISL> hpux -lm boot disc(;0)/vmunix ), and reconfigure the root volume group.
How cat I perform the similar tasks on IPF system?
Adisuria Wangsadinata_1
Honored Contributor

Re: How to boot HP-UX on Itanium to lvm maintenance mode

Hi Victor,

Based on the url (docID : IA64KBRC00017398)below :

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000081507225

The solution for LVM maintenance mode:

HPUX> boot vmunix -lm

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Sivakumar TS
Honored Contributor

Re: How to boot HP-UX on Itanium to lvm maintenance mode

Dear Victor,

Sorry, It was mistake in my last reply !

In Itanium servers after you change the DISK locations, you can boot the server and get the Shell> prompt.

1. execute the "map" command to get the list of "fs" devices.

2. From the list of devices ( like fs0:,fs1) select the appropriate disk ( pun# is equal to SCSI ID) and execute fs1 (assuming fs1: is the valid EFI partition)

3.Traverse thru the direcotries to get

fs1:/EFI/HPUX/

here you will find the HPUX.EFI file.

you please execute the HPUX and intereupt the boot process to get the HPUX> prompt.

4. Execute the following to boot the server in LVM main mode.

HPUX> boot vmunix -lm

I have verified and this works.

After booting the / will be mounted on /dev/root and NO volume groups will be activated ( including VG00).

You can do the LVM activites here.

NOTE: Please dont switch to multiuser mode directly after booting into LVM maint mode, ALWAYS DO REBOOT.

With Regards,

Siva.
Nothing is Impossible !