HP Integrity Virtual Machines Installation, Configuration, and Administration Version A.03.50

This procedure assumes the Linux installation directory tree has been created from the ISO
images on a network server. For more information, see Red Hat Enterprise Linux 4; Installation
Guide for x86, Itanium, AMD64, and Intel Extended Memory Technology 64 (Intel EM64T). Export
this directory tree using NFS or make sure it is otherwise accessible to the VM Host system (for
example, using FTP).
1. Create the boot disk by copying the boot.iso file from the Linux Installation Tree on the
server into /var/opt/hpvm/images/linux/boot.iso on the VM Host. For example,
on the VM Host, enter the following commands:
# cd /var/opt/hpvm/ISO-images/linux
# ftp yourserver.abc.com
ftp> cd /dist/pbfd/ftp/dist/redhat/release/rhel4/as/U4/ia64
ftp> cd images
ftp> get boot.iso
ftp> quit
In this procedure, this file backs a virtual DVD in the guest. The guest is booted from this
DVD and the installation program is loaded from it. The option askmethod is used on the
linux command to specify the location of the installation tree. The installation program
installs Linux into the guest from packages obtained over the network from the server.
2. Create the virtual machine with a boot disk and a virtual DVD backed by the boot.iso
file on the VM Host. The network device is also required. Specify the operating system type
as linux. For example:
# hpvmcreate -P linux3 -B manual -O LINUX -c 1 -r 2G \
-a disk:scsi::lv:/dev/vg00/rguest1 \
-a dvd:scsi::file:/ISO-images/Linux/boot.iso \
-a network:lan::vswitch:switch1
3. On the VM Host system, start the virtual machine:
# hpvmstart -P linux3
(C) Copyright 2000 - 2007
Hewlett-Packard Development Company, L.P.
Opening minor device and creating guest machine container
Creation of VM, minor device 1
Allocating guest memory: 2048MB
allocating low RAM (0-80000000, 2048MB)
/opt/hpvm/lbin/hpvmapp
(/var/opt/hpvm/uuids/eaccd6e4-b004-11db-bd1f-00306ef4693e/vmm_config.next):
Allocated 2147483648 bytes at 0x6000000100000000
allocating firmware RAM (ffaa0000-ffab5000, 84KB)
/opt/hpvm/lbin/hpvmapp
(/var/opt/hpvm/uuids/eaccd6e4-b004-11db-bd1f-00306ef4693e/vmm_config.next):
Allocated 86016 bytes at 0x6000000180000000
Loading boot image
Image initial IP=102000 GP=62E000
Initialize guest memory mapping tables
Starting event polling thread
Starting thread initialization
Daemonizing....
hpvmstart: Successful start initiation of guest 'linux2'
On the VM Host, use the hpvmconsole command to connect to the guest.
Alternatively, exit the EFI shell and select Boot from a file. Select the option Removable
Media Boot. Press Enter. The guest boots from the DVD device.
4. Boot the guest.
There are two ways to boot the guest:
From the EFI shell
From the File menu
To boot from the EFI shell:
a. Go to the EFI shell. For example:
74 Creating Linux Guests