Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Ignite-UX Administration Guide: for HP-UX 11i > Chapter 6 Complex Networks: Multi-Capable Servers

Configuring an HP-UX Server to Support Linux Boot and Installation

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

By using HP-UX network services configuration files, an HP-UX server can be set up to support Linux network boot and installation if you place Linux boot and install content on the HP-UX server. You must acquire the boot and install content from a Linux distribution or Open Source website. Ignite-UX software does not include any Linux support. The information in this section describes use of HP-UX features not directly related to Ignite-UX.

It is not possible to provide all the details for setting up Linux installations here, due to differences between Linux releases. Documentation for network installation for the specific Linux releases being enabled must be consulted for the correct setup.

To enable network boot for Linux installation, proper boot content must be placed on the HP-UX server. The elilo boot loader may be obtained from a Linux distribution or the Open Source elilo website at http://sourceforge.net/projects/elilo/. The IA64 binary is needed for HP-UX Integrity systems.

Linux install kernels and install file system images must be obtained from the appropriate Linux distributions.

The message file hplinux.msg controls the appearance of the Linux boot menu. This file must be created with Linux tools.

The boot content may be placed anywhere on the HP-UX system, provided TFTP access is enabled. The location must be consistent with /etc/bootptab content. In this example, the Linux boot content is located in the same directory as the HP-UX Ignite boot content.

/opt/ignite/boot/LINUX/elilo-ia64.conf /opt/ignite/boot/LINUX/elilo-ia64.efi /opt/ignite/boot/LINUX/hpuxlinux.msg /opt/ignite/boot/LINUX/images/SLES9/initrd /opt/ignite/boot/LINUX/images/SLES9/Linux /opt/ignite/boot/LINUX/images/RHEL5UP1 /opt/ignite/boot/LINUX/images/RHEL5UP1/initrd-rhel5.1.img /opt/ignite/boot/LINUX/images/RHEL5UP1/vmlinuz-rhel5.1

The elilo-ia64.conf configuration file specifies the set of Linux installation menu options that are provided during network boot. In this example, SuSE 9 and RedHat 5 Update 1 are enabled:

chooser=textmenu message=hplinux.msg prompt image=images/SLES9/Linux label=SLES9 description="Install SLES9" initrd=images/SLES9/initrd append="install=nfs://10.1.1.11/ISOimages/SLES9" read-only image=images/RHEL5UP1/vmlinuz-rhel5.1 label=RHEL5UP1 description="Install RHEL5 Update 1" initrd=images/RHEL5UP1/initrd-rhel5.1.img read-only

The Linux distribution content must be made available via NFS or FTP. In this example, the same HP-UX server is used for both boot and installation. Alternatively, Linux install content may be located on another server.

SuSE Linux expects distribution install content to be unpacked as if the distribution media were mounted, and the media contents copied via the file system and made available for NFS or FTP access. RedHat expects ISO images to be available as if the distribution media were downloaded or copied to the server from media via dd(1) and then made available for NFS or FTP access. For example:

RedHat:

/ISOimages/RHEL5UP1 /ISOimages/RHEL5UP1/RHEL5.1-Server-20071017.0-ia64-disc1-ftp.iso /ISOimages/RHEL5UP1/RHEL5.1-Server-20071017.0-ia64-disc2-ftp.iso /ISOImages/RHEL5UP1/RHEL5.1-Server-20071017.0-ia64-disc3.ftp-iso /ISOImages/RHEL5UP1/RHEL5.1-Server-20071017.0-ia64-disc4.ftp-iso /ISOImages/RHEL5UP1/RHEL5.1-Server-20071017.0-ia64-disc5.ftp-iso /ISOImages/RHEL5UP1/RHEL5.1-Server-20071017.0-ia64-disc6.ftp-iso

SuSE:

/ISOimages/SLES9 /ISOimages/SLES9/ARCHIVES.gz /ISOimages/SLES9/autorun.inf /ISOimages/SLES9/boot /ISOimages/SLES9/boot/directory.yast /ISOimages/SLES9/boot/image /ISOimages/SLES9/boot/initdisk.gz /ISOimages/SLES9/boot/rescue /ISOimages/SLES9/boot/rescuefloppy /ISOimages/SLES9/boot/root /ISOimages/SLES9/boot/ChangeLog /ISOimages/SLES9/boot/content /ISOimages/SLES9/boot/control.xml . . .

