April 23, 201511 yr Alright so here is what I want you to do. ssh into unRAID and cd to where ever you keep your VM images. 1. type "nano test_osx" 2. Paste the following: Put in the OS X Key, Change the VNC IP, & Change the kernel and drive to match where ever you have them saved /usr/bin/qemu-system-x86_64 -enable-kvm -m 2048 -cpu core2duo,vendor=GenuineIntel \ -machine q35 \ -usb -device usb-kbd -device usb-mouse \ -device isa-applesmc,osk="PUT THE KEY HERE" \ -kernel /mnt/vmdisk/vm_images/extra/chameleon_svn2510_boot \ -smbios type=2 \ -device ide-drive,bus=ide.2,drive=MacHDD \ -drive id=MacHDD,if=none,file=/mnt/vmdisk-2/vm_images/Yosemite.img \ -vga std \ -vnc 192.168.1.50:5 \ 3. type "chmod +x test_osx" 4. type "./test_osx" 5. Go to your VNC program and type in the VNC address (the above example would be 192.168.1.50:5905) See if that boots into OS X and let me know!
April 23, 201511 yr It boots in a circle to the Chameleon loader. I should point out that this HDD image never got installed, so should I point to the installer file somewhere as well? YES! It works if I add the DVD lines like so: /usr/bin/qemu-system-x86_64 -enable-kvm -m 2048 -cpu core2duo,vendor=GenuineIntel \ -machine q35 \ -usb -device usb-kbd -device usb-mouse \ -device isa-applesmc,osk="PUT THE KEY HERE" \ -kernel /mnt/vmdisk/vm_images/extra/chameleon_svn2510_boot \ -smbios type=2 \ -device ide-drive,bus=ide.1,drive=MacDVD \ -drive id=MacDVD,if=none,file=/mnt/extra/vm_tools/Yosemite.iso \ -device ide-drive,bus=ide.2,drive=MacHDD \ -drive id=MacHDD,if=none,file=/mnt/extra/vms/Yosemite/Yosemite.qcow2 \ -vga std \ -vnc 0.0.0.0:5 \ It's installing OSX as I type this Now to be able to make it permanent...
April 23, 201511 yr It boots in a circle to the Chameleon loader. I should point out that this HDD image never got installed, so should I point to the installer file somewhere as well? Is this the farthest point that you have been with creating an OS X VM? or have you gotten further with the guide?
April 23, 201511 yr YES! It works if I add the DVD lines like so: OK, that's good news. Now the next step would be to figure out how that KVM script is handling the "geniuneintel" part and then convert it to XML. I know that with virsh you can do a "virsh dumpxml" command but the KVM script is not defined with virsh currently. Does anyone know of a way to convert the script to XML?
April 23, 201511 yr BTW, that script above is how @peter_sm and I first installed OS X (well how peter first installed OSX). It was a pain in the butt to work with when you are used to XML.
April 23, 201511 yr BTW, that script above is how @peter_sm and I first installed OS X (well how peter first installed OSX). It was a pain in the butt to work with when you are used to XML. I found it fine to follow (from a Linux cmdline perspective) I'm not sure how to get it into XML format either, but so far it's installing fine!
April 23, 201511 yr Not too sure how to work nano? I have the script made up like Tophicles and I can get into nano and enter the text but nothing seems to happen. Nice work on getting to install for Tophicles though
April 23, 201511 yr Would you show me your output of the following: virsh domxml-from-native qemu-argv /path/to/test_osx
April 23, 201511 yr Not too sure how to work nano? I have the script made up like Tophicles and I can get into nano and enter the text but nothing seems to happen. Nice work on getting to install for Tophicles though oh sorry, once you get the text entered, use "ctrl+x" to exit and save from nano
April 23, 201511 yr @jude, I have a theory! Will you enter this at the end of your OS X XML: <qemu:arg value='-cpu'/> <qemu:arg value='core2duo,vendor=GenuineIntel'/>
April 23, 201511 yr Not too sure how to work nano? I have the script made up like Tophicles and I can get into nano and enter the text but nothing seems to happen. Nice work on getting to install for Tophicles though oh sorry, once you get the text entered, use "ctrl+x" to exit and save from nano Entered text saved it in nano and exited and then did the following. What am I missing? root@Tower:/mnt/disk/vmdisk/Image Media# nano test_osx root@Tower:/mnt/disk/vmdisk/Image Media# chmod +x test_osx root@Tower:/mnt/disk/vmdisk/Image Media# ./test_osx ./test_osx: line 1: usr/bin/qemu-system-x86_64: No such file or directory
April 23, 201511 yr @jude, I have a theory! Will you enter this at the end of your OS X XML: <qemu:arg value='-cpu'/> <qemu:arg value='core2duo,vendor=GenuineIntel'/> I think you've got it. Installing !
April 23, 201511 yr @jude, I have a theory! Will you enter this at the end of your OS X XML: <qemu:arg value='-cpu'/> <qemu:arg value='core2duo,vendor=GenuineIntel'/> I think you've got it. Installing ! BOOM!
April 23, 201511 yr cursor doesn't really track properly and makes it tuff to click on the continue button. Quite funny
April 23, 201511 yr I can confirm that the addition of <qemu:arg value='-cpu'/> <qemu:arg value='core2duo,vendor=GenuineIntel'/> Just before the </domain> works a treat!
April 23, 201511 yr cursor doesn't really track properly and makes it tuff to click on the continue button. Quite funny This is expected behaviour - from the guide: (The mouse is going to be laggy until we get everything installed) Hint: Move the mouse faster to get the cursor to move farther.
April 23, 201511 yr cursor doesn't really track properly and makes it tuff to click on the continue button. Quite funny This is expected behaviour - from the guide: (The mouse is going to be laggy until we get everything installed) Hint: Move the mouse faster to get the cursor to move farther. yup, found the guide again and currently waiting for the install to finish so I can work through the rest including the mouse. This is great.
April 23, 201511 yr BTW I updated the guide and cleaned up the XML a bit. Changes: Added vcpupin Changed qcow2 disk to img Changed hard drive bus from ide to sata Changed memballoon to none
April 29, 201511 yr Absolutely awesome. You nailed it. Very cool to be able to run OSX10.10.3, a Win8.1 Gaming/HTPC, Dockers and unRaid on the same hardware simultaneously. Thanks again
April 29, 201511 yr archedraft/jude, Would you be able to to post a short video on youtube, showing how you use your setup ? To get an idea how you switch between os' and how responsive they appear on screen. Hopefully you can accommodate. Thanks in advance !
April 30, 201511 yr Currently I do not have the time but to give you an idea: I have an windows VM on one desk with dual monitors keyboard and mouse and on another desk I have my OS X vm that has its own monitor keyboard and mouse. Both are running at the same time. Two people can work on the computers at once. It like have two computers.
Archived
This topic is now archived and is closed to further replies.