HP Integrity Virtual Machines 4.3: Installation, Configuration, Administration
2 Boot0002 Guest Device: Bus 0, Dev 1, Ftn 0, Tgt 2, Lun 0
3 Boot0000 EFI Shell [Built-in]
Move the second boot option to be the first boot option in the virtual machine named guest3:
# hpvmnvram -P guest3 -m 2:1
You should make a backup copy of this nvram file before proceeding with changes.
Continue? Enter Y or N:y
Boot EFI Boot
Order Variable Description
===== ======== ===================================================
1 Boot0002 Guest Device: Bus 0, Dev 1, Ftn 0, Tgt 2, Lun 0
2 Boot0001 Guest Device: Bus 0, Dev 1, Ftn 0, Tgt 0, Lun 0
3 Boot0000 EFI Shell [Built-in]
Delete the second boot option from the virtual machine named guest3:
# hpvmnvram -P guest3 -d 2
You should make a backup copy of this nvram file before proceeding with changes.
Continue? Enter Y or N:y
Boot EFI Boot
Order Variable Description
===== ======== ===================================================
1 Boot0002 Guest Device: Bus 0, Dev 1, Ftn 0, Tgt 2, Lun 0
2 Boot0000 EFI Shell [Built-in]
List all active variables for the virtual machine named guest3:
# hpvmnvram -P guest3 -L
Variable NV+RT+BS '61DFE48B-CA93-D211-AA0D00E098032B8C:Lang' DataSize = 3
0000 | 0x 65 6e 67
Variable NV+RT+BS '61DFE48B-CA93-D211-AA0D00E098032B8C:ConOut' DataSize = 4e
0000 | 0x 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00
0x10 | 0x 00 03 02 01 0c 00 d0 41 01 05 00 00 00 00 03 0e
0x20 | 0x 18 00 00 00 00 00 00 c2 01 00 00 00 00 00 08 01
0x30 | 0x 01 00 00 00 00 00 03 0a 14 00 65 60 a6 df 19 b4
0x40 | 0x d3 11 9a 2d 00 90 27 3f c1 4d 7f ff 04 00
Variable NV+RT+BS '61DFE48B-CA93-D211-AA0D00E098032B8C:ConIn' DataSize = 4e
0000 | 0x 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00
0x10 | 0x 00 03 02 01 0c 00 d0 41 01 05 00 00 00 00 03 0e
0x20 | 0x 18 00 00 00 00 00 00 c2 01 00 00 00 00 00 08 01
0x30 | 0x 01 00 00 00 00 00 03 0a 14 00 65 60 a6 df 19 b4
0x40 | 0x d3 11 9a 2d 00 90 27 3f c1 4d 7f ff 04 00
...
Get the variable BootOrder for EFI_GLOBAL_VARIABLE GUID
(61DFE48B-CA93-D211-AA0D00e098032b8c) in the NVRAM file, my_nvram, which is located
in the current directory:
# hpvmnvram -G 61DFE48B-CA93-D211-AA0D00e098032b8c:BootOrder -f my_nvram
Variable NV+RT+BS '61DFE48B-CA93-D211-AA0D00E098032B8C:BootOrder' DataSize = 4
0000 | 0x 02 00 00 00
Get the same BootOrder variable from the previous example without specifying the GUID:
# hpvmnvram -G BootOrder -f my_nvram
Variable NV+RT+BS '61DFE48B-CA93-D211-AA0D00E098032B8C:BootOrder' DataSize = 4
0000 | 0x 02 00 00 00
Get the variable Timeout for EFI_GLOBAL_VARIABLE GUID of the virtual machine named
guest3:
# hpvmnvram -G Timeout -P guest3
Variable NV+RT+BS '61DFE48B-CA93-D211-AA0D00E098032B8C:Timeout' DataSize = 2
0000 | 0x 0a 00
Update the same Timeout variable from the previous example with the new data content
contained in the binary file, time.0, which is located in the current directory. Use the-Q option
to suppress the reminder to back up the NVRAM file:
# hpvmnvram -S Timeout:time.0 -P guest3 -Q
Verify the new Timeout value from the previous example with the -G option:
317