HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration
# hpvmmodify -P win2 -d disk:scsi::file:/var/opt/hpvm/ISO-images/windows/unattend_xml.iso
This .iso file can be used on this VM Host or copied from this VM Host to another on
which the Windows guest is to be installed using any standard HP-UX techniques (for
example, FTP, scp, and so on).
NOTE: Do any copying in binary mode to preserve the exact contents of the file, which
will look like a formatted disk to the Windows guest. Although the xml file is all ASCII,
the formatting information of the file system on the disk has a great deal of binary
content.
2. Create a Windows guest. In the following example, the virtual machine name (guest name)
is win1:
# hpvmcreate -P win1 -O windows -c 1 -r 2G \
-a disk:scsi::disk:/dev/rdisk/disk0 \
-a disk:scsi::file:/var/opt/hpvm/ISO-images/windows/unattend_xml.iso \
-a dvd:scsi::disk:/dev/rdisk/disk2 \
-a network:lan::vswitch:switch1
3. Mount and present the Windows 2008 RTM DVD or .iso file to your guest.
4. Mount the unattend.iso file as a virtual disk or DVD and present it to your Integrity VM
guest.
5. Boot the Windows 2008 RTM DVD or .iso file.
a. # hpvmconsole -P win1 -fi -c "pc -on"
vMP MAIN MENU
CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection
[win1] vMP> pc -on
System will be powered on.
-> System is being powered on.
Please wait for the guest start sequence to complete. Use of the attention
character can prevent the guest from running.
(C) Copyright 2000 - 2008 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/682da886-06b2-11db-a3aa-00306e4a931c
/vmm_config.current):
Allocated 2147483648 bytes at 0x6000000100000000
allocating firmware RAM (ffaa0000-ffab5000, 84KB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/682da886-06b2-11db-a3aa-00306e4a931c
/vmm_config.current):
Allocated 86016 bytes at 0x6000000180000000
Loading boot image
Image initial IP=102000 GP=62A000
Initialize guest memory mapping tables
Starting event polling thread
Starting thread initialization
Daemonizing....
hpvmstart: Successful start initiation of guest 'win1'
-> Command successful.
[win1] vMP> CO
(Use Ctrl-B to return to vMP main menu.)
Loading device drivers
74 Creating Windows Guests