Mac OS X guest

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Locked
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 just updated my SL to 10.6.1 via the software update.

Before I try updating it to 10.6.2, I would like to ask if, after upgrading to 10.6.1, my vm can run with 2 CPU as in Leopard?
Why there is such a problem in SL but not in Leopard? Because of the kernel?
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 »

notbad wrote:
takwing wrote: [update]
I have found that even without the -legacy option, SL can be started.
So, the trick is "1 CPU"....
anyway to solve it?
VB supports only 1 CPU in 64bit mode!!
Really, but why can I install Win7 64-bit by using 2 CPU under VB then?
And 2 CPU can also be used in Leopard ... (you mean Leopard is 32-bit?)
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 »

Well if I select 2 cpus in 64bit mode I get a notification that VB supports only 1 cpu in 64bit mode(maybe it's bcs my OS is 32bit)

If you update to 10.6.2 you will get a new kernel, many chances not to boot anymore(I would say there's no need to update to 10.6.2, you won't see the difference).

if you didn't select Leopard to be in 64bit mode then it's 32bit. the same is with SL.
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,

I will stick with 10.6.1 then....
For you case, if your OS is 32-bit, I really wonder if it would be possbile to virtualize a 64-bit OS under any virutalization software.

Once again, thx for your kindess and help!
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 »

it is unexpected!!

Sound works in my SL under VB!
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 »

is there a way to run SL in a resolution higher than 1024x768 in VB?

I have tried to add the line:
<ExtraDataItem name="CustomVideoMode1" value="1280x1024x32"/>
to the machine.xml. However, it does not work. SL still runs at 1024x768 and in the "display" settings of SL, only 1024x768 is shown.

Do I need to do something else?
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 »

Read previuos posts about resolution setting.
sl.ider
Posts: 6
Joined: 3. Mar 2010, 23:36
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: ubuntu

Re: Mac OS X guest

Post by sl.ider »

I tried it with a (precomplied) OSE virtualbox (from march 4), but it didn't work.
I have no errors regarding the ACPI any more, but it still doesn't load from the dvd's. I get an endless stream of messages (something about "Openprotocol")

I looked inside the OSE edition of virtualbox, and I think the VboxDD3 is missing (this is one of the files that got mentioning in BlackTrinitron's posts)
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 »

sl.ider wrote:I tried it with a (precomplied) OSE virtualbox (from march 4), but it didn't work.
I have no errors regarding the ACPI any more, but it still doesn't load from the dvd's. I get an endless stream of messages (something about "Openprotocol")

I looked inside the OSE edition of virtualbox, and I think the VboxDD3 is missing (this is one of the files that got mentioning in BlackTrinitron's posts)
Disable EFI in VirtualBox.
sl.ider
Posts: 6
Joined: 3. Mar 2010, 23:36
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: ubuntu

Re: Mac OS X guest

Post by sl.ider »

well wouldn't you know. it works !!
I have a virtual Mac OS 10.6 in Virtualbox on my Mac OS 10.5.8 !!

How it comes it works now, and not before I have no idea. Maybe I had a bad iso that i tried to use as dvd or it doesn't work trying to boot from the Leopard DVD.

My environment:
Mac OS X 10.5. with Virtualbox OSE (from 4 march) (it's a iMac 24" Core2Duo)
Virtual machine set to mac os x.
no EFI (I use the empireEfiv1085.iso to boot, from the menu I can choose my HD)
IO APIC enabled, 1024Mb memory,hardware clock on, pae/nx on, 1cpu, VT-x/AMD-V on, nested paging on
ide for the dvd drive, sata for the hdd

Now i'll try to get network working, and to have some kind of shared folders, and try to update to 10.6.2.

Thanks for all the tips....
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 »

if you have installed kexts from empire efi before the update, it won't boot after update.

you have to update first then to install the kexts.

p.s. why don't you upgrade your iMac to SL?
mphuff
Posts: 20
Joined: 13. Apr 2008, 12:29
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: XP, Windows 7, Ubuntu, OS X

Re: Mac OS X guest

Post by mphuff »

Following notbad's SL instructions, I was able to use VB OSE 3.1.51 to install 10.5.5 into a new VM. I have networking and I could get 1280x1024x32 resolution. I only used 32 megs of video ram -on Leopard what does the video ram affect? (IOW, what do I get for adding more video ram?).

No sound but I thought I saw something earlier in this thread addressing that? It's 2am as I write this so I won't be solving that now :wink: I just wanted to report my successful install.

Btw, I disabled EFI and just installed from the ideneb iso.

Edit #1: I chased my tail trying to figure out why a VM I made was crashing on start-up or randomly -it turned out I had the VM set to have 2 processors. Once I changed the setting to only have 1, it booted normally.
Last edited by mphuff on 13. Mar 2010, 19:05, edited 2 times in total.
fridaystreet
Posts: 3
Joined: 11. Mar 2010, 14:22
Primary OS: openSUSE
VBox Version: OSE self-compiled
Guest OSses: xp, centos5.3 64 bit, osx 10.5.6

Re: Mac OS X guest

Post by fridaystreet »

Hi All,

running a HP Pavillion dv9605ea
AMD Athlon x2 64 bit 3.6ghz
3GB RAM
opensuse 11.2 64bit
virtualbox 3.1.4
using iPC OSx86 10.5.6 Universal PPF5 (Final).iso (4.30 GB)


I've read through almost all of this post in the hope of finding a solution to running ox86 in VB. I was experiencing the ATA checksum issue which is how I stumbled upon this post. I had followed some of the what seemed almost too simple to be true guides to achieving this

eg:
http://www.insanelymac.com/forum/index. ... pic=207334

After initially getting some CPU kernel panics, I found myself switching off my AMD-V in the bios and running without the virtualisation setting. I then stumbled on the ATA issue and found that using a scsi controller instead of the default IDE worked. I then hit another issue and another. So I decided to go back to the start and try again. This is when I had a eureka moment.

Upon checking the machines xml file the additional line was not there. I had definitely added it to start with. I noticed from a different guide it says to close down vbox and edit the file. The original guide didn't mention this. Anyway this time I closed vbox added the line, opened vbox and check the file again, the line was still there.

I re-enabled my AMD-V set the virtualisation setting to on in VBOX, an voila! everything worked a treat.

Only things I had issues with were:

1. Trying to use 2 cpu's. I think this can be enabled but to boot must use the cpus=1 (currently testing i'll post back)
2. had to move my disk on to a scsi lsilogic controller
3. once the installer loaded I had to follow the step 'setting up your harddrive' in this vmware install guide http://wiki.osx86project.org/wiki/index ... are_how_to (yes i know it's vmware but it worked for vbox)
4. make sure you install the ps/2 keyboard fix

So far so good :-)

As I said I read through almost all of this post but didn't quite make it through the last 5 pages as I'd fixed my issue. So I apologise if this info has already been posted but thought someone may find it useful.

Thanks to everyone who posted here, although I worked it out myself in the end your comments helped me get there.

Kind Regards
Paul
duralumin
Posts: 3
Joined: 23. May 2009, 07:08
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: LINUX, WINDOWS

Re: Mac OS X guest

Post by duralumin »

Hi everyone,

I was able to install iPC OSX 10.5.6 (Leopard) on VB 3.1.4 with Win 7 x64 as Host. Here is my setup for VB :
Proc : 1 CPU (was able to run 2 CPU but take a lot of CPU resource on Host)
System : IO-APIC enabled, PAE enabled, VT enabled, Nested Paging enabled
Video : 3D acceleration enabled
Storage : ICH6 controller
Net : Bridged to Local, Intel PRO/1000 Desktop
added code :
<ExtraDataItem name="CustomVideoMode1" value="1440x900x32">
+<string>"Graphics Mode"="1440x900x32"</string> in com.apple.Boot.plist
<ExtraDataItem name="VirtualBoxInternal2/Devices/0/1000e/Trusted" value="1">
<ExtraDataItem name="VirtualBoxInternal2/SupportExtHwProfile" value="on">

everything is working except sound. network needs manual connect/disconnect cable and MAC address setup.
mouse a bit laggy (not all the time though)
Is it possible to do something as a 'Guest Addition' substitution for the OSX guest to improve?

Thanks in advance.
fridaystreet
Posts: 3
Joined: 11. Mar 2010, 14:22
Primary OS: openSUSE
VBox Version: OSE self-compiled
Guest OSses: xp, centos5.3 64 bit, osx 10.5.6

Re: Mac OS X guest

Post by fridaystreet »

Hi duralumin,

I've got pretty much the same vbox setup bar the storage controller. Same issue with the mac address thing, currently searching for a fix :-( VBox guest additions for osx would be perfect. I can live with the mouse but it does get a bit annoying having to keep releasing it.

Let me know if you get any further

Cheers
Locked