Qemu 在 Windows 上運行時無法加載 bios-256k.bin (Qemu can't load bios-256k.bin when running on Windows)


問題描述

Qemu 在 Windows 上運行時無法加載 bios‑256k.bin (Qemu can't load bios‑256k.bin when running on Windows)

我試圖在 Windows 操作系統上測試 qemu,當我嘗試使用以下命令啟動 ubuntu iso 時:

qemu‑system‑x86_64.exe ‑boot d ‑cdrom .\ ubuntu‑20.04.1‑desktop‑amd64.iso ‑m 2048

然後我得到以下錯誤:

qemu: could not load PC BIOS' bios‑256k.bin'

在Enviroment Varibles中設置了Qemu文件夾,並且bios‑256k.bin文件在文件夾中我該如何解決這個問題?


參考解法

方法 1:

Add an option for bios file directory entry with ‑L switch. Your command should look like this:

qemu‑system‑x86_64.exe ‑boot d ‑cdrom .\ubuntu‑20.04.1‑desktop‑amd64.iso ‑m 2048 ‑L "C:\Program Files\qemu"

Of course in case your default qemu installation is in C:\Program Files\qemu and bios files are inside that directory. For some reason, qemu has a bug that doesn't search bios files in defined path and look for them in current working directory.

Edit: I found a bug report that mentions this issue. It also seems to be fixed in newest version. Anyway, here is the link: https://bugs.launchpad.net/qemu/+bug/1915794

This is a known and documented problem with a simple workaround: "Known issue: currently requires start from installation directory or ‑L option to specify the location of the firmware files."

And it is already fixed in the newer installer.

(by EduMeloPolda18)

參考文件

  1. Qemu can't load bios‑256k.bin when running on Windows (CC BY‑SA 2.5/3.0/4.0)

#virtualization #virtual-machine #qemu #Windows






相關問題

需要一個好的 Internet Explorer 6、7、8 獨立版 (Need a good Internet Explorer 6, 7, 8 standalone)

英特爾虛擬化問題 (Android Studio) (Intel Virtualization Problems (Android Studio))

VirtualMachine 的第一條指令是如何獲取的(在 KVM-QEMU 中) (How is the first instruction of VirtualMachine is fetched (in KVM-QEMU))

如何使用 SharePoint、K2 和域控制器複製虛擬 PC (How to duplicate a virtual PC with SharePoint, K2 and domain controller)

WPF數據虛擬化ListView (WPF Data virtualizing ListView)

製作linux系統的“副本” (Make a "copy" of linux system)

在虛擬機中模擬 Windows 筆記本電腦? (Simulating windows laptop in virtual machine?)

為“假 Mac OS X”虛擬化構建 Windows XP 或 7 (Skeletoning Windows XP or 7 for "fake Mac OS X" virtualization)

在虛擬機中開發 Java 有什麼好處嗎? (Are there any benefits to developing Java in a virtual machine?)

Xen ABI 是真正的 ABI 嗎? (is the Xen ABI a true ABI?)

在使用 qemu kvm 安裝 VM 之前更改 VM 的磁盤大小 (Changing Disk Size of VM before VM installation using qemu kvm)

Qemu 在 Windows 上運行時無法加載 bios-256k.bin (Qemu can't load bios-256k.bin when running on Windows)







留言討論