Installing Snow Leopard (10.6.3) in VirtualBox 4 ================================================ NOTE: AMD CPUs require usage of either EmpireEFI or iBoot or OSX86 ModCD References: http://www.sysprobs.com/install-mac-os-1065-snow-leopard-virtualboxseveral-issues-fixed http://www.sysprobs.com/install-mac-snow-leopard-1063-oracle-virtualbox-32-apple-intel-pc http://martinml.com/en/how-to-install-mac-os-x-snow-leopard-in-virtualbox/ http://tonymacx86.blogspot.com/2010/04/iboot-multibeast-install-mac-os-x-on.html http://nawcom.com/osx86/files/10.6/Kernels/10.5.0/legacy_kernel-10.5.0.pkg.zip Prerequisites ------------- VirtualBox 4 Retail Snow Leopard 10.6.3 DVD ISO image (use dmg2img or MagicISO) Intel/AMD processor which supports HVM Empire EFI (http://prasys.info/tag/empire-efi/) (required for installation) Installation ------------ Create OSX VM in VirtualBox * Disable EFI in VM configuration (for AMD CPUs only) * Increase Video Memory to 64MB) * Add another HDD to VM if you want to use Time Machine * AMD NOTE: set the EmpireEFI4AMD.iso as the cdrom media Start up your OS X VM with Empire EFI Once at the Empire EFI prompt eject the EmpireEFI4AMD.iso and load your Snow Leopard ISO Install Snow Leopard as normal (Launch Disk Utility to do partitioning) NOTE: The installation might fail saying "The bless tool was unable to set the current boot disk Install failed: The installer could not start up the computer from the disk. Don't worry about it :-) Reboot NOTE: FakeSMC causes kernel panics on reboot in Snow Leopard for some reason. Just ignore these Kernel panics *OR* apply the fix below. Post Install ------------ Install Combo Update 10.6.7 Reboot Run Apple Software Update In System Preferences under OS X, change both "Computer sleep:" and "Dispaly sleep:" to "Never" and untick the two boxes. Disable screensaves (they can hang the system) Enable SSH (System Preferences->Sharing) Set password for the user Edit /etc/sshd_config and allow PassswordAuthentication Restart sshd Take a snapshot of the VM Install Softwares (Xcode, iWorks, Python, Vim, TextMate, Mercurial, Git, Dropbox, TexShop, Xbench, OpenGLextensions viewer) http://svn.textmate.org/trunk/Bundles/ Fink : http://www.finkproject.org/download/srcdist.php Install Xcode in /Developer location Reboot Take a Snapshot Caveats -------- You won’t get QE/CI (hardware video/graphics acceleration) With IDE OSX won't boot. Install Boot Loader permanently and some fixes ----------------------------------------------- To avoid attaching empireEFI ISO every time and boot OS X virtual machine, follow the steps below. Install 10.6.5 Legacy Kernel for Intel/AMD sudo vim /Library/Preferences/SystemConfiguration/com.apple.Boot.plist Kernel legacy_kernel Kernel Flags arch=i386 busratio=13 Install kext : NullCPUPowerManagement.kext EvOreboot.kext (reboot/shutdown fix), ApplePS2Controller (kb+mouse fix), Remove FakeSMC : http://www.takwing.idv.hk/tech/virtual/faq/no_more_fakesmc.html VBoxManage setextradata "OSX" "VBoxInternal2/SmcDeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" Resolution FIX: VBoxManage setextradata OSX VBoxInternal2/EfiGopMode 4 !!! Shutdown VM, Remove Empire EFI CD, Enable EFI in VirtualBox and boot :-) (kernel panics happen on heavy CPU activity it seems) !!! ---- ALTERNATE ---- Do all the above steps but also install Chameleon Bootloader (2.0 RC3) + Disable EFI in Virtualbox + use 1 CPU (STABLEST configuration, no hangs!) Use CPUTest to check the stability! TIPS ----- Samba: Finder -» Connect To "smb://192.168.1.2" uninstall xcode :: sudo /Developer/Library/uninstall-devtools --mode=all sudo /Xcode3.1.4/Library/uninstall-devtools --mode=all References ========== http://www.takwing.idv.hk/tech/virtual/vb320_snowl/index.html http://osx86.sojugarden.com/2010/03/pfix-v3-0-released/ http://osx86.sojugarden.com/downloads/ http://www.takwing.idv.hk/tech/virtual/other/nullcpupowermgm_kext.html http://www.takwing.idv.hk/tech/virtual/faq/legacy_kernel.html http://www.cheetha.net/Kext_Helper/Software.html