Mac OS X guest

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Locked
notbad
Posts: 78
Joined: 5. Jan 2010, 16:07
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Mac OS X

Re: Mac OS X guest

Post by notbad »

for iDeneb it is different, but iDeneb 10.5.5 is the most stable for me.
takwing
Posts: 72
Joined: 17. Jan 2010, 07:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10
Location: Hong Kong
Contact:

Re: Mac OS X guest

Post by takwing »

notbad wrote:for iDeneb it is different, but iDeneb 10.5.5 is the most stable for me.
Then how to install iDeneb 10.5.5 in VirtualBox 3.1.4??

I have tried iATKOS_v7 but still it fails...

For all the installation that I tried, the last line is "ATA Disk: Checksum Cokkie not valid"
Sometimes, it is "AppleUSBOHCI::CheckSleepCapability - OHCI Controller will be unloaded across sleep"... but I wonder if this is a false alarm (as I am using 2 processors in the vm settings.
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
notbad
Posts: 78
Joined: 5. Jan 2010, 16:07
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Mac OS X

Re: Mac OS X guest

Post by notbad »

takwing wrote: Then how to install iDeneb 10.5.5 in VirtualBox 3.1.4??

I have tried iATKOS_v7 but still it fails...

For all the installation that I tried, the last line is "ATA Disk: Checksum Cokkie not valid"
Sometimes, it is "AppleUSBOHCI::CheckSleepCapability - OHCI Controller will be unloaded across sleep"... but I wonder if this is a false alarm (as I am using 2 processors in the vm settings.
just try different options, at first try to install with default options, if something goes wrong, change settings in customization(kernel and others).
notbad
Posts: 78
Joined: 5. Jan 2010, 16:07
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Mac OS X

Re: Mac OS X guest

Post by notbad »

i've tried to install Snow Leopard Universal 10.6(432) GM v3.5, but after installation just get the apple logo and everything stops. -v gives me a black screen after "Starting Darwinx86".

when i reset the black screen i get a VB error and a log file:

Code: Select all

Log created: 2010-02-24T16:05:31.349088000Z
Executable: /usr/lib/virtualbox/VirtualBox
Arg[0]: /usr/lib/virtualbox/VirtualBox
Arg[1]: --comment
Arg[2]: Mac OSX 10.6
Arg[3]: --startvm
Arg[4]: 576cd91f-0b42-4997-80f8-b1bbb5a22aad
fatal error in recompiler cpu: Trying to execute code with memory type addr_code=00000000000af020 addend=00000000a3e4b000 at 00000000000afff6. (iHandlerMemType=0x38 iMMIOMemType=0x30)
as much as i understand its related with the cpu? i have core2duo e6600.
takwing
Posts: 72
Joined: 17. Jan 2010, 07:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10
Location: Hong Kong
Contact:

Re: Mac OS X guest

Post by takwing »

notbad wrote:
takwing wrote: Then how to install iDeneb 10.5.5 in VirtualBox 3.1.4??

I have tried iATKOS_v7 but still it fails...

For all the installation that I tried, the last line is "ATA Disk: Checksum Cokkie not valid"
Sometimes, it is "AppleUSBOHCI::CheckSleepCapability - OHCI Controller will be unloaded across sleep"... but I wonder if this is a false alarm (as I am using 2 processors in the vm settings.
just try different options, at first try to install with default options, if something goes wrong, change settings in customization(kernel and others).
you mean change the settings of virtualBox?
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
notbad
Posts: 78
Joined: 5. Jan 2010, 16:07
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Mac OS X

Re: Mac OS X guest

Post by notbad »

have u added this line to your mashines xml file?not to the virtualbox.xml but to the macosx.xml : <ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/>

it should look like this:

Code: Select all

<?xml version="1.0"?>
<VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.9-linux">
  <Machine uuid="{6ae71ef8-99a6-40ef-bb01-a75a015a7eb8}" name="Mac OSX 10.5.5" OSType="FreeBSD" snapshotFolder="Snapshots" lastStateChange="2010-02-25T03:42:02Z">
    <ExtraData>
      <ExtraDataItem name="CustomVideoMode1" value="1920x1080x32"/>
      <ExtraDataItem name="GUI/AutoresizeGuest" value="on"/>
      <ExtraDataItem name="GUI/Fullscreen" value="on"/>
      <ExtraDataItem name="GUI/LastCloseAction" value="powerOff"/>
      <ExtraDataItem name="GUI/LastWindowPostion" value="0,54,1920,1002,max"/>
      <ExtraDataItem name="GUI/MiniToolBarAlignment" value="bottom"/>
      <ExtraDataItem name="GUI/MiniToolBarAutoHide" value="on"/>
      <ExtraDataItem name="GUI/SaveMountedAtRuntime" value="yes"/>
      <ExtraDataItem name="GUI/Seamless" value="off"/>
      <ExtraDataItem name="GUI/ShowMiniToolBar" value="yes"/>
      <ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/>
    </ExtraData>
    <Hardware version="2">
      <CPU count="2">
        <HardwareVirtEx enabled="true" exclusive="true"/>
        <HardwareVirtExNestedPaging enabled="true"/>
        <HardwareVirtExVPID enabled="false"/>
        <PAE enabled="true"/>
      </CPU>
      <Memory RAMSize="982"/>
      <Boot>
        <Order position="1" device="HardDisk"/>
        <Order position="2" device="DVD"/>
        <Order position="3" device="None"/>
        <Order position="4" device="None"/>
      </Boot>
      <Display VRAMSize="128" monitorCount="1" accelerate3D="true" accelerate2DVideo="false"/>
      <RemoteDisplay enabled="false" port="3389" authType="Null" authTimeout="5000"/>
      <BIOS>
        <ACPI enabled="true"/>
        <IOAPIC enabled="true"/>
        <Logo fadeIn="true" fadeOut="true" displayTime="0"/>
        <BootMenu mode="MessageAndMenu"/>
        <TimeOffset value="0"/>
        <PXEDebug enabled="false"/>
      </BIOS>
      <USBController enabled="false" enabledEhci="true"/>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="0800279667F5" cable="true" speed="0" type="82540EM">
          <BridgedInterface name="wlan2"/>
        </Adapter>
        <Adapter slot="1" enabled="false" MACAddress="080027C97DE7" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="2" enabled="false" MACAddress="0800271A905F" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="3" enabled="false" MACAddress="080027D75920" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="4" enabled="false" MACAddress="080027EB5743" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="5" enabled="false" MACAddress="080027BB5827" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="6" enabled="false" MACAddress="0800275B75F6" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="7" enabled="false" MACAddress="080027DDEC30" cable="true" speed="0" type="82540EM"/>
      </Network>
      <UART>
        <Port slot="0" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
        <Port slot="1" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
      </UART>
      <LPT>
        <Port slot="0" enabled="false" IOBase="0x378" IRQ="4"/>
        <Port slot="1" enabled="false" IOBase="0x378" IRQ="4"/>
      </LPT>
      <AudioAdapter controller="AC97" driver="Pulse" enabled="true"/>
      <SharedFolders/>
      <Clipboard mode="Bidirectional"/>
      <Guest memoryBalloonSize="0" statisticsUpdateInterval="0"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1267067902001691000" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="IDE Controller" type="ICH6" PortCount="2">
        <AttachedDevice type="HardDisk" port="0" device="0">
          <Image uuid="{37eaa5ec-34b6-4333-a303-cd8d4d64e7d4}"/>
        </AttachedDevice>
        <AttachedDevice passthrough="true" type="DVD" port="1" device="0">
          <Image uuid="{a88c7748-c5fa-4d3c-b9e6-f383edf6fd91}"/>
        </AttachedDevice>
        <AttachedDevice type="HardDisk" port="0" device="1">
          <Image uuid="{5a3f3232-f16d-4ccb-83ea-21ce8043d3fd}"/>
        </AttachedDevice>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>
mangaii
Posts: 1
Joined: 25. Feb 2010, 13:41
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: XP,7,lunix

Re: Mac OS X guest

Post by mangaii »

hello !

I have the same problem (ata disk checsum).
I have tested with sata,scsi,ata ... always the equivalent result (sata checksum ...)

I have tested to midify the xml, but same result.

Another idee ?
thanks
takwing
Posts: 72
Joined: 17. Jan 2010, 07:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10
Location: Hong Kong
Contact:

Re: Mac OS X guest

Post by takwing »

I have added the line that you have mentioned after creating the machine and before booting up the VM (with the iso image file mounted to the vm's CD-drive).

What I have noticed is that when the installation failed, I power off the machine and that line had gone!

are you using virtual box 3.1.4 in installing Mac 10.5.5?


***** LATEST UPDATE *******
I simply copy-and-paste the ExtraData section from your post to my machine.xml.... the installation can be started!!!
Strange!!

notbad wrote:have u added this line to your mashines xml file?not to the virtualbox.xml but to the macosx.xml : <ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/>

it should look like this:

Code: Select all

<?xml version="1.0"?>
<VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.9-linux">
  <Machine uuid="{6ae71ef8-99a6-40ef-bb01-a75a015a7eb8}" name="Mac OSX 10.5.5" OSType="FreeBSD" snapshotFolder="Snapshots" lastStateChange="2010-02-25T03:42:02Z">
    <ExtraData>
      <ExtraDataItem name="CustomVideoMode1" value="1920x1080x32"/>
      <ExtraDataItem name="GUI/AutoresizeGuest" value="on"/>
      <ExtraDataItem name="GUI/Fullscreen" value="on"/>
      <ExtraDataItem name="GUI/LastCloseAction" value="powerOff"/>
      <ExtraDataItem name="GUI/LastWindowPostion" value="0,54,1920,1002,max"/>
      <ExtraDataItem name="GUI/MiniToolBarAlignment" value="bottom"/>
      <ExtraDataItem name="GUI/MiniToolBarAutoHide" value="on"/>
      <ExtraDataItem name="GUI/SaveMountedAtRuntime" value="yes"/>
      <ExtraDataItem name="GUI/Seamless" value="off"/>
      <ExtraDataItem name="GUI/ShowMiniToolBar" value="yes"/>
      <ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/>
    </ExtraData>
    <Hardware version="2">
      <CPU count="2">
        <HardwareVirtEx enabled="true" exclusive="true"/>
        <HardwareVirtExNestedPaging enabled="true"/>
        <HardwareVirtExVPID enabled="false"/>
        <PAE enabled="true"/>
      </CPU>
      <Memory RAMSize="982"/>
      <Boot>
        <Order position="1" device="HardDisk"/>
        <Order position="2" device="DVD"/>
        <Order position="3" device="None"/>
        <Order position="4" device="None"/>
      </Boot>
      <Display VRAMSize="128" monitorCount="1" accelerate3D="true" accelerate2DVideo="false"/>
      <RemoteDisplay enabled="false" port="3389" authType="Null" authTimeout="5000"/>
      <BIOS>
        <ACPI enabled="true"/>
        <IOAPIC enabled="true"/>
        <Logo fadeIn="true" fadeOut="true" displayTime="0"/>
        <BootMenu mode="MessageAndMenu"/>
        <TimeOffset value="0"/>
        <PXEDebug enabled="false"/>
      </BIOS>
      <USBController enabled="false" enabledEhci="true"/>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="0800279667F5" cable="true" speed="0" type="82540EM">
          <BridgedInterface name="wlan2"/>
        </Adapter>
        <Adapter slot="1" enabled="false" MACAddress="080027C97DE7" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="2" enabled="false" MACAddress="0800271A905F" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="3" enabled="false" MACAddress="080027D75920" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="4" enabled="false" MACAddress="080027EB5743" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="5" enabled="false" MACAddress="080027BB5827" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="6" enabled="false" MACAddress="0800275B75F6" cable="true" speed="0" type="82540EM"/>
        <Adapter slot="7" enabled="false" MACAddress="080027DDEC30" cable="true" speed="0" type="82540EM"/>
      </Network>
      <UART>
        <Port slot="0" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
        <Port slot="1" enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
      </UART>
      <LPT>
        <Port slot="0" enabled="false" IOBase="0x378" IRQ="4"/>
        <Port slot="1" enabled="false" IOBase="0x378" IRQ="4"/>
      </LPT>
      <AudioAdapter controller="AC97" driver="Pulse" enabled="true"/>
      <SharedFolders/>
      <Clipboard mode="Bidirectional"/>
      <Guest memoryBalloonSize="0" statisticsUpdateInterval="0"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1267067902001691000" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="IDE Controller" type="ICH6" PortCount="2">
        <AttachedDevice type="HardDisk" port="0" device="0">
          <Image uuid="{37eaa5ec-34b6-4333-a303-cd8d4d64e7d4}"/>
        </AttachedDevice>
        <AttachedDevice passthrough="true" type="DVD" port="1" device="0">
          <Image uuid="{a88c7748-c5fa-4d3c-b9e6-f383edf6fd91}"/>
        </AttachedDevice>
        <AttachedDevice type="HardDisk" port="0" device="1">
          <Image uuid="{5a3f3232-f16d-4ccb-83ea-21ce8043d3fd}"/>
        </AttachedDevice>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
takwing
Posts: 72
Joined: 17. Jan 2010, 07:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10
Location: Hong Kong
Contact:

Re: Mac OS X guest

Post by takwing »

I 'can' install MaxOSX now.

Unfortunately, after the installation process, the machine will reboot itself.
Upon rebooting it, I get a gray screen with the first error line as "Unsupported CPU: family = 0x6, model = 0x1e"@/SourecCache.AppleCPUPowerManagement-76/pmProcessor.c:199

From the error, it seems that it is related to the CPU model that I used.
I have using iCore 5. Can I use that for running MacOSX in virtualbox??
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
notbad
Posts: 78
Joined: 5. Jan 2010, 16:07
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Mac OS X

Re: Mac OS X guest

Post by notbad »

i think you can but maybe you need another distro with different kernel which supports i5 cpus.
notbad
Posts: 78
Joined: 5. Jan 2010, 16:07
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Mac OS X

Re: Mac OS X guest

Post by notbad »

I was playing some time with the RETAIL Snow Leopard DVD. Thats what i get with EFI enabled:
Image
The drivers stop loading and thats all what i get :D

This is when I try to boot with EmpireEFI bootloader:
Image
Always the same ACPI and DSDT errors. Pressing any keys does not give anything.

Also in both ways i get 100% CPU. The same thing happens after a hacked Snow Leo installation.

Does VirtualBox emulate SSSE3? bcs as far as i know Snow Leo needs SSSE3.
takwing
Posts: 72
Joined: 17. Jan 2010, 07:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10
Location: Hong Kong
Contact:

Re: Mac OS X guest

Post by takwing »

notbad wrote:i think you can but maybe you need another distro with different kernel which supports i5 cpus.
So, anybody know which distro can supports i5 cpus?

I have also seen a web page saying that that paritcular CPUPowerManagement can be removed...
can this service be disabled?

but I don't know how....

Can someone help?
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
notbad
Posts: 78
Joined: 5. Jan 2010, 16:07
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Mac OS X

Re: Mac OS X guest

Post by notbad »

Hooray!!! I have Snow Leo!!!

everything worked from first time. i did everything like in first post on insanelymac forum.

my spec:
C2D E6600
VirtualBox 3.1.2
Windows 7 host

tryed to attach the Snow HDD to Ubuntu Virtualbox, but got KP at the apple logo saying: local ACPI not as expected...

Some issues:
the mouse lags sometimes
adding the network related extradata lines causes virtualbox to crash, saying something about wrong flags.
the sound input/output is recognized but no sound at all.

here is the link: http://www.insanelymac.com/forum/index. ... pic=207334

would be great if someone provided a solution for LINUX hosts.
takwing
Posts: 72
Joined: 17. Jan 2010, 07:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, Leopard, Snow Leopard, , Win7, ubuntu 9.10
Location: Hong Kong
Contact:

Re: Mac OS X guest

Post by takwing »

finally, Leopard is running!!

What I am using - iATKOS_v7.iso,
and to solve the AppleIntelCPUPowerManagement problem, I find that I need to use the older voodoo kernel v9.5.

My next question is: "how to get network to work?"
come and visit my technical page:
http://www.takwing.idv.hk/tech/index.php
notbad
Posts: 78
Joined: 5. Jan 2010, 16:07
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Mac OS X

Re: Mac OS X guest

Post by notbad »

no network currently on leopard. but you can try suggestions in the insanelymac forum, but it didnt work for me.somehow in iDeneb 10.5.5 the network works.
Locked