Hello to everyone,I've got the idea to virtualize mac os X High Sierra using the Windows Subsystem for Linux on top of Windows 10. So I have installed Ubuntu 18.04 and I have followed this tutorial :
https://github.com/kholia/OSX-KVM/tree/master/HighSierra
Since the default QEMU version on Ubuntu 18.04 is "QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.9)",I've got the latest source code of QEMU and I've compiled it,so I've used this version : "QEMU emulator version 3.1.50 (v3.1.0-332-gb72566a4ff-dirty)". I've also modified the file "boot-macOS-HS.sh" like this :
MY_OPTIONS="+aes,+xsave,+avx,+xsaveopt,avx2,+smep"
/home/marietto/qemu3/x86_64-softmmu/./qemu-system-x86_64 -m 3072 -cpu Penryn,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$MY_OPTIONS\
-machine pc-q35-2.9 \
-smp 4,cores=2 \
-usb -device usb-kbd -device usb-tablet \
-drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd \
-drive if=pflash,format=raw,file=OVMF_VARS-1024x768.fd \
-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' \
-device ide-drive,bus=ide.1,drive=MacHDD \
-drive id=MacHDD,if=none,file=/mnt/e/mac_hdd.img,format=qcow2 \
-device ide-drive,bus=ide.0,drive=MacDVD \
-drive id=MacDVD,if=none,snapshot=on,media=cdrom,file=/mnt/i/OS/Hackintosh/'HighSierra.iso' \
because KVM can't work inside the "Windows Subsystem for Linux" and also because these lines :
-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
produced this error :
qemu-system-x86_64: could not open /dev/net/tun: No such file or directory
so,to summarize I have removed the KVM and the NET features hoping that I was able to boot anyway Mac OS X,but it didn't work. This is the error that I've got :
Running QEMU with SDL 1.2 is deprecated, and will be removed in a future release. Please switch to SDL 2.0 instead
Could not initialize SDL(No available video device) - exiting
can u suggest some workaround for this error ? is there also a chance to run Mac OS X with the KVM and the NET inside the Windows SubSystem for Linux ? thanks.
[link] [comments]
Post a Comment