HPE GreenLake Administration
Operating System - HP-UX
1833851
Members
2174
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 05:22 PM
10-19-2006 05:22 PM
IA Boot
I am compiling the procedure to change the vg00 PV device name for a IA server due to zoning. As I am not familiar with the IA boot sequence, here is the procedure I have done.
However, I am not too sure the EFI portion. How to boot from CD? How to choose the correct disk to boot? I also confused on the s2 stuff.
1. Boot up from HPUX OS CDROM. Go to Recovery Shell.
2. At recovery shell run ‘ioscan –funCdisk’ to identify boot disk
3. Run “lifls /dev/dsk/cXtXdX” to confirm.
4. reboot
5. Stop the boot process. Using the EFI boot manager, go to the EFI shell prompt.
Choose: “EFI Shell [Built-in]”
6. Find the file system mapping for the boot device path. Look for the corresponding device map for the boot device hardware path that looks similar to the following.
Shell> map
fs0 : Acpi(HWP0002,PNP0A03,404)/Pci(1|0)/Scsi(PunA,Lun0)/HD(Part1,Sig8786850E-A951-11DA-
8002-D6217B60E588)
7. Ensure the above file system is bootable (has HPUX.EFI)
Shell> ls fs0:\EFI\HPUX\HPUX.EFI
8. From the EFI shell boot to LVM maintenance mode
Shell> fs0:
where fs0 is the mapping index for the boot device
fs0:\> hpux
(C) Copyright 2004 Hewlett-Packard Development Company, L.P.All rights reserved
HP-UX Boot Loader for IPF -- Revision 2.027
Press Any Key to interrupt Autoboot
\efi\hpux\AUTO ==> boot vmunix
Seconds left till autoboot - 9
Type 'help' for help
HPUX>
9. Boot in LVM maintenance mode:
HPUX> boot -lm /stand/vmunix
10. Remove the old vg00 group information
# vgexport /dev/vg00
11. Import the vg00 using the files saved in the pre-migration step:
# mkdir /dev/vg00
# mknod /dev/vg00/group c 64 0x000000
# edit the /pvs.vg00 file to reflect the new device name
# vgimport –m /emc/mapfile.vg00 –f /emc/pvs.vg00 –s –v /dev/vg00 or vgimport –m /emc/mapfile.vg00 -s –v /dev/vg00 /dev/dsk/cxtxdx
# strings /etc/lvmtab
verify the PV path is correct for vg00 else perform the following to re-generate the /ec/lvmtab file.
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan –a –v
12. Activate the root volume group and update the LV
# vgchange –a y vg00
# vgdisplay –v vg00
# lvlnboot –b /dev/vg00/lvol1 # for /stand
# lvlnboot –r /dev/vg00/lvol3 # for root
# lvlnboot –d /dev/vg00/lvol2 # for swap/dump
# lvlnboot –s /dev/vg00/lvol2 # for swap
13. Verify the hardware path for the boot device matches the primary boot path.
# lvlnboot –v /dev/vg00
14. Update the LVM metadata with the new boot PV hardware paths:
# lvlnboot –R /dev/vg00
15. Update the primary and alternate boot paths
# setboot –p ‘pri path’
# setboot –a ‘alt path’
16. Display the boot paths and auto flags:
# setboot
17. Reboot the server.
# reboot
However, I am not too sure the EFI portion. How to boot from CD? How to choose the correct disk to boot? I also confused on the s2 stuff.
1. Boot up from HPUX OS CDROM. Go to Recovery Shell.
2. At recovery shell run ‘ioscan –funCdisk’ to identify boot disk
3. Run “lifls /dev/dsk/cXtXdX” to confirm.
4. reboot
5. Stop the boot process. Using the EFI boot manager, go to the EFI shell prompt.
Choose: “EFI Shell [Built-in]”
6. Find the file system mapping for the boot device path. Look for the corresponding device map for the boot device hardware path that looks similar to the following.
Shell> map
fs0 : Acpi(HWP0002,PNP0A03,404)/Pci(1|0)/Scsi(PunA,Lun0)/HD(Part1,Sig8786850E-A951-11DA-
8002-D6217B60E588)
7. Ensure the above file system is bootable (has HPUX.EFI)
Shell> ls fs0:\EFI\HPUX\HPUX.EFI
8. From the EFI shell boot to LVM maintenance mode
Shell> fs0:
where fs0 is the mapping index for the boot device
fs0:\> hpux
(C) Copyright 2004 Hewlett-Packard Development Company, L.P.All rights reserved
HP-UX Boot Loader for IPF -- Revision 2.027
Press Any Key to interrupt Autoboot
\efi\hpux\AUTO ==> boot vmunix
Seconds left till autoboot - 9
Type 'help' for help
HPUX>
9. Boot in LVM maintenance mode:
HPUX> boot -lm /stand/vmunix
10. Remove the old vg00 group information
# vgexport /dev/vg00
11. Import the vg00 using the files saved in the pre-migration step:
# mkdir /dev/vg00
# mknod /dev/vg00/group c 64 0x000000
# edit the /pvs.vg00 file to reflect the new device name
# vgimport –m /emc/mapfile.vg00 –f /emc/pvs.vg00 –s –v /dev/vg00 or vgimport –m /emc/mapfile.vg00 -s –v /dev/vg00 /dev/dsk/cxtxdx
# strings /etc/lvmtab
verify the PV path is correct for vg00 else perform the following to re-generate the /ec/lvmtab file.
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan –a –v
12. Activate the root volume group and update the LV
# vgchange –a y vg00
# vgdisplay –v vg00
# lvlnboot –b /dev/vg00/lvol1 # for /stand
# lvlnboot –r /dev/vg00/lvol3 # for root
# lvlnboot –d /dev/vg00/lvol2 # for swap/dump
# lvlnboot –s /dev/vg00/lvol2 # for swap
13. Verify the hardware path for the boot device matches the primary boot path.
# lvlnboot –v /dev/vg00
14. Update the LVM metadata with the new boot PV hardware paths:
# lvlnboot –R /dev/vg00
15. Update the primary and alternate boot paths
# setboot –p ‘pri path’
# setboot –a ‘alt path’
16. Display the boot paths and auto flags:
# setboot
17. Reboot the server.
# reboot
abc
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 05:26 PM
10-19-2006 05:26 PM
Re: IA Boot
Shalom,
Booting from the CD in EFI involves using a menu. How to automate this is problematic. I'm not sure you can.
SEP
Booting from the CD in EFI involves using a menu. How to automate this is problematic. I'm not sure you can.
SEP
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP