Operating System - HP-UX
1822513 Members
2405 Online
109642 Solutions
New Discussion юеВ

HPVM Guest install - boot from DVD

 
SOLVED
Go to solution
Seth Clarke
Frequent Advisor

HPVM Guest install - boot from DVD

I have an Integrity server running HPVM A.03.00
I've created a guest and want to install the HPUX but have problems with booting from the DVD media.

It auto boots and I get these error messages

.
.
.
krs_read_mfs: Error 5 opening MFS.
WARNING: GIO: read_ioconfig_file(): /stand/ioconfig read error.
ioconfig = NULL
.
.
.
read_efi_hdr: physio failed
read_efi_hdr: physio failed
NOTE: Boot device is: 0/0/2/0.2.0


And then nothing happens. I've tried several DVDs and have followed the documentation from http://docs.hp.com/en/T2767-90067/ch04s01.html

Any ideas?
14 REPLIES 14
Tim Nelson
Honored Contributor

Re: HPVM Guest install - boot from DVD

The only thing I can think of is to recheck your presentation to the VM Guest.

Maybe remove it and delete it.

Seth Clarke
Frequent Advisor

Re: HPVM Guest install - boot from DVD

Presentation of the DVD device? I did an add and remove a few times.

hpvmmodify -P vmserver -d dvd:scsi::disk:/dev/rdsk/c0t0d0

hpvmmodify -P dbqemft3 -a dvd:scsi::disk:/dev/rdsk/c0t0d0


I've seen in the documentation the following.

hpvmmodify -P dbqemft3 -a dvd:scsi::null:/dev

I'm not sure what it is, maybe a location where the ISO is located? If it is, I could try using dd to get an ISO image from the DVD media.
Sameer_Nirmal
Honored Contributor

Re: HPVM Guest install - boot from DVD

What does the command # hpvmstatus -P shows?
Seth Clarke
Frequent Advisor

Re: HPVM Guest install - boot from DVD

I attached the complete output. Below is the section of the storage details


[Storage Interface Details]
Guest Device type : disk
Guest Adaptor type : scsi
Ioscan format : 0/0/2/0.0.0
Bus : 0
Device : 2
Function : 0
Target : 0
Lun : 0
Physical Storage type : lv
Physical Device : /dev/osvg/rdbqemft3

Guest Device type : dvd
Guest Adaptor type : scsi
Ioscan format : 0/0/2/0.1.0
Bus : 0
Device : 2
Function : 0
Target : 1
Lun : 0
Physical Storage type : null
Physical Device : /dev

Guest Device type : dvd
Guest Adaptor type : scsi
Ioscan format : 0/0/2/0.2.0
Bus : 0
Device : 2
Function : 0
Target : 2
Lun : 0
Physical Storage type : disk
Physical Device : /dev/rdsk/c0t0d0
Sameer_Nirmal
Honored Contributor

Re: HPVM Guest install - boot from DVD

Try this

vMP> in

Then select "Removable Media Boot" option from the EFI Boot Maintenance Manager to boot and install OS from the DVD.
Sameer_Nirmal
Honored Contributor

Re: HPVM Guest install - boot from DVD

Ah! I missed the 2nd "dvd" entry. I guess you are just following the same device c0t0d0 as mentioned in the document?

Verify the actual physical device entry (location) of the DVD being used here using "ioscan" on the VM host.
If you look at the hpvmstatus output, there are entries for the DVD(s) picked from "ioscan" which should point to
c0t1d0 and c0t2d0. You should use the one of them to create the virtual device "dvd" using hpvmmodify depending on what physical DVD drive you are using for the guest.

And then the guest OS installation should work from the DVD.
Eric SAUBIGNAC
Honored Contributor

Re: HPVM Guest install - boot from DVD

Hi Seth,

Some precisions :

"I'm not sure what it is, maybe a location where the ISO is located?".

Yes. That is why you should not use /dev as an ISO repository. Better to have a dedicated filesystem where ISO DVD images are stored. For example : hpvmmodify -P dbqemft3 -a dvd:scsi::null:/iso_dvd.

You can create an iso image with dd and a 2 Ko block size. For example, at host level :

dd if=/dev/rdsk/c0t0d0 of=/iso_dvd/Install.iso bs=2k

Be aware that directory containing iso files and iso files themselves must not be writable.

As said Sameer you can insert ISO image in a virtuel directory DVD with IN command and eject an ISO image with EJ. You can do that at virtual console.

Anyway, installation of a guest with a physical DVD SHOULD work.

So, from host, what does return "diskinfo /dev/rdsk/c0t0d0" when installation DVD is in DVD reader ? With DVD still in place, what do you see with EFI "map" command when you start the guest, do you find somes "fsX:" ?

Eric
Seth Clarke
Frequent Advisor

Re: HPVM Guest install - boot from DVD

ioscan tells me that it is the DVD drive.
disk info returns

SCSI describe of /dev/rdsk/c0t0d0:
vendor: TEAC
product id: DV-28E-N
type: CD-ROM
size: 3998688 Kbytes
bytes per sector: 2048

I was able to mount the DVD on the host and read the contents, so I'm not sure why the guest can't get anywhere. Thanks for the ISO information, but I'd like to get the DVD to work.

map returns
Shell> map
Device mapping table
fs0 : Acpi(PNP0A03,0)/Pci(2|0)/Scsi(Pun2,Lun0)/CDROM(Entry0)
blk0 : Acpi(PNP0A03,0)/Pci(2|0)/Scsi(Pun0,Lun0)
blk1 : Acpi(PNP0A03,0)/Pci(2|0)/Scsi(Pun1,Lun0)
blk2 : Acpi(PNP0A03,0)/Pci(2|0)/Scsi(Pun2,Lun0)
blk3 : Acpi(PNP0A03,0)/Pci(2|0)/Scsi(Pun2,Lun0)/CDROM(Entry0)
blk4 : Acpi(PNP0A03,0)/Pci(2|0)/Scsi(Pun2,Lun0)/CDROM(Entry1)


I'm not sure what the fsX: is.
Eric SAUBIGNAC
Honored Contributor

Re: HPVM Guest install - boot from DVD

Seth,

"I'm not sure what the fsX: is".

It is a filesystem readable by EFI. "fs0 :" is one. It shows that the DVD you use has a valide filesystem on it.

So from EFI Shell, what happens if you type :

fs0:
install

You should start a "normal" installation of HP-UX though it is a virtual machine (more details on "normal" installation at http://docs.hp.com/en/5990-8144/ch05s03.html#chdcifji

Hope you will solve your problem soon, for me it's time to go to bed ;-)

Eric
Eric SAUBIGNAC
Honored Contributor

Re: HPVM Guest install - boot from DVD

Hi Seth,

I did a little test this morning with "HP-UX 11iv2 Foundation Operating Environment" DVD 1 of 2 (5013 - 6530).

The VM Host is an RX3600.

As you will see in the attached file everything went well.

So may be you have a physical problem, with DVD or DVD reader ? To check, can you try to boot the host with installation DVD and verify you can access the "Welcome Installation" screen ?

Regards

Eric
Eric SAUBIGNAC
Honored Contributor

Re: HPVM Guest install - boot from DVD

Hi Seth,

what news ? Finally, did you install the VM Guest with the DVD ?

Eric
Geoff Wild
Honored Contributor
Solution

Re: HPVM Guest install - boot from DVD

Instead of using a dvd, make ISO images - then present them:

Example:

Create ISO images of hpux install media if needed:


Disk 1:
dd if=/dev/rdsk/c0t0d0 of=/var/opt/hpvm/ISO-images/hpux/HPUX11iv3Sep07-OE-Ent-D1.iso bs=64k


Disk 2 (after removing disk 1 and mounting disk2):

dd if=/dev/rdsk/c0t0d0 of=/var/opt/hpvm/ISO-images/hpux/HPUX11iv3Sep07-OE-Ent-D2.iso bs=64k




Add User-specified directory of ISO images:


hpvmmodify -P vm0105 -F -a dvd:scsi::file:/var/opt/hpvm/ISO-images/hpux/HPUX11i-OE-Ent-D1.iso


Add local storage:

hpvmmodify -P vm0105 -F -a disk:scsi::lv:/dev/vgvm0105/rlvdisk1


Go to the console:

hpvmconsole -P vm0105 -fi

Go to "Boot option maintenance menu"

Do a "Cold Reset"



Let system boot - it should find the install media.

When it prompts for disk 2, on the vm host:

hpvmmodify -P vm0105 -m dvd:scsi:0,1,1:file:/var/opt/hpvm/ISO-images/hpux/HPUX11i-OE-Ent-D2.iso

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Seth Clarke
Frequent Advisor

Re: HPVM Guest install - boot from DVD

I tried to reboot the Host and boot to the DVD but it just hung up for 45 minutes and did nothing. I reset the system and its been trying to boot for over an hour. The Console logs don't show much. I'm thinking these problem are related but how do I now get the server to boot?
Seth Clarke
Frequent Advisor

Re: HPVM Guest install - boot from DVD

I rebooted the server (host) and it was able to see the DVD, I then added the DVD device to the guest and was able to boot to it.

Thanks for the ISO information, I'll make note of it in case I use it.