public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* OVMF OS boot
@ 2017-07-07  3:40 Wu, Jiaxin
  2017-07-07 11:40 ` Laszlo Ersek
  0 siblings, 1 reply; 3+ messages in thread
From: Wu, Jiaxin @ 2017-07-07  3:40 UTC (permalink / raw)
  To: Laszlo Ersek; +Cc: edk2-devel-01



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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-11  3:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-07  3:40 OVMF OS boot Wu, Jiaxin
2017-07-07 11:40 ` Laszlo Ersek
2017-07-11  3:18   ` Wu, Jiaxin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox