Install virtualbox 3.2.6 (works also with 3.2.8)
create a virtual machine in VirtualBox for Mac OSX - with a growing HDD at least 12GB
customize the VM:
give it not more than 2048MB RAM and 64-128VRAM enable 3D acceleration and only 1 CPU (you can apply more CPUS later if you removed AppelIntelCpuPowermangement.kextand rebuild kextcache)
Update: assigning more than 2048mb RAM works if you set VRAM to 64mb- tested with up to 6144mb RAM
enable io-apic and efi. (do not use SATA hdd -EFI cant boot it)
change boot order to boot from cd first
!! Important: Make sure you have your host dvd drive selected in vm and enabled passthrough for it.
!! Important Then shut down Virtualbox
type cmd
and in the Windows Console cd to your programs folder /Oracle/Virtualbox
then type these 3 commands (My VM is named snow - adapt snow to your name if you named it differently)
CODE
VBoxManage modifyvm "snow" --firmware efi64
VBoxManage setextradata "snow" VBoxInternal2/EfiGopMode 4
VBoxManage setextradata "snow" VBoxInternal2/SmcDeviceKey "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "snow" VBoxInternal2/EfiGopMode 4
VBoxManage setextradata "snow" VBoxInternal2/SmcDeviceKey "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
(use --firmware efi if you run 32bit host)
EfiGopMode 4 enables 1440x900 res other options: (1=800x600 2=1024x768 3=1280x1024)
check your VMs xml located in your home folder .Virtualbox/Machines
It should have these lines
<ExtraDataItem name="VBoxInternal2/SmcDeviceKey" value="ourhardworkbythesewordsguardedpleasedontsteal( c )AppleComputerInc"/>
<ExtraDataItem name="VBoxInternal2/EfiGopMode" value="4"/>
! no spaces at ( c ) look at the code box
Start your vm and insert the Snow Leopard DVD. Thats it -pretty simple
No need for a boot cd or a distro with that installation
Post installation
Sound: you can get AppleAC97Audio.kext in this thread http://www.projectosx.com/forum/index.php?showtopic=425
just put device id 0x24158086 into info.plist of AppleAc97AudioIntelICH.kext.
Sound has issues channels are mixed -gives you only one channel
Shared folders: in Finder go to -connect to server: smb://192.168.56.1
If you want Bonjour Service working to autmatically connect to other Macs or Hacks in your Network create 2 Network Adapters 1 NAT and 1 Bridged.
Update
This works with ubuntu64 host too. (On the Ubuntu Host it booted the Retail DVD and the iso) Just type the 3 VBoxManage commands in Terminal. Be sure you have both VBOX and the VM NOT !!! running. Then check the xml - cd in Terminal to the folder of your VM.
cd ~/.VirtualBox/Machines/"yourVMname"/
then type: gedit "yourVMname".xml
and check if all settings in setextradata are there.
This also works with an OSX Host you need only the first 2 VBoxManage commands. Fakesmc.kext you have installed in OSX bypasses encryption in VM too. No need for SmcDeviceKey.
Tip:
Preparing USB install Stick with this method is pretty easy, if you have no access to a mac or a hack. Just set a USB Filter in the VM setup -1st option. (If your run a newer linux host be sure you belong to the VBoxsystem usergroup - older system need a different way to enable usb look into vbox manual 12.6.7)
On my ubuntu lucid lynx i had also to reinstall vbox linux kernel driver with /etc/init.d/vboxdrv setup to get usb working
Update:
Works with VBOX 4.0 too. Hagar is right. This Guide doesnt work with AMD CPUS. It needs an Intel CPU with VT-x.
To get sound working just select Intel HDA (no modded kext necessary). Sound Output is Headphones but works. Stereo, Balance and nearly no distortions. Mic works too from my logitech webcam.
VBox 4.0 runs in full screen resolution if you set efigopmode to 5 (1920x1200 at my install)
For usb support in your vm you need to install the expansion pack within vbox. http://download.virtualbox.org/virtualbox/...51.vbox-extpack
This post has been edited by aschar: Jan 12 2011, 12:33 PM





Jul 17 2010, 11:38 AM





