jude Posted April 23, 2015 Share Posted April 23, 2015 sure thing, sounds good. Quote Link to comment
archedraft Posted April 23, 2015 Share Posted April 23, 2015 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! Quote Link to comment
Tophicles Posted April 23, 2015 Share Posted April 23, 2015 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... Quote Link to comment
archedraft Posted April 23, 2015 Share Posted April 23, 2015 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? Quote Link to comment
archedraft Posted April 23, 2015 Share Posted April 23, 2015 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? Quote Link to comment
archedraft Posted April 23, 2015 Share Posted April 23, 2015 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. Quote Link to comment
Tophicles Posted April 23, 2015 Share Posted April 23, 2015 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! Quote Link to comment
jude Posted April 23, 2015 Share Posted April 23, 2015 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 Quote Link to comment
archedraft Posted April 23, 2015 Share Posted April 23, 2015 Would you show me your output of the following: virsh domxml-from-native qemu-argv /path/to/test_osx Quote Link to comment
archedraft Posted April 23, 2015 Share Posted April 23, 2015 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 Quote Link to comment
archedraft Posted April 23, 2015 Share Posted April 23, 2015 @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'/> Quote Link to comment
jude Posted April 23, 2015 Share Posted April 23, 2015 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 Quote Link to comment
jude Posted April 23, 2015 Share Posted April 23, 2015 @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 ! Quote Link to comment
archedraft Posted April 23, 2015 Share Posted April 23, 2015 @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! Quote Link to comment
jude Posted April 23, 2015 Share Posted April 23, 2015 How good are you? Many thanks Quote Link to comment
jude Posted April 23, 2015 Share Posted April 23, 2015 cursor doesn't really track properly and makes it tuff to click on the continue button. Quite funny Quote Link to comment
Tophicles Posted April 23, 2015 Share Posted April 23, 2015 I can confirm that the addition of <qemu:arg value='-cpu'/> <qemu:arg value='core2duo,vendor=GenuineIntel'/> Just before the </domain> works a treat! Quote Link to comment
Tophicles Posted April 23, 2015 Share Posted April 23, 2015 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. Quote Link to comment
jude Posted April 23, 2015 Share Posted April 23, 2015 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. Quote Link to comment
archedraft Posted April 23, 2015 Share Posted April 23, 2015 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 Quote Link to comment
jude Posted April 27, 2015 Share Posted April 27, 2015 Fantastic. Working really well. Thanks Quote Link to comment
archedraft Posted April 27, 2015 Share Posted April 27, 2015 Great to hear. Glad we figured out how to get the AMD cpu's working. Quote Link to comment
jude Posted April 29, 2015 Share Posted April 29, 2015 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 Quote Link to comment
jbrodriguez Posted April 29, 2015 Share Posted April 29, 2015 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 ! Quote Link to comment
archedraft Posted April 30, 2015 Share Posted April 30, 2015 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.