failed to load Boot0002
Running into issues trying to Setup Omnibox. When I run the .\manage_vm.ps1 create command, I get this error after some time
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
2025-02-17 13:23:18 BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
2025-02-17 13:23:18 BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
2025-02-17 13:23:42 ❯ Windows has started successfully. You can directly view the VM at http://localhost:8006/vnc.html?view_only=1&autoconnect=1&resize=scale. Wait until setup is complete before interacting manually.
Here is my system info
This is a warning that I have seen before, not causing error in my case. Did you get it to run?
Same issue here, after setting KVM=N
On Windows 10 Pro, I am getting:
2025-02-17 13:37:07 ❯ Starting OmniParser Windows for Docker v0.00...
2025-02-17 13:37:07 ❯ For support visit https://github.com/microsoft/OmniParser
2025-02-17 13:37:07 ❯ CPU: Intel Core TM i7 10700F | RAM: 14/16 GB | DISK: 61 GB (v9fs) | KERNEL: 5.15.167.4-microsoft-standard-WSL2...
2025-02-17 13:37:07
2025-02-17 13:37:07 ❯ Extracting local ISO image...
2025-02-17 13:38:13 ❯ Detecting version from ISO image...
2025-02-17 13:38:13 ❯ Detected: Windows 11 Enterprise (Evaluation)
2025-02-17 13:38:13 ❯ Adding drivers to image...
2025-02-17 13:38:15 ❯ Adding OEM folder to image...
2025-02-17 13:38:15 ❯ Adding win11x64-enterprise-eval.xml for automatic installation...
2025-02-17 13:38:16 ❯ Building Windows 11 image...
2025-02-17 13:39:47 ❯ Creating a 20G growable disk image in raw format...
2025-02-17 13:39:47 ❯ ERROR: KVM acceleration not available (device file missing), this will cause a major loss of performance.
2025-02-17 13:39:47 ❯ ERROR: See the FAQ on how to diagnose the cause, or continue without KVM by setting KVM=N (not recommended).
I tried it using the setting KVM=N, it does not give an error, but eventually when starting up the vm I am getting
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
2025-02-17 11:43:32 BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
2025-02-17 11:43:32 BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
2025-02-17 11:43:56 ❯ Windows has started successfully. You can directly view the VM at http://localhost:8006/vnc.html?view_only=1&autoconnect=1&resize=scale. Wait until setup is complete before interacting manually.
I left it for an hour, but it just didn't do anything even when monitoring the VM.
Same issue here, I have no idea how to troubleshoot it. Any suggestions?
It is assumed that KVM support is required for usage.
same issue
I'm the same, I thought it was because I'm on a Mac
+1
This issue occurs on machines with no KVM support - Dockur limitation. This is noted via this comment in the readme. If there are fixes please raise a PR
I'm on a Ubuntu 22.04 and run into the same issue. It seems a docker version issue to me. After I switch from docker desktop to docker.io, as well as some config changes, then all problem solved.
services:
windows:
image: windows-local
container_name: omni-windows
privileged: true
environment:
RAM_SIZE: "8G"
CPU_CORES: "4"
DISK_SIZE: "20G"
BOOT: "/custom.iso"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 8006:8006 # Web Viewer access
- 5000:5000 # Computer control server
volumes:
- ./vm/win11iso/custom.iso:/custom.iso
- ./vm/win11setup/firstboot:/oem
- ./vm/win11setup/setupscripts:/data
- ./vm/win11storage:/storage
command: ["/run/entry.sh"]
@weipeilun which commands did you use to switch?
Same issue here, after setting KVM=N
services: windows: image: windows-local container_name: omni-windows privileged: true environment: RAM_SIZE: "6G" CPU_CORES: "3" DISK_SIZE: "20G" KVM: "N" devices: - /dev/kvm - /dev/net/tun cap_add: - NET_ADMIN ports: - 8006:8006 # Web Viewer access - 5000:5000 # Computer control server volumes: - ./vm/win11iso/custom.iso:/custom.iso - ./vm/win11setup/firstboot:/oem - ./vm/win11setup/setupscripts:/data - ./vm/win11storage:/storage
+1
+1, after setting KVM=N, I got the same issue as @glienard . BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0) BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0) ❯ Windows has started successfully. You can directly view the VM at http://localhost:8006/vnc.html?view_only=1&autoconnect=1&resize=scale. Wait until setup is complete before interacting manually.
+1, after setting KVM=N, I got the same issue
我也遇到了这个问题
I found "COPY --from=qemux/qemu-docker:6.08 //" in Omnibox/Dockerfile So I get the following information from https://hub.docker.com/r/qemux/qemu-docker
Compatibility Product Platform Docker Engine | Linux | ✅ Docker Desktop | Linux | ❌ Docker Desktop | macOS | ❌ Docker Desktop | Windows 11 | ✅ Docker Desktop | Windows 10 | ❌
So, after i switch to the windows 11, it's success!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You can ignore "BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found" and KVM : "N", you just switch to windows 11 os!
Docker Desktop of Windows 10, Linux and macOS do not support qemu Docker now.
after i switch to the windows 11,i still got the same issue
❯ Extracting local ISO image... ❯ Detecting version from ISO image... ❯ Detected: Windows 11 Enterprise (Evaluation) ❯ Adding drivers to image... ❯ Adding OEM folder to image... ❯ Adding win11x64-enterprise-eval.xml for automatic installation... ❯ Building Windows 11 image... ❯ Creating a 20G growable disk image in raw format... ❯ Warning: unexpected clocksource: hyperv_clocksource_tsc_page ❯ Booting OmniParser Windows using QEMU v9.1.1... BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0) BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
win11 same issue +1
same issue here, I a m running on MAC.
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found 2025-03-05 11:59:40 omni-windows | BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0) 2025-03-05 11:59:41 omni-windows | BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0) 2025-03-05 12:00:04 omni-windows | ❯ Windows has started successfully. You can directly view the VM at http://localhost:8006/vnc.html?view_only=1&autoconnect=1&resize=scale. Wait until setup is complete before interacting manually.
Taking cues from different places
working setup on ubuntu ( till windows 11 installation getting visible in vnc)
did not use docker desktop, install docker.io sudo apt-get install docker.io
no change in the compose.yml file, except that I reduced the memory to 2GB, because I have a old system
installed kvm, using instructions here (only till step 5): https://phoenixnap.com/kb/ubuntu-install-kvm
restarted the docker daemon. sudo service docker restart
sudo manage_vm.sh create
The vnc should show activity and installation progress.
apparently this message was shown initially but the process moved ahead. BdsDxe: failed to load Boot0002
Is there any workaround solution for Mac User? I have the same issue
The qemux/qemu-docker:6.08 is missing at the docker hub website