mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-25 16:37:42 +01:00
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
This commit is contained in:
commit
2678b19eb7
24
Qemu/HowToUseQemuInWindows.txt
Normal file
24
Qemu/HowToUseQemuInWindows.txt
Normal file
@ -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
|
||||||
|
|
BIN
Qemu/OVMF.fd
Normal file
BIN
Qemu/OVMF.fd
Normal file
Binary file not shown.
2
Qemu/runqemu.bat
Normal file
2
Qemu/runqemu.bat
Normal file
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user