Jump to content

Windows + VirtualBox = MAC OS


886 posts in this topic

Recommended Posts

Requirements:

CPU-Intel Core2 Duo

VirtualBox 3.1.2 PE, 3.1.4 PE

WindowsXP

Setup of Leopard:

1. Create HDD image(10G min)

2. Create virtual machine:

  • -System FreeBSD
  • -'IO APIC' - enabled
  • -Acceleration - enabled
  • -type of IDE controller - ICH6
  • -close VirtualBox
  • -open configuration file of machine(xml)
  • -add string to the section <ExtraData>:

<ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/>

3. Attach iso with installation of Leopard to the virtual machine(I had iDeneb_v1.3_10.5.5.iso)

4. Setup Leo

 

You can enjoy Leopard, but we will go further and setup the Snow Leo:

 

1. Apply patch to VirtualBox: replace files in the VirtualBox folder:

2. Create HDD image for Snow(10G min)

3. Attach Snow hdd image to the Leo virtual machine

4. Attach iso with dmg package of Snow Leopard to the Leo virtual machine(I had snowleopard_10a432_userdvd.dmg)

5. Attach iso image with utilities to the Leo virtual machine

6. Launch Leo

7. Launch disk utility

8. Fomat Snow hdd, give the name of the partition: Snow

9. Connect the .dmg with installation

10. Go to System/Installation/Packages and run OSInstall.mpkg (if you can't see it in the Finder, then try to launch unHideIT from iso image with utilities)

11. Select Snow HDD to install. Remove unneeded packages (printers, languages).

12. Installing...

13. Install Chameleon-2.0-RC2-r640 from the iso with utilities to the Snow hdd.

 

All further operations are applied to the drive where you installed Leopard (/Volumes/Snow)

 

14. Remove all from Extra/Extensions

15. Copy from utils-ISO: /Mac/Extra/Extensions to Extra/Extensions

16. Copy from utils-ISO: /Mac/System/Library/Extensions to System/Library/Extensions

17. Go to the System/Library/Extensions and delete: AppleIntelCPUPowerManagement.kext

18. Launch terminal:

su

cd /Volumes/Snow/System/Library

chown -R root:wheel Extensions/

cd /Volumes/Snow/Extra

chown -R root:wheel Extensions/

kextcache -a x86_64 -K /Volumes/Snow/mach_kernel -m /Volumes/Snow/System/Library/Extensions.mkext /Volumes/Snow/System/Library/Extensions

kextcache -a x86_64 -K /Volumes/Snow/mach_kernel -m /Volumes/Snow/Extra/Extensions.mkext /Volumes/Snow/Extra/Extensions

19. Turn of Leopard

 

20. Create virtual machine for Snow Leo:

  • -System FreeBSD64 (32 will not work)
  • -'IO APIC' - enabled
  • -Acceleration - enabled
  • -RAM - 1G minimum
  • -type of IDE controller - ICH6
  • -Network card 'Intel PRO/1000 MT Server', attached to 'Bridget Adapter'
  • -close VirtualBox
  • -open configuration file of machine(xml)
  • -add string to the section <ExtraData>:

<ExtraDataItem name="VBoxInternal2/SupportExtHwProfile" value="on"/>

21. For normal work of the network:

-open configuration file of machine(xml)

-add strings to the section <ExtraData>:

<ExtraDataItem name="VBoxInternal/Devices/e1000f/0/Trusted" value="integer:1"/>

<ExtraDataItem name="VBoxInternal/PDM/Devices/PcExt/Path" value="VBoxDD3"/>

 

22. Run

23. Try online update to the latest version

24. Enjoy! :)

 

Screen Shot:

post-340419-1263546715_thumb.png

 

***************************

Patches of VB 3.1.2 PE Windows:

VB x86: VBM.zip

VB x64: VBx64.zip

***************************

Patches of VB 3.1.4 PE Windows:

VB x86: VBM.zip

VB x64: VBx64.zip

***************************

Patches of VB 3.1.6 PE Windows:

VB x86: VBM.zip

VB x64: VBx64.zip

***************************

Mouse Integration (Snow Leopard only): VBVMMDevice.kext.zip

Link to comment
Share on other sites

Can you tell us - how is the hardware support for 10.6? Do you have video/audio/lan drivers?

 

Audio and lan is working.

Audio:

The ISO image contains AppleAC97Audio.kext (Added support of VB sound)

Network:

There is new version of emulation of Intel PRO/1000.

 

How about you provide sources to the VirtualBox patches? So we can test them to non windows versions.

Thanks.

 

I have sources of patch of Intel PRO/1000 only.

There is only 2 additional binary pathes of VB:

1. APIC to version 14

2. Tell to guest that we support SSSE3

 

So, you need to find place of such pathces in your binary.

E.g.(Windows binaries):

VBoxDD2.dll, VBoxDD2GC.gc, gcVBoxDD2R0.r0:

