13

Is it possible to have Mac OS X guest on a XEN host?

If yes, how?

There are difference for Mac OS X Server?

In particular I'm interested in the installation of a testing Mac OS X Server inside a XEN domU, being the host a Debian linux server in the case that this would matter.

Thanks in advance

3

3 Answers 3

1

Your license for MacOS X only allows it to be run on Apple hardware. Only MacOS X server allows for virtualisation. Both vmware and Parallels have products which support this.

It is possible to run MacOS non server in other virtualisation systems however it is not legal to do so. If you ran linux on the bare metal of a Apple peice of hardware you may be able to get Xen to run MacOS server legally.

6
  • 3
    As I specified I'm interested to actually virtualize Mac OS X Server, so I think I can do it legally ... the question is, now, how do the job with XEN ... is it possible?
    – drAlberT
    Aug 7, 2009 at 10:36
  • 1
    @AlberT - Virtualizing on non-Apple hardware is not permitted by the EULA of Mac OS X Server. The EULA of Mac OS X (Client) does not permit virtualization.
    – Chealion
    Aug 7, 2009 at 13:59
  • 8
    EULA restrictions on usage are not legally binding or enforceable in all jurisdictions.
    – cas
    Aug 8, 2009 at 0:36
  • 10
    You didn't answer the question. I'd like an answer. If you don't know, then zip it.
    – d-_-b
    Jul 6, 2010 at 16:13
  • Yeah, avoiding the question saying '...EULA...'. What if I run XEN on a mac mini, would this help you answer?
    – code ninja
    Sep 12, 2013 at 18:20
2

Theres no known efforts for xen. Primarily because most people who use xen are running it exclusively on linux/x86/amd hardware. BUT other OSS projects, namely 'qemu' and 'virtualbox' have been working at this. It's likely that many of the technical issues you would have to overcome are similar. See: http://forums.virtualbox.org/viewtopic.php?f=4&t=2076&sid=3f507d8a7d8194f37b6dd8a089c919f5

2
2
Useful links:

https://github.com/kholia/OSX-KVM

https://github.com/foxlet/macOS-Simple-KVM

https://github.com/munki/macadmin-scripts


Mojave:

#!/usr/bin/env bash
#===========================================================================
# Works only with the official image available in the Mac App Store.
# Make sure you download the official installer before running this script.
#===========================================================================

hdiutil create -o /tmp/Mojave.cdr -size 8000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Mojave.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia  --volume /Volumes/install_build --nointeraction
hdiutil detach "/Volumes/Install macOS Mojave"
hdiutil convert /tmp/Mojave.cdr.dmg -format UDTO -o /tmp/Mojave.iso
mv /tmp/Mojave.iso.cdr ~/Desktop/Mojave.iso
rm /tmp/Mojave.cdr.dmg


Catalina:

#!/usr/bin/env bash
#===========================================================================
# Works only with the official image available in the Mac App Store.
# Make sure you download the official installer before running this script.
#===========================================================================

hdiutil create -o /tmp/Catalina.cdr -size 8000m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia  --volume /Volumes/install_build --nointeraction
hdiutil detach "/Volumes/Install macOS Catalina"
hdiutil convert /tmp/Catalina.cdr.dmg -format UDTO -o /tmp/Catalina.iso
mv /tmp/Catalina.iso.cdr ~/Desktop/Catalina.iso
rm /tmp/Catalina.cdr.dmg

Download the Installer App to you /Applications folder on Mac. Once you have the ISO your halfway there!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .