Powered By Blogger

Saturday, September 10, 2011

Solved Snow Leopard VM Crashing when Opening USB Storage in VirtualBox 4.0.2 – AppleUSBOHCI Error

My Snow leopard virtual machine keeps on crashing when accessing USB flash disks or external hard disks in latest Oracle VirtualBox 4.0.2. I had the doubt in new chipset PIIX3 support, but that was not the case. Finally, I found the solution to fix this permanently. Its working fine. Here is the simple method to fix snow leopard VM crashing problem in VirtualBox 4.0.2 while accessing USB storage disks.

The crash shows several IOUSBMassStorageClass and AppleUSBOHCI error messages as shown in below error screen. Its related to VirtualBox extension package that enables VB console to support USB 2.0.

snow Leopard Crashing USB Storage VirtualBox 4.0.2

Here is the solution

Just install the Oracle VM VirtualBox Extension Pack in your host computer as explained here.

After the installation, enable USB 2.0 under virtual machine settings.

snow Leopard Crashing USB Storage VirtualBox 4.0.2

Before start the Snow leopard Virtual machine, make sure extension pack is installed properly and listed here.

desktop virtualization software

Start the VM now and check the USB storage access. I’m sure you will not face the same crashing issue now.

If you are upgrading the Snow leopard to latest 10.6.5 or 10.6.6, DO NOT miss to replace theIOUSBFamily.kext and IOUSBMassStorageClass.kext with older versions. Read this post and comments for more information.

If this method solves the issue, please leave some comments as a confirmation. Share your issues too.

Where to Find Virtualization Technology (VT) in BIOS?

Virtualization Technology in BIOS

This post explains how to enable Virtualization Technology (VT) in motherboard BIOS. To run some operating systems, virtualization software and virtual machines hardware virtualization should be enabled. Mostly, operating systems which not required virtualization technology run normally when virtualization technology is enabled, but for the operating systems required this technology, it must be enabled.

All latest processors and motherboards support virtualization technology, check your motherboard vendor about this support and how to enable or disable VT in BIOS. Operating system detects the hardware virtualization technology once it’s enabled on your motherboard.

You must disable it, if you want to run Mac on Windows (VMWare) as explained here.

Where to Find Virtualization Technology (VT) in BIOS?

This setting is found under ‘Advanced Chipset settings’ in AWARD BIOS. It will be different for each motherboard. Check your mother board manual.

For information, not all laptop or desktop comes with Virtualization Technology (VT) option yet. This picture shows a laptop with that option - Virtualization Technology.

Therefore, when you are buying new laptop, you may wish to look out for this or similar option.


After you change the settings to disable or enable, it’s recommended to shutdown the computer for minimum 10 seconds and restart the machine (Cold Restart) to take effects. If your motherboard is latest one, it detects this change doe’s cold restart. Whenever I change this VT setting on my motherboard, it delays the next restart automatically.

How to Confirm Virtualization Technology is Enabled or Disabled?

1) If your processor is Intel, then you can use this free utility to confirm the result which operating system is sensing.

Download Intel tool to confirm virtualization technology

The result of this utility brings a screen as shown below,

Enable Virtualization Technology (VT)

2) For AMD Processors download the below utility.

3) Microsoft Tool to check hardware virtualization Technology ( VT)

Download the free tool from Microsoft here.

Installation not required, when execute the EXE file, following result appears.

Enable Virtualization Technology (VT)

The above result shown is other computer which is not having hardware enabled.

How Install Mac OSX in VMware Windows

Install Mac OSX in VMware Windows PC

This article explains step by step method to install Mac OSX in VMware on your Windows PC. If you are interested to learn something on Mac OS X 10.5.5 Leopard or do some testing on Mac OS, then you can continue read this article. This article is only for testing purpose. Whoever doesn’t have chance to buy apple hardware with Mac OS, can use this method to install and run Mac on VMware home Windows PC.

Installation is not ‘Very’ Easy

Installation is not easy as inserting the CD and click ‘Next’ ‘Next’ or running some executable files. I wanted to install and learn Macintosh OSX on Windows in my PC, so I searched on internet for possibilities to have Macintosh on Windows computer. The results returned nothing very useful other than changing your XP, Vista themes to Mac OS themes. Based on the other tips in several sites and after I did it practically, now I’m writing this method to install mac on VMware in Windows PC.

