Good afternoon,
My computer has two hard drives, one booting into Opensuse 15.5, the other one into Microsoft Windows 11. Instead of booting the latter by resetting the computer, I’d like to boot it in Qemu 7.1.0 on Opensuse 15.5.
All other VM images, be it Linux or Microsoft Windows, boot fine in Qemu, but the physical hard drive is stuck at the boot screen.
According to How to boot a physical Windows partition with qemu? - Super User parameters such as
qemu-system-x86_64 --enable-kvm -cpu host -smp 8 -m 8192 -drive format=raw,file=/dev/nvme0n1
for a suitable drive path should work.
However, this then is stuck at the inital SEA bios prompt reading
SeaBl0S (version rel-1.16.0-0-94239552c-rebuilt.opensuse.org)
iPXE (http://ipxe org) 00:03.0 CAGO PCIZ.10 PnP PMM+BFF90090+BFEFO090 CHOO
Booting from Hard Disk…
Another post mentions the necessity of the right bios binary, among those supplied in /usr/share/qemu and recommends loading the VMF_CODE one by suitable -L
and --bios
parameters (instead of the defaul SEA bios).
With the choice of such a bios, a short message
BdsDxe: failed to load Boot0001 "UEFI QEMU DUD-ROM QM00003 ” from PciRoot (0x0) /Pci (0x1,0x1) /Ata (Secondary. Master ‚0x0) : Not Found
shows up before
it is stuck on the Windows Boot Manager screen reading
Windoze failed to start. A recent hardware or software change might be the
cause. To fix the problem:
- Insert your Windows installation disc and restart your computer.
- Choose your language settings, and then click “Next.”
- Click "Repair your computer.”
If you do not have this disc, contact your system administrator or computer
manufacturer for assistance.
File: \EFI\Microsoft\Boot\BCD
Status: 0xc000000f
Info: The Boot Configuration Data for your PC is missing or contains
errors.
However, the Windows hard drive boots fine resetting the computer and opting for it in the BCD boot menu.
Therefore, it seems that Qemu is not correctly set up.
Since I rather rely on how-tos on the internet to set up Qemu, I’d appreciate some hint how to hone the Qemu start up sequence of the physical Microsoft Windows hard disk.
Best wishes
Enno