Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.
Moderator: mike
-
jacksonp2008
- Posts: 17
- Joined: Sun Jul 22, 2018 10:22 pm
Post
by jacksonp2008 » Sun Sep 02, 2018 4:41 am
It appears you support, I followed your pointer to:
https://github.com/kholia/OSX-KVM to create the images.
This works perfectly on a Ubuntu 16 machine, qemu versions are the same as what you have on eve.
qemu-system-x86_64 -enable-kvm -m 3072 -cpu Penryn,kvm=off,vendor=GenuineIntel \
-machine pc-q35-2.4 \
-smp 4,cores=2 \
-usb -device usb-kbd -device usb-mouse \
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" \
-kernel ./enoch_rev2902_boot \
-smbios type=2 \
-device ich9-intel-hda -device hda-duplex \
-device ide-drive,bus=ide.2,drive=MacHDD \
-drive id=MacHDD,if=none,file=./mac_hdd1.img \
-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 \
-vnc 0.0.0.0:0 -k en-us \
# -redir tcp:5901::5900 \
# -netdev user,id=hub0port0 -device e1000-82545em,netdev=hub0port0,id=mac_vnet0 \
I copied the mac_hdd1.img to hda.qcow2 and enoch_rev2902_boot to kernel.img to addons/qemu/osx-sierra
When I add to the map it powers on, great hope! But then gets stuck on the apple boot screen. The progress bar gets to about 75% and just hangs.
Looking for ideas.
Thanks!
-
jacksonp2008
- Posts: 17
- Joined: Sun Jul 22, 2018 10:22 pm
Post
by jacksonp2008 » Wed Sep 05, 2018 11:09 pm
Any ideas?
Here is what your machine is doing:
root@eve1:/opt/unetlab/data/Logs# tail -f unl_wrapper.txt
Sep 05 16:07:41 INFO: CWD is /opt/unetlab/tmp/0/cc347bfb-63d3-4b48-8ac6-fa79a6c9bd6f/6
Sep 05 16:07:41 INFO: starting /opt/unetlab/wrappers/qemu_wrapper -C 60067 -T 0 -D 6 -t "Mac" -F /opt/qemu/bin/qemu-system-x86_64 -d 0 -x -- -device e1000-82545em,netdev=net0,mac=50:00:00:06:00:00 -netdev tap,id=net0,ifname=vunl1_0_6_0,script=no -smp 4 -m 3072 -name Mac -uuid b6bac189-d73b-4c1d-af6f-a57bfd667d19 -qmp unix:./qmp-sock,server,nowait -monitor unix:./mon-sock,server,nowait -vnc :54167 -hda hda.qcow2 -kernel /opt/unetlab/addons/qemu/osx-sierra/kernel.img --machine pc-q35-2.4,accel=kvm -cpu Penryn,vendor=GenuineIntel -smp 4,cores=2 -usb -device usb-kbd -usbdevice tablet -smbios type=2 -nodefaults -vga std > /opt/unetlab/tmp/0/cc347bfb-63d3-4b48-8ac6-fa79a6c9bd6f/6/wrapper.txt 2>&1 & echo $!
Sep 05 16:07:41 INFO: started process is25742
Which has some differences from the working qemu.
-
jacksonp2008
- Posts: 17
- Joined: Sun Jul 22, 2018 10:22 pm
Post
by jacksonp2008 » Wed Sep 05, 2018 11:37 pm
To get it to complete boot, add this at the boot prompt:
"KernelBooter_kexts"="Yes" "CsrActiveConfig"="103"
To get mouse to "kinda" work, as opposed to not at all, change your mouse to:
-usb -device usb-kbd -device usb-mouse
There is some hope that this will fix the mouse issues:
https://github.com/pmj/QemuUSBTablet-OSX