diff --git a/Qemu/HowToUseQemuInWindows.txt b/Qemu/HowToUseQemuInWindows.txt new file mode 100644 index 000000000..64542b3b2 --- /dev/null +++ b/Qemu/HowToUseQemuInWindows.txt @@ -0,0 +1,24 @@ +Using QEMU under Windows + +1. Dowload and install QEMU +2. Create QEMU folder in your favorite place and copy files here: +OVMF.fd or bios.bin or other bios files +vgabios-stdvga.bin or other VGA bios +3. cd here +4. Create an image in vhdx format +"C:\Program Files\qemu\qemu-img.exe" create -f vhdx test.vhdx 200M +5. Clean sparse flag +fsutil sparse setflag test.vhdx 0 +6. Try to mount it. It will be registered in system. Then you can open disk management and format the drive into FAT32. For example name TESTCLOVER. +7. Double click to open it. +8. Copy folder +.. \Clover\CloverPackage\CloverV2\EFI to the volume +9. Copy themes to EFI\CLOVER\themes\ folder +10. Create fake files like +EFI\Ubuntu\grubx64.efi +EFI\RedHat\grubx64.efi +and so on +11. Eject volume TESTCLOVER. +12. Run QEMU by the script +runqemu.bat + \ No newline at end of file diff --git a/Qemu/OVMF.fd b/Qemu/OVMF.fd new file mode 100644 index 000000000..f75b9d6d2 Binary files /dev/null and b/Qemu/OVMF.fd differ diff --git a/Qemu/runqemu.bat b/Qemu/runqemu.bat new file mode 100644 index 000000000..bf8c71010 --- /dev/null +++ b/Qemu/runqemu.bat @@ -0,0 +1,2 @@ +"C:\Program Files\qemu\qemu-system-x86_64.exe" -L . -m 2048 -cpu Penryn -bios OVMF.fd -vga cirrus -device ahci,id=ahc -drive format=vhdx,id=hda,file=test1.vhdx -drive format=vhdx,id=hdb,file=freedos.vhdx -usb -device usb-mouse,bus=usb-bus.0,port=2 -device usb-kbd,bus=usb-bus.0,port=1 +