Hi,
I'm trying to start a VM (with enabled EFI) under Windows host. Booting from vdi hard disk fails with the following error dialog:
Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND).
Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole { .... }
What's wrong with boot disk?
And here is the
VM log---
00:00:05.545063 Found EFI FW Volume, 540672 bytes (132 4096-byte blocks)
00:00:05.565241 EFI: Registered 528KB flash at 00000000ffc00000
00:00:05.570683 DMI: Using DmiSystemProduct from host: N501VW
00:00:05.575426 DMI: Using DmiSystemVersion from host: 1.0
00:00:05.575692 PcBios: [SMP] BIOS with 1 CPUs
00:00:05.575717 VMSetError: F:\tinderbox\win-6.1\src\VBox\Devices\PC\DevPcBios.cpp(1186) int __cdecl pcbiosBootFromCfg(struct PDMDEVINSR3 *,struct CFGMNODE *,const char *,enum DEVPCBIOSBOOT *); rc=VERR_CFGM_VALUE_NOT_FOUND
00:00:05.575900 VMSetError: Configuration error: Querying "BootDevice0" as a string failed
00:00:05.575913 PDM: Failed to construct 'pcbios'/0! VERR_CFGM_VALUE_NOT_FOUND (-2103) - Value not found.
00:00:06.428200 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND)}, preserve=false aResultDetail=-2103
00:00:06.429674 Console: Machine state changed to 'PoweredOff'
00:00:06.467765 Power up failed (vrc=VERR_CFGM_VALUE_NOT_FOUND, rc=E_FAIL (0X80004005))
Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND)
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND)
Please post the whole log:
Start the VM from full power off, not save-state. Run until you see the problem happen, then shut down the VM from within the VM OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.
Please right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip the log file, and post the zip file, using the forum's Upload Attachment tab.
Start the VM from full power off, not save-state. Run until you see the problem happen, then shut down the VM from within the VM OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.
Please right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip the log file, and post the zip file, using the forum's Upload Attachment tab.
Re: Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND)
here is the zipped log file
- Attachments
-
- TestVM-2021-10-20-08-30-39.zip
- zipped log file
- (7.42 KiB) Downloaded 89 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND)
Thanks for the log!
From the log:rena2019 wrote:I'm trying to start a VM (with enabled EFI)
From the Virtualbox manual:00:00:04.246238 Guest OS type: 'Windows7_64'
Looks like this VM is DOA.Windows 7 guests are unable to boot with the Oracle VM VirtualBox EFI implementation.
-
- Volunteer
- Posts: 5677
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND)
Let me guess: You've executed the following command in the past:
Since you've made this setting global (and not per VM), it is injected into all your VMs, and any VM configured to use the VirtualBox UEFI will abort with the error you've encountered. Use the following commands to remove the global setting and to add it only to the VMs you need it for:
Code: Select all
VBoxManage setextradata global "VBoxInternal/Devices/pcbios/0/Config/LanBootRom" "C:\Users\rena2019\.VirtualBox\TFTP\virtio-net.isarom"
Code: Select all
VBoxManage setextradata global "VBoxInternal/Devices/pcbios/0/Config/LanBootRom"
VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/LanBootRom" "C:\Users\rena2019\.VirtualBox\TFTP\virtio-net.isarom"
Re: Configuration error: Querying "BootDevice0" as a string failed (VERR_CFGM_VALUE_NOT_FOUND)
YESSSSSSSSSSSSSSSSSSSSSS! Thanks a lot!!!! VM is booting after executing VBoxManage setextradata global "VBoxInternal/Devices/pcbios/0/Config/LanBootRomfth0 wrote:Let me guess: You've executed the following command in the past:
Since you've made this setting global (and not per VM), it is injected into all your VMs, and any VM configured to use the VirtualBox UEFI will abort with the error you've encountered. Use the following commands to remove the global setting and to add it only to the VMs you need it for:Code: Select all
VBoxManage setextradata global "VBoxInternal/Devices/pcbios/0/Config/LanBootRom" "C:\Users\rena2019\.VirtualBox\TFTP\virtio-net.isarom"
Code: Select all
VBoxManage setextradata global "VBoxInternal/Devices/pcbios/0/Config/LanBootRom" VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/LanBootRom" "C:\Users\rena2019\.VirtualBox\TFTP\virtio-net.isarom"