replace 11 00 05 00 -> 14 00 05 00 = APIC to version 14h

VBoxVMM.dll:

49 83 E1 08 83 C9 01 23 F1 -> 81 E6 09 02 00 00 90 90 90 = support SSSE3

Link to comment
Share on other sites

I have sources of patch of Intel PRO/1000 only.

There is only 2 additional binary pathes of VB:

1. APIC to version 14

2. Tell to guest that we support SSSE3

 

So, you need to find place of such pathces in your binary.

E.g.(Windows binaries):

VBoxDD2.dll, VBoxDD2GC.gc, gcVBoxDD2R0.r0:

replace 11 00 05 00 -> 14 00 05 00 = APIC to version 14h

VBoxVMM.dll:

49 83 E1 08 83 C9 01 23 F1 -> 81 E6 09 02 00 00 90 90 90 = support SSSE3

 

 

Your patched files didn't work for me - vbox crashed on start.

What version of Virtualbox are you running? x86 or x64? I tried hex editing the files myself, but the SSE3 one for VBoxVMM.dll isn't there.

 

 

Thanks :)

Link to comment
Share on other sites

Hi, nice work!

 

Can you tell us - how is the hardware support for 10.6? Do you have video/audio/lan drivers?

 

 

 

Hello,

 

Itried with iDeneb 1.3(10.5.5) and iAtkos v7. But I stuck this error below;

 

USBF: 5.903 AppleUSBOHCI[0x4ebd000]: :CheckSleepCapability - OHCI controller will be unloaded across sleep.

 

 

 

Can you help me

 

Thanks in advance

 

 

 

 

 

 

 

 

 

 

 

USBF: 5.903 AppleUSBOHCI[0x4ebd000]: :CheckSleepCapability - OHCI controller will be unloaded across sleep

Link to comment
Share on other sites

Can you give us a bit more context on these binary patches? Since I'd

like to try this on a different operating system other than windows. What

symbols were you looking for? Could we not have just recompiled the OSE

source with the patches made there?

Link to comment
Share on other sites

Hello,

 

Itried with iDeneb 1.3(10.5.5) and iAtkos v7. But I stuck this error below;

 

USBF: 5.903 AppleUSBOHCI[0x4ebd000]: :CheckSleepCapability - OHCI controller will be unloaded across sleep.

 

same here

i tried with iDeneb 1.3(10.5.5)

USBF: 7.176 AppleUSBOHCI[0x28f1800]: :CheckSleepCapability - OHCI controller will be unloaded across sleep

 

ubuntu 9.10

virtualbox puel 3.1.2

i had to turn pae-nx on

i did it with/without the ACPI patches (see under)

i succeded into patching vboxDD2 vboxDD2RC vboxDD3GC files

by the way, there is no vboxDD3 vboxDD3RC vboxDD3GC in linux files

and finally, there is no way to patch vboxVMM since there is no hex looking like the one you gave us.

core2duo T2300 inside

 

any ideas?

thx in advance for your work!

Link to comment
Share on other sites

Hello,

 

I am using VB 3.1.2 on Windows 7 64bit with both iDeneb 1.3 and 1.5 the installer images are at least booting with your steps but gets stuck at loading of the installer. It seems its right after it initializes the HDD. Any ideas? I dont see any errors of any sort.

 

Thanks.

Link to comment
Share on other sites

Thank You

 

Can you give us a bit more context on these binary patches? Since I'd

like to try this on a different operating system other than windows. What

symbols were you looking for? Could we not have just recompiled the OSE

source with the patches made there?

 

I think it would be the best to work together with the people in the VBox-forum at http://forums.virtualbox.org/viewtopic.php?f=4&t=2076. Maybe the people at SUN will provide an update for the other OSes when they are pointed on the right way

Link to comment
Share on other sites

Dear All,

 

I followed the mentioned steps to have my first Leopard VM up and running, but as an experiment, I used VB 3.1.2 r56127 to create a VM using an already installed SL 10.6.2 on a USB HDD (using the raw disk method). I modified the VM file as per the 1st post and I can get the VM to boot using -f switch to bypass the mkext cashe.

 

However, I always get KP after loading all kexts but just before OSX starts and it's something related to APIC interface.

 

Any ideas ?

Link to comment
Share on other sites

ubuntu 9.10

virtualbox puel 3.1.2

i had to turn pae-nx on

i did it with/without the ACPI patches (see under)

i succeded into patching vboxDD2 vboxDD2RC vboxDD3GC files

by the way, there is no vboxDD3 vboxDD3RC vboxDD3GC in linux files

and finally, there is no way to patch vboxVMM since there is no hex looking like the one you gave us.

core2duo T2300 inside

 

any ideas?

thx in advance for your work!

 

I'm in Fedora 12 on AMD platform.

 

