From 68411c3e6defaa253ac98b10dbf531d1afc35193 Mon Sep 17 00:00:00 2001 From: Chakib Benziane Date: Fri, 30 Nov 2018 15:28:22 +0100 Subject: [PATCH] custom --- boot-clover.sh | 9 +++++---- boot-macOS-HS.sh | 13 ++++++++----- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/boot-clover.sh b/boot-clover.sh index c0cf3e0..87a1f10 100755 --- a/boot-clover.sh +++ b/boot-clover.sh @@ -10,17 +10,18 @@ CPU_OPTS="+aes,+xsave,+avx,+xsaveopt,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe" -OVMF_VARS_PATH=/tmp/ovmf_osx_vars.bin +#OVMF_VARS_PATH=/tmp/ovmf_osx_vars.bin +#cp ./ovmf-local/ovmf_vars_x64.bin $OVMF_VARS_PATH -cp ./ovmf-local/ovmf_vars_x64.bin $OVMF_VARS_PATH +#git checkout OVMF_VARS-pure-efi.fd qemu-system-x86_64 -enable-kvm -m 8192 -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$CPU_OPTS\ -machine pc-q35-2.9 \ -smp 4,cores=2 \ -usb -device usb-kbd -device usb-tablet \ -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \ - -drive if=pflash,format=raw,readonly,file=ovmf-local/ovmf_code_x64.bin \ - -drive if=pflash,format=raw,file=$OVMF_VARS_PATH \ + -drive if=pflash,format=raw,readonly,file=./OVMF_CODE-pure-efi.fd \ + -drive if=pflash,format=raw,file=./OVMF_VARS-pure-efi.fd \ -smbios type=2 \ -device ich9-intel-hda -device hda-duplex \ -device ide-drive,bus=ide.2,drive=MacHDD \ diff --git a/boot-macOS-HS.sh b/boot-macOS-HS.sh index 3d146c1..011cb79 100755 --- a/boot-macOS-HS.sh +++ b/boot-macOS-HS.sh @@ -11,9 +11,9 @@ # NOTE: Comment out the "MY_OPTIONS" line in case you are having booting problems! ################################################################################## -MY_OPTIONS="+aes,+xsave,+avx,+xsaveopt,avx2,+smep" +CPU_OPTS="+aes,+xsave,+avx,+xsaveopt,avx2,+smep" -qemu-system-x86_64 -enable-kvm -m 3072 -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$MY_OPTIONS\ +qemu-system-x86_64 -enable-kvm -m 3072 -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$CPU_OPTS\ -machine pc-q35-2.9 \ -smp 4,cores=2 \ -usb -device usb-kbd -device usb-tablet \ @@ -23,10 +23,13 @@ qemu-system-x86_64 -enable-kvm -m 3072 -cpu Penryn,kvm=on,vendor=GenuineIntel,+i -smbios type=2 \ -device ich9-intel-hda -device hda-duplex \ -device ide-drive,bus=ide.2,drive=Clover \ - -drive id=Clover,if=none,snapshot=on,format=qcow2,file=./'Clover.qcow2' \ + -drive id=Clover,if=none,snapshot=on,format=qcow2,file=./HighSierra/Clover.qcow \ -device ide-drive,bus=ide.1,drive=MacHDD \ - -drive id=MacHDD,if=none,file=./mac_hdd.img,format=qcow2 \ + -drive id=MacHDD,if=none,file=/fastData/tmp/osx_hs.img,format=qcow2 \ -device ide-drive,bus=ide.0,drive=MacDVD \ - -drive id=MacDVD,if=none,snapshot=on,media=cdrom,file=./'HighSierra-10.13.3.iso' \ + -drive id=MacDVD,if=none,snapshot=on,media=cdrom,file=/fastData/tmp/HighSierra.iso \ -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \ -monitor stdio + + #-netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \ + #-net bridge,br=bridge0 -net nic,name=net0,macaddr=52:54:00:c9:18:27 \