The information presented here gives some general guidance on Linux installation set up. Specific Linux release information must be consulted for getting boot and install content, setting up content on an installation server, and required options in the EFI boot configuration file.

The /etc/bootptab content to enable Linux boot for installation might look like the following.

linuxsys2:\ ht:=ether:\ ha=001560045A4A:\ ip=10.1.1.221:\ hn:\ sm=255.255.255.0:\ gw=10.1.1.1:\ nt=10.1.1.11:\ ds=10.1.1.11:\ bf=/opt/ignite/boot/LINUX/elilo-ia64.efi:\ bp=10.1.1.11

Once all the content has been set up, the HP-UX server should have Linux boot and installation enabled.

Use EFI network boot to start the boot and installation process.

Installation options specified in the elilo-ia64.conf file will be displayed as formatted by the hplinux.msg file.

IMPORTANT: If the message file is missing or incorrect, the system might display a blank screen when elilo boots. If this happens, you should be able to use CTRL-c to exit the boot loader and return to the EFI boot menu.

Select the desired distribution for boot and installation.

/-------------------| Linux Install from an HP-UX Server |-------------------\
|                                                                            |
| This image enables Linux installation from an HP-UX system.  Select a      |
| menu option, enter kernel options at the prompt if desired, and press      |
| <return>.  USE AT YOUR OWN RISK!  ^C to go back to EFI; ESC does nothing.  |
|                                                                            |
|            /------------------------------------------------\              |
|            | Install SLES9                                  |              |
|            | Install RHEL5 Update 1                         |              |
|            |                                                |              |
|            |                                                |              |
|            |                                                |              |
|            |                                                |              |
|            |                                                |              |
|            |                                                |              |
|            \------------------------------------------------/              |
|                                                                            |
| Kernel Options:  ________________________________________________________  |
|                                                                            |
|    ^C now to go back to EFI; ESC does nothing. Once started, there's no    |
|    turning back (i.e. you have to reboot to get back to EFI).              |
\----------------------------------------------------------------------------/

RedHat Installation From an HP-UX Server

The RedHat installation process normally starts with language selection.

Welcome to Red Hat Enterprise Linux Server +---------+ Choose a Language +---------+ | | | What language would you like to use | | during the installation process? | | | | Catalan ^ | | Chinese (Simplified) : | | Chinese (Traditional) # | | Croation : | | Czech : | | Danish : | | Dutch : | | English v | | | | +----+ | | | OK | | | +----+ | | | +---------------------------------------+ <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen

Next, the source and method of transport must be selected. In this example, NFS network installation is used.

Welcome to Red Hat Enterprise Linux Server


                    +------+ Installation Method +------
                    |                                   |
                    | What type of media contains the   |
                    | packages to be installed?         |
                    |                                   |
                    |            Local CDROM            |
                    |            Hard drive             |
                    |            NFS image              |
                    |            FTP                    |
                    |            HTTP                   |
                    |                                   |
                    |     +----+          +------+      |
                    |     | OK |          | Back |      |
                    |     +----+          +------+      |
                    |                                   |
                    |                                   |
                    +-----------------------------------|

  <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen

Then you must specify the location of Linux install content.

Welcome to Red Hat Enterprise Linux Server +----------------------------+ NFS Setup +----------------------------+ | | | Please enter the following information: | | | | o the name or IP number of your NFS server | | o the directory on that server containing | | Red Hat Enterprise Linux Server for your architecture | | | | NFS server name: 10.1.1.11_______________ | | Red Hat Enterprise Linux Server directory: /ISOimages/RHEL5UP1_____ | | | | +----+ +------+ | | | OK | | Back | | | +----+ +------+ | | | | | +---------------------------------------------------------------------+ <Tab>/<Alt-Tab> / between elements | <Space> selects | <F12> next screen

RedHat installation continues presenting additional configuration screens specific to the distribution. Documentation regarding RedHat installation and configuration for client system set up should be consulted.

SuSE Installation From an HP-UX Server

The SuSE installation process normally starts with terminal selection.

What type of terminal do you have ? 1) VT100 2) VT102 3) VT220 4) X Terminal Emulator (xterm) 5) X Terminal Emulator (xterm-vt220) 6) X Terminal Emulator (xterm-sun) 7) screen session 8) Linux VGA or Framebuffer Console 9) Other Type the number of your choice and press Return:

The installation continues to present additional configuration screens specific to the distribution. In this case, the location of install content was specified in the elilo configuration file. Documentation regarding SuSE installation and configuration for client system set up should be consulted.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.