I downloaded source code, patched ACPI config to 14, compiled VirtualBox, installed, created MacOsX machine and at least I see now nice iDeneb 1.6 installation process.

 

For now it works like a charm.

 

UPDATE.

iDeneb 1.6 installed successfully.

 

No sound and networking for now.

 

Glxgears - 110 fps. lol

Link to comment
Share on other sites

Dear All,

However, I always get KP after loading all kexts but just before OSX starts and it's something related to APIC interface.

 

Any ideas ?

 

You need to perform next:

kextcache -a x86_64 -K /Volumes/Snow/mach_kernel -m /Volumes/Snow/System/Library/Extensions.mkext /Volumes/Snow/System/Library/Extensions

or add option arch=x86_64 during boot

 

Hello,

I am using VB 3.1.2 on Windows 7 64bit with both iDeneb 1.3 and 1.5 the installer images are at least booting with your steps but gets stuck at loading of the installer. It seems its right after it initializes the HDD. Any ideas? I dont see any errors of any sort.

 

Thanks.

 

I think you need to connect your hdd image into SATA controller(add SATA controller, then connect drive into it)

 

Can you give us a bit more context on these binary patches? Since I'd

like to try this on a different operating system other than windows. What

symbols were you looking for? Could we not have just recompiled the OSE

source with the patches made there?

 

I can't load Leopard with OSE version, only with PE.... But, I can load Snow Leo with OSE version.

Patches:

 

VBox\Devices\PC\DevAPIC.cpp:885, 1712, 2201, 3129. Change 0x11 -> 0x14

VBox\VMM\CPUM.cpp:443 - uncomment to support SSSE3

Link to comment
Share on other sites

Google is Your F.R.I.E.N.D

 

:(

 

"Install Snow Leopard 10.6 on AMD PC"

 

 

It is possible that Google is F.R.I.E.N.D. of somebody, but id doesn't knows anything about what to do if Snow installed successfully in Virtual box, but hangs with "Loading Darwin x86" msg.

Link to comment
Share on other sites

I downloaded source code, patched ACPI config to 14, compiled VirtualBox, installed, created MacOsX machine and at least I see now nice iDeneb 1.6 installation process.

 

erf, tried that for a few minutes...

no way to compile vboxdrv on ubuntu (=> "kernel is not activated")

so im stuck with virtualbox 3.1.2 puel.

and still no way to make ideneb working sigh...

Link to comment
Share on other sites

erf, tried that for a few minutes...

no way to compile vboxdrv on ubuntu (=> "kernel is not activated")

so im stuck with virtualbox 3.1.2 puel.

and still no way to make ideneb working sigh...

 

Do you have headers, devel versions of all libraries and other similar stuff?

Link to comment
Share on other sites

Thx for your answer.

I succeeded in compiling virtualbox sources (3.1.2, not svn) with apci and sse3 patches (no problem with libraries and other stuff)

I succeedee in compiling vbox modules (/vboxfolder/out/linux.x86/releases/bin/src/)

Then i can launch virtualbox, set up a vm, bu when i launch the vm, i got "kernel is not accessible".

And when i look like for vboxdrv in /etc/init.d/, i cant find it. So i guess it didnt go well when installing the modules...

Notice i tried it with/witout virtualbox installed from sun sources, but still no way to launch a vm (i guess the virtualbox modules are associated with one and only one version of virtualbox)

Next i tried to use patched files from compiled virtualbox in virtualbox installed from sun sources:

-with only apci patched files, i can launch vm, but no way to boot ideneb

-with apci and sse3 patched files, i cant launche vm.

So this is where i am now...

 

By the way, according to the tutorial, i should succeed in booting ideneb without patched virtualbox.

But it doesnt work. Without pae-nx activatedi cant even boot darwin, with pae-nx activated, i can boot darwin, but it crashs with some kind of usbf message (see previous post). Still not working if usb is unactive...

 

p, li { white-space: pre-wrap; }

00:01:08.017 PATM: Disabling IDT e patch handler ffe01890

 

 

 

For remind, i use ubuntu 9.10, core2duo platform, ideneb suggested in the first post, virtualbox 3.1.2 from sun sources...

Thx in advance for any help,

dont know what to try right now...

If even you can compile a vbox patched deb for me/us, it would be niiice.

Bye

post-186367-1263888015_thumb.png

Link to comment
Share on other sites

As the VB build instruction says, after successful compilation go to

 

out/linux.x86/release/bin/src

 

and than than execute following

 

make

su

<enter root password>

make install

modprobe vboxdrv

chmod 666 /dev/vboxdrv

exit

cd ..

./VirtualBox

 

this will load your new kernel module and runs freshly compiled UI

 

UPD.

if you have QEMU installed disable/uninstall it as it will makes hardware virtualization (VT-X/AMD-V) in VB impossible.

Link to comment
Share on other sites

 Share

×
×
  • Create New...