But still I like to share what I found when I searched,


Install Mac on VMware



But I’m talking about real Mac. As I said earlier installation is not very easy since both OS hardware platform requirements are different, Mac can be installed on Virtual PC on your PC. To make the installation easy, in other word “to avoid the Mac installation”, we will just import the Mac OS pre-installed hard disk to your PC using VMware. Don’t be more confused, follow the below easy steps. Here are the requirements,

Software Requirements for Install Mac on VMware

Virtual PC software. Several virtual PC software available, but this method goes with VMware workstation since we will be using VMware hard disk image.


VMware workstation 6 or more
you can download the VMware workstation at VMware site here . Either you can try 30-day free evaluation version or buy the full version, but don’t ask crack.

Mac OS X 10.5.5 Leopard VMware image download
(Note – This is a torrent download)

Hardware Requirements:
Make sure after you installed VMware workstation, you have minimum below hardware resources to allocate for Mac OS.

RAM – 1GB

Hard Disk 15GB

Processor – Automatic allocation.

Install Mac on VMware Step by Steps

1) Install VMware Workstation.

2) Download Mac OSX 10.5.5 Leopard VMware Hard disk image. ( Approx Size – 1.9GB)

3) Extract the Image to a folder (You need WinRAR for extraction and extracted size is Approx 9.4GB). Make sure extraction is successful and you get all VMware files as below

Mac OSX in VMware

4) Start VMware workstation and open the Mac OS X Leopard.vmx. ( In VMware go to File – Open from extracted place)

5) Once you open the correct vmx files, you can see the configurations which already done on the image. The below screen is the default one when you open it, before you power on the virtual PC. ( this is what I’m getting in my PC)

Mac OSX in VMware

6) Make sure Guest OS should be ‘FreeBSD’. Even if you have Dual processor and have option to select two processors in VMware option, DO NOT change to two. Leave the Processors 1 only. Do not worry about Hard disk allocation 30GB. You can increase the memory size if you have memory resource in your computer.

7) That’s it click ‘Power on this virtual machine’. Now you should be able to see Mac OS.

8) In case your Mac stuck with following welcome screen for long time,

Mac OS X 10.5.5 Leopard VMware image download

You must disable ‘Intel Hardware Virtualization’ from your BIOS. Note that any time you enable or disable the Hardware virtualization setting in the BIOS; one has to completely power off (cold restart) the CPU for 10 seconds before booting.

Read More about how to Disable or Enable Hardware Virtualization in BIOS

Now start the Mac on VMware again, this time it will work fine.

Mac on Windows

Network

Somewhere I read that Network will not working in Mac with VMware, but it works fine with this image. I tested ‘Bridged’ and ‘NAT’ networks in VMware. It worked fine.

Mac Admin Password

This OS image has Mac Admin password, the password is ‘password ‘.

Mac VMX File

Here is the correct VMX file for your reference

.encoding = “windows-1252″

config.version = “8″

virtualHW.version = “7″

scsi0.present = “TRUE”

scsi0.virtualDev = “lsilogic”

memsize = “1024″

scsi0:0.present = “TRUE”

scsi0:0.fileName = “Mac OS X Leopard-000001.vmdk”

ide1:0.present = “TRUE”

ide1:0.autodetect = “TRUE”

ide1:0.deviceType = “cdrom-raw”

floppy0.present = “FALSE”

ethernet0.present = “TRUE”

ethernet0.startConnected = “TRUE”

ethernet0.virtualDev = “e1000″

ethernet0.wakeOnPcktRcv = “FALSE”

usb.present = “TRUE”

ehci.present = “TRUE”

sound.present = “TRUE”

sound.fileName = “-1″

sound.autodetect = “TRUE”

mks.enable3d = “TRUE”

pciBridge0.present = “TRUE”

pciBridge4.present = “TRUE”

pciBridge4.virtualDev = “pcieRootPort”

pciBridge4.functions = “8″

pciBridge5.present = “TRUE”

pciBridge5.virtualDev = “pcieRootPort”

pciBridge5.functions = “8″

pciBridge6.present = “TRUE”

pciBridge6.virtualDev = “pcieRootPort”

pciBridge6.functions = “8″

pciBridge7.present = “TRUE”

pciBridge7.virtualDev = “pcieRootPort”

pciBridge7.functions = “8″

vmci0.present = “TRUE”

monitor.virtual_mmu = “automatic”

monitor.virtual_exec = “automatic”

roamingVM.exitBehavior = “go”

displayName = “Mac OS X Leopard”

guestOS = “freebsd”

nvram = “Mac OS X Leopard.nvram”

virtualHW.productCompatibility = “hosted”

ft.secondary0.enabled = “TRUE”

tools.upgrade.policy = “useGlobal”

extendedConfigFile = “Mac OS X Leopard.vmxf”

ide1:0.fileName = “auto detect”

ide1:0.startConnected = “FALSE”

ethernet0.addressType = “generated”

tools.syncTime = “FALSE”

uuid.location = “56 4d 4e 0f ea ce 5e 03-83 66 d3 86 b7 b4 42 e4″

uuid.bios = “56 4d 4e 0f ea ce 5e 03-83 66 d3 86 b7 b4 42 e4″

scsi0:0.redo = “”

vmotion.checkpointFBSize = “134217728″

pciBridge0.pciSlotNumber = “17″

pciBridge4.pciSlotNumber = “21″

pciBridge5.pciSlotNumber = “22″

pciBridge6.pciSlotNumber = “23″

pciBridge7.pciSlotNumber = “24″

scsi0.pciSlotNumber = “16″

usb.pciSlotNumber = “32″

ethernet0.pciSlotNumber = “33″

sound.pciSlotNumber = “34″

ehci.pciSlotNumber = “35″

vmci0.pciSlotNumber = “36″

ethernet0.generatedAddress = “00:0c:29:b4:42:e4″

ethernet0.generatedAddressOffset = “0″

vmci0.id = “660874947″

tools.remindInstall = “TRUE”

checkpoint.vmState = “”

ethernet0.connectionType = “nat”

Mac OSX in VMware under Windows check the different method..

Guide Update Snow Leopard Hazard 10.6.2 to 10.6.8 in VirtualBox, VMware


If you are hackintosh user running the Snow Leopard 10.6.2 Intel AMD by Hazard distribution, then I’m sure you would have faced booting issues after upgraded to 10.6.8. Normally these type of updates from Apple will work only in original (vanilla) kernel OS X. Because of we are using hackintosh version, we will get kernel panic error after the update while rebooting. Here is the way to update Snow leopard hazard 10.6.2 or later version to 10.6.8 in VirtualBox (this is applicable for VMware also) without any booting errors.

You need the latest version of Snow Leopard legacy kernel for this purpose. I have already covered the similar guide on updating hazard 10.6.2 to 10.6.7 earlier.


What you Need?


1) Download the separate or combo update of latest 10.6.8. You can do the automatic update inside guest virtual machine also, but be careful to do a necessary step before rebooting.

Read more about latest separate or manual download of 10.6.8 combo update.

2) Download the Snow Leopard legacy kernel 10.6.8 and Sleep enabler kext. (both are in same zipped file package)

Before go to next step, take a snapshot in VirtualBox or VMware workstation.

3) Run the 10.6.8 update.

running the update

4) Once update is completed, DO NOT restart now. Leave the opened dialog box behind and run the legacy kernel package.

keep aside and run package

5) After legacy kernel package installation completed, follow few important additional steps in VirtualBox or VMware. (I suggest not to restart the virtual machine yet)

Few Important Steps to be Done after the update

1) To work with your USB 2.0 devices inside virtual machine, make sure to install the correct version of VirtualBox extension pack which enables the USB 2.0 support. The Mac OS X virtual machine will crash while trying to access USB storage devices if you don’t install extension pack.

Read more here about install VirtualBox extension pack to avoid USB crash.

2) If you are using in VMware then you may face issues on USB Mouse, USB keyboard and USB storage devices after the 10.6.8 update. Some USB kext files should be replaced before restart the virtual machine after the update.

Read more here about how to replace kext files after OS X update

Now restart the virtual machine.

You should be able to see the updated hazard snow leopard 10.6.8 with some more latest features inside VirtualBox/VMware.

running hazard 10.6.8 in virtualbox

I’m sure things will go smoothly after you have done every steps correctly while updating Hazard 10.6.2 to 10.6.8.