Hi Laszlo,



I'm trying to PXE boot Windows 7 within OVMF. According the README under 
OvmfPkg, I should run the QEMU command with '-vga std' or '-vga qxl':

 Current capabilities:

...

* UEFI Linux boots

* UEFI Windows 8 boots

* UEFI Windows 7 & Windows 2008 Server boot (see important notes below!)

...
* One of the '-vga std' and '-vga qxl' QEMU options should be used.
* Only one video mode, 1024x768x32, is supported at OS runtime.
* The '-vga qxl' QEMU option is recommended. After booting the installed
  guest OS, select the video card in Device Manager, and upgrade its driver
  to the QXL XDDM one. Download location:
  <http://www.spice-space.org/download.html>, Guest | Windows binaries.
  This enables further resolutions at OS runtime, and provides S3
  (suspend/resume) capability.

But after PXE downloaded the install image and run into OS phase(So, it's not 
related to PXE), the QEMU screen is always black, never show anything (Both 
'-vga std' and '-vga qxl'). I also tried the PXE boot to windows 10, the 
bluescreen happened during OS phase (Even is not declared to boot win10 in 
README).

MyQEMU command is attached as below:
sudo qemu-system-x86_64 \
  -vga std \
  -machine q35 \
  -m 8192 \
  -hda /var/qemuDisk/vd1 \
  -pflash OVMF.fd \
  -global e1000.romfile=""\
  \
  -netdev tap,id=hostnet0,ifname=tap0,script=no,downscript=no \
  -device e1000,netdev=hostnet0

Notes: vd1 is created by: dd if=/dev/zero of=/var/qemuDisk/vd1 seek=1M bs=20480 
count=1

Do you know why?

Thanks and Best Regards!
Jiaxin


_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to