I am not going to write an article on how to run Mac OS X Lion on the HP G62 or the HP xw4600 natively. Instead, I will show you how to install Mac OS X Lion on your computer with VMware.
What do you need?
What do you need?
- VMware Player
- The configuration files and patch
- A processor with virtualization technology (look here for Linux, and here for Windows)
- AT LEAST 2GB of memory
- AT LEAST 15GB of free Hard Disk space
- A file de-compressor capable of decompressing 7zip files
- Torrent downloader
What do you need to do?
- Download this file (4.72 GB may take a while)
- Extract the files
- Go to the VMware hack folder
- Read the README file and run the file that corresponds to your OS
- Open VMware player
- Select Open a Virtual Machine
- Select the .vmx file in the Mac OS X Lion VMware Files folder
- Configure the settings for your computer like memory
- Select Options, and Shared Folders, and then tick Always Enabled. You can now add your own folders.
- Close that window and start the virtual machine
- You now have Mac OS X Lion on your PC!
UPDATE: If it doesn't work on your computer at first, open the .vmx file in the VMware files folder with notepad and change from smc.present = "FALSE" to smc.present = "TRUE"

Lol it asks for password when installing what is it?
ReplyDeleteIt does? You don't install it, you run the virtual machine on VMware Player. When does it ask for a password?
ReplyDeleteThe hack is for vmware workstation and does not work with vmware player. Is there a way to get it to work with vmware player? Player is free, workstation is not
ReplyDelete@Jim I understand. I have Workstation, but also have player. I compiled the virtual machine in workstation and then ran it in player. It worked just fine. Did you try it on player? If it didn't work, try running the patch one more time and read over the instructions carefully.
ReplyDelete@Jim Almost forgot, run as administrator and make sure all VMware apps are closed.
ReplyDeletedownloading the torrent now. Will this work on amd 64bit machines?
ReplyDelete@Mike No it doesn't. Apple doesn't support it natively. Although if you have AMD virtualization technology, then there might be a shot at trying. What model AMD processor do you have?
ReplyDelete@mishanet AMD Phenom x6 1035t
ReplyDelete@mishanet i checked and my processor supports AMD-V technology.
ReplyDelete@Mike It's well worth the try. Check back here once you've tried.
ReplyDelete@mishanet i tried binary translation i got "max os x is not supported with software virtualization" when i tried amd-v i got "cpu has been disabled by guest operating system" :(
ReplyDelete@Mike Is AMD-V enabled in bios? Detection software only detects if the processor is capable ov Intel-vt or AMD-v. I didn't have it enabled at first. Mine was under security in the bios.
ReplyDeleteWhy, when i run this on Linux, it doesn't works?
ReplyDelete... /MacOSXLion/VMwarehack$ sudo sh linux_64
linux_64: 1: : not found
linux_64: 1: 8 : not found
linux_64: 1: ELF : not found
linux_64: 2: Syntax error: ")" unexpected
@Raimon Ribera You need to run the linux file and it decides which file to execute by itself.
ReplyDeleteEverybody check the update in the post!
ReplyDeleteI`ll try it.
ReplyDeleteIs it possible to use a whole external disk, like a USB external drive, as the OS drive for the virtual machine?
ReplyDelete@Jesse You could copy the VM files onto the flash drive and run them from there?
ReplyDeleteDoes the featured VMWare image have Xcode installed, and if so, which version of Xcode?
ReplyDeleteCheers.
@D4ve No. I didn't install Xcode. You can get it for free on the Mac App Store.
ReplyDelete@mishanet Thanks for the fast response. Your help is much appreciated. I would like to thank you for taking the time to create this excellent guide.
ReplyDeleteRan on VMPlayer in Ubuntu. Got following error. Any help that one of you can offer - 'linux: 10: linux_64: not found'
ReplyDelete@jagan Well, for the linux file to work the following things need to happen:
ReplyDelete1. All three linux files are in the same directory
2. Run the "linux" file with super user\
3. DONT RUN THE LINUX_32 OR LINUX_64 FILE!!! RUN THE LINUX FILE!!!
If it still doesn't work, try re-downloading the hack file from here.(http://tinyurl.com/vmwarehack)
Misha - If I want to do su or sudo, what's the password for that?
ReplyDeleteHey! Thanks for the tutorial. I'll be installing this on my dell laptop with core i7 processor. I was trying to download the torrent file but the download speed is very low. so can i download the torrent file from here instead? http://thepiratebay.org/torrent/6562848 This torrent seems well-seeded. but there is some difference in the file size which made me thinking. so please tell me whether should i use the torrent file from here or from this link instead? thanks
ReplyDeleteany chance the hardware serial number in "About" might be changeable?
ReplyDelete@Chuck Brick su (super user)As I recall, the password is your password.
ReplyDelete@Affinity I cannot vouch for the workability of that torrent because I did not make it myself. For this to work, you need a VMware guest patch so you can run an OS X guest. I don't know how that torrent will work. You can try it if you like though.
ReplyDelete@Ronny I don't think so. Why do you want to change the SN?
ReplyDeleteOn VirtualBox the serial would be 0 and on VMWare it is VMW.....
ReplyDeleteI am using a software (which I bought) that is activated for my Mac (serial). Now, I'd like to use that in the VM.
I read about smbios injection and those complicated things but that might only work with another boot loader like chameleon.
I'd be happy if you had some thoughts on this.
thanks.
R
I cannot update the VMware tools.
ReplyDeleteHow can i do this ? please help
@shekhardiptiman You cannot update the VMware tools.
ReplyDelete@mishanet finally used the torrent file that you provided..luckily download finished on the same day..and guess what..everything worked perfectly..!! thanks a ton. even i installed xcode so that i could learn iOS development. ;)
ReplyDeleteWhere can I change the smc.present = "FALSE" to smc.present = "TRUE" ?
ReplyDeleteHi Mishanet,
ReplyDeleteThanks for response. The purpose of updating the VMware tools was ot be able to invoke Unity to use the guest Lion in a full screen mode. At present it gives two errors :
a. The VMWare tools need to be updated.
b. The screen resolution of the guest OS cannot ne changed.
Is it possible through any other way?
@Chezire open the .vmx file in the VMware configuration files with notepad, and the line will be in there.
ReplyDelete@SD Go into system preferences in lion, set it to the resolution of your host desktop, and then go into full screen mode. It works for me. Tell me if that doesn't work.
ReplyDeletehi mishanet,
ReplyDeletegreat help you are offering here!
i have tried both settings of changing smc_present to true or false, it does not work. It still gives me the error of "virtual machine has entered a shutdown state" everytime i run the vm image.
i am running a Windows 7 x64 with vmplayer.
thanks in advance!
Hi, on Windows 7 x64 I had to rename the VMWare Player folder to VMWare Workstation to get the VMWare hack to take. I then renamed it back and it is all working fine.
ReplyDelete@xiaodouya I don't know why this isn't working, please post some specs, and screenshots. also make sure true, false is in capitals.
ReplyDelete@Tom Raggett: Hey Tom, that was brilliant! I think in my case, my vmware player has not been hacked yet. However, I am still facing error from getting the hack work. My error is shown at this image url: http://tinyurl.com/3bp74h8
ReplyDelete@mishanet: yup, i have made sure the capitals are there. What specs do you need?
I get to the grey apple logo loading screen and then nothing .....it simply continues to load
ReplyDeleteHi,
ReplyDeleteis there a way to use the VMware hack if vm IS NOT install in the default folder (d:\programs instead of c:\programs) ?
Thanks
Thanks for the vmware image.
ReplyDeleteGot it working on the following spec
Ubuntu Linux 11.04 64-bit
Intel core 2 duo 2.13Ghz
6Gb RAM
Vmware Workstation 7.1
Got 128mb video ram in vmware, don't think I can get anymore? (have got a 1gb graphics card).
Everything works so far, not sure about the software updates, but Xcode installed ok and iTunes is fine (recognizes my iPhone!).
Cheers
I get this..
ReplyDeleteep 21 20:26:01.155: vcpu-1| [msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\dndlogs\dndlog.conf": The system cannot find the path specified.
Hi,
ReplyDeleteThanks for this awesome blog.. it works a treat :)
Can you tell me what the OSX user Admin password is so I can change it and add new users.
Thanks
@Garanth1 the password should be blank. (not the word blank, there is no password. When It needs authentication, just hit enter w/o a password.
ReplyDelete@mrnicke Sounds like an extraction error or a download error. What did u use to extract?
ReplyDelete@grapatu Try running the hack on that hdd. Copy the file to that hdd and run it.
ReplyDeleteI have a peculiar issue with audio. The sound is out of sync and crackly... I'm not sure what the issue is exactly. I guess it could be that my machine is lagging? I tried installing Ensoniq Audio v1.0.3 but still no luck. Any recommendations? I'm just using standard motherboard sound on windows and VM Player only shows Digital S/PDIF but is set to auto.
ReplyDeleteWhat is the root password for the image?
ReplyDelete@alkos333 No password for the image. I have already explained that the password for admin is blank. Just hit enter with the username inputted.
ReplyDeletejagan said...
ReplyDeleteRan on VMPlayer in Ubuntu. Got following error. Any help that one of you can offer - 'linux: 10: linux_64: not found'
September 8, 2011 9:10 AM
mishanet said...
@jagan Well, for the linux file to work the following things need to happen:
1. All three linux files are in the same directory
2. Run the "linux" file with super user\
3. DONT RUN THE LINUX_32 OR LINUX_64 FILE!!! RUN THE LINUX FILE!!!
If it still doesn't work, try re-downloading the hack file from here.(http://tinyurl.com/vmwarehack)
September 8, 2011 4:42 PM
I am having this same problem even after re downloading the hack. Thanks in advance.
Can confirm this worked on Linux 64-bit Debian Squeeze
ReplyDeleteUsed another VMX I already downloaded with the VMHack file here: http://tinyurl.com/vmwarehack
Had to sudo chmod +x the linux_64 file and ran that, works like a charm!
I use OpenSUSE 11.14 64bit and I got the same error :'linux: line 5: linux_64: not found'
ReplyDeleteDoes anyone have the answer for it?
I'm getting the error "guest operating system is not mac osx server" im guessing it has something to do with the patch not working right, how do i fix this?
ReplyDelete@Unknown Rerun the patch, make sure to run as administrator. Reread the instructions and look in the comments for tips.
ReplyDelete@Sam and anyone else w/ this problem
ReplyDeleteRe-download the patch from here (http://tinyurl.com/vmwarehack).
@shinjuma Sounds like an audio card problem. You shouldn't need to install a seperate driver, VMware tools is installed.
ReplyDeleteAnyone with the "linux: 10: linux_64: not found"
ReplyDeleterun the linux file using "sudo ./linux"
I also had this issue and had tried everything previously posted
Okay so, I've tried everything and am completely lost. I really hope you still check this. I keep getting the "cpu has been disabled by guest operating system". I have tried changing the line between TRUE and FALSE. I even tried Snow Leopard with the same error. I do have virtualization and turned it on. Here are my specs:
ReplyDeleteHP G62-340US 64-Bit
AMD Athlon II P340 dual-Core Processor 2.20GHz
3.00GB RAM
SSE(1, 2, 3, 4A)
Plenty of space (at least 50 GB)
VMware version 7.1.3 (have also tried with latest)
HELP! :(
And thank you
AMD Processors currently do not work, Sorry.
ReplyDeleteOne question is if KVM (and therefore vmx/smx virtualization chip support) is needed for a genuin intel processor. I have a socket 478 Intel pentium 4/Celeron processor (P4C800 delux asus MB).
ReplyDeleteI'm asking and not just trying it since this motherboard is so old and the concern is that it would be a lot of wasted time in the case I have to update a centos 5 2.6.18 kernel and add the KVM module.
Hey mishanet,
ReplyDeleteThanks for helping all of us with this. I am very close to buying a G62-237US on eBay. Are you 100% sure it will run Lion with everything working (except wifi I assume)?
Thank you!
Hi mishanet,
ReplyDeleteJust to let you know the update to mac os x lion10.7.2, stops the vmware image from working!
The itunes 10.5, xcode 4.2 updates work.
@zaw aung Will work on that. :-)
ReplyDelete"I get to the grey apple logo loading screen and then nothing .....it simply continues to load"
ReplyDeleteSame thing here.
"I get to the grey apple logo loading screen and then nothing .....it simply continues to load"
ReplyDeleteI also get this error - Windows 7 64 usning VMware Player.
@Suicida and @RDscuba I would give it a little longer, and if it doesn't work after about 10 minutes, redownload archive.
ReplyDeleteI have successfully updated this to 10.7.2 =)
ReplyDeleteI used http://www.insanelymac.com/forum/index.php?showtopic=270140 as the guide. In general you just save your AppleLSIFusionMPT.kext. Run the 10.7.2 combined update. NO DOT RESTART. Replace the new file with your saved one. Very simple and easy.
If you already tried to update and now cannot boot and dont wanna loose your stuff(like i did), setup a 2nd working mac. Add Your Nonworking mac as another Hard drive in "edit virtual machine". Then boot that and copy the file from your working mac into your nonworking mac.
i to am stuck at the grey apple logo, i have made the "true"/"false" switch as per above...still no change
ReplyDeleteFor the people who are trying to get this to work on VMWare Player and not getting past the apple logo screen, the "windows.bat" doesn't point to the VMWare Player folder to perform the hack.
ReplyDeleteEdit windows.bat and replace with the following:
@echo off
net stop vmauthdservice
windows_32 "C:\Program Files (x86)\VMWare\VMWare Player\x64" "C:\Program Files (x86)\VMWare\VMWare Player\vmwarebase.dll"
net start vmauthdservice
I am getting this error when trying to run the hack
ReplyDeleteThe VMware Authorization Service service was stopped successfully.
-----
Mac OS X guest unlocker for VMware, version 7
Directory C:\Program Files (x86)\VMWare\VMWare Player\x64:
File vmware-vmx.exe:
Unlocking Mac OS X guest on non-Mac host ...
Unlocking Mac OS X Client guest (method 0) ...
File vmware-vmx-debug.exe: Missing file.
File vmware-vmx-stats.exe: Missing file.
File C:\Program Files (x86)\VMWare\VMWare Player\vmwarebase.dll:
Unlocking Mac OS X guest on non-Mac OS X host (method 1) ...
Too few match sites.
-----
The VMware Authorization Service service is starting.
The VMware Authorization Service service was started successfully.
@Brahim Al-Hawwas
ReplyDeleteDid you try running Lion after that, because that doesn't look like an error...
Hi do you know how to rename the mac name from Mishanet to whatever i want instead?
ReplyDeletethanks anyhow for this.
@Quentin Go into the sharing menu in system prefs, and change the name there.
ReplyDelete@Brahim Al-Hawwas:
ReplyDeleteI got that message too.. but Lion ran perfectly after that anyway :)
thanks a lot and do you know how to change the system language? i mean not the user one but really the system one. on logon it keep me in english and keyboard to. As i'm french it's a bit confusing to be in qwerty on logon.
ReplyDelete@kenneth i made the change to the .bat file, ran successfully, still cant get past the grey apple boot screen...any other tips?
ReplyDelete@mishanet , I have followed your all steps and while running the image VMWare asked me that this image is configured to run in 64 bit , but my host OS is 32 bit WIN 7 ... but I let it running in 64 mode... and it took about 15-20 minutes but just blank dark screen on VMWare.
ReplyDeleteIf I go and change to run in 32 bit in VMWare settings then it runs and then stops.. nothing happens...
What should I do ?
MAVERICK
@MAVERICK You have to have a 64 bit CPU, and virtualization feature.
ReplyDelete@Quentin Try Google :-)
ReplyDelete@mishanet , Yes I tried it on another 64 bit machine and it worked. Thanks.
ReplyDeleteBut I am having another problem, my mouse' left click stops working after sometime , then I hav to reboot the VM and it start working again and then again Left click stops working ( Right always work).
What should I do to fix this issue ?
Thanks for your help.
Maverick
@Anonymous I don't know what the problem is or could be. Your physical mouse?
ReplyDelete@mishanet, I have USB mouse and it works all find in my host OS (Win 7) ... but sometimes its left click stops working in MAC OS X... I have tried another USB mouse too , and also tried conneting it to guest OS MAC X by disconnecting from Host but still the same problem.
ReplyDeleteI was able to reproduce the issue by holding the left click on desktop of MAC OS X and drawing a rectangle selection, whenevr I do this my left click stops working but right click keeps on working...
Is it a problem of USB mouse ? or some faulty USB driver or MAC OS X settings... ( as originally I think MAC work with single click mouse).
Thanks for your help.
Maverick
I can't seem to get usb storage working.
ReplyDeleteVMWare recognizes ant takes control of it but
the os does not see it. Could it be that os x is not recognizing the virtualized usb controller ?
Anyone managed it to work with Unity
ReplyDeletei can past the gray image with apple logo
ReplyDeletei can not run linux bash in folder.
ReplyDeleteDont star Vm guest and give
"This VM's versions of VMware Tools out of date" alert
does it work with VMware workstation 8?
ReplyDeleteI'm having the same problem with the left mouse button.
ReplyDeletecan we update the VMWare OSX 10.7.2 to 10.7.3 direct from Apple ?
ReplyDeleteHey there,
ReplyDeleteI have the Same Problem with the grey logo freeze.
I'm using VM Ware Player on Win 7 Ultimate 64bit and I've already changed the windows.bat.
After about 15 Minutes there is just this grey logo. The virtual Harddisk is showing no prozess.
i get a message that says Guest is not mac osx server , it only give me a option for mac lion server not mac lion
ReplyDeleteFor people that are getting the Gray Screen with the logo. You have to tell it where the windows_32 file is
ReplyDelete@Echo off
net stop vmauthdservice
cd \
cd mac os x lion
cd vmware hack
windows_32 "C:\Program Files (x86)\VMWare\VMWare Player\x64" "C:\Program Files (x86)\VMWare\VMWare Player\vmwarebase.dll"
net start vmauthdservice
Hi Mishanet,
ReplyDeleteFirst of all, thank you for the awesome work you have done in creating this VMWare image and even more awesome work in answering the people's queries.
From the various comments it is pretty clear that your image and tutorial work pretty much seamlessly. Nevertheless, this tutorial is nearly 6 months old. So before I started downloading the 4.7GB file I wanted to know if there is an updated version of the image with some enhancements and/or fixes? If yes can you please point me to that?
Once again, thank you.
I managed to get this working initially using image of 10.7.2, now upgraded to 10.7.3. VMWare 7.1.4. I'm also getting the mouse sticking issue. So far found no solution but I think it is a vmware drivers issue. Anyone else know a work around?
ReplyDeleteHey guys, I noticed someone else posted a fix for the grey screen, that isn't the only cause as the unlocker appears to work for me:
ReplyDeleteC:\Windows\system32>cd C:\mac os x lion\VMware hack
C:\mac os x lion\VMware hack>windows
The VMware Authorization Service service was stopped successfully.
-----
Mac OS X guest unlocker for VMware, version 7
Directory C:\Program Files (x86)\VMWare\VMWare Player\x64:
File vmware-vmx.exe:
Unlocking Mac OS X guest on non-Mac host ...
Unlocking Mac OS X Client guest (method 0) ...
File vmware-vmx-debug.exe: Missing file.
File vmware-vmx-stats.exe: Missing file.
File C:\Program Files (x86)\VMWare\VMWare Player\vmwarebase.dll:
Unlocking Mac OS X guest on non-Mac OS X host (method 1) ...
Too few match sites.
Mac OS X guest unlocker for VMware, version 7
Directory C:\Program Files (x86)\VMware\VMware Workstation\x64:
File vmware-vmx.exe:
Unlocking Mac OS X guest on non-Mac host ...
Unlocking Mac OS X Client guest (method 0) ...
File vmware-vmx-debug.exe: Missing file.
File vmware-vmx-stats.exe: Missing file.
File C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll:
Unlocking Mac OS X guest on non-Mac OS X host (method 1) ...
Too few match sites.
-----
The VMware Authorization Service service is starting.
The VMware Authorization Service service was started successfully.
However I still get the grey screen with the apple logo sticking on screen. I have a HP DV6 1107 laptop if you want to know what hardware with HV enabled in bios. I'll repost if I get it going.
does this work with vmware workstation 8?
ReplyDeleteMany thanks :) Tested and worked without any issue. It works with vmware workstation 8.
ReplyDeleteThe bat file doesn't work for me. If I use the changed one posted above it says windows_32 is not a command.
ReplyDeleteI have Win Professional 64-bit
and a Intel i5 Prozessor
You have to have VMWare Workstation installed in it's default location for the bat file to work.
ReplyDeleteThank you very much for this package mishanet.
ReplyDeleteI downloaded it today and it works just fine. I am running it on Win 7 home (64-bit) with VMWare Player 4.0.3.
I wanted to if an update to 10.7.4 cause any problems? An update to 10.7.2 has caused problems to many. Anyone knows if 10.7.4 works fine or does it require me to do something extra to keep it working after the update?
Thanks again.
If possible to get some help im not quite sure why the hack isnt working.. i changed my windows.bat to:
ReplyDelete@echo off
net stop vmauthdservice
windows_32 "C:\Program Files (x86)\VMWare\VMWare Player\x64" "C:\Program Files (x86)\VMWare\VMWare Player\vmwarebase.dll"
net start vmauthdservice
but that even fails and says:
"System error 5 has occured.
Access is denied.
Mac OS X guest unlocker for VMware, version 7
Directory C:\Porgram Files (x86)\VMWare\VMWare Player\x64:
File vmware-vmx.exe: Error making file writable.
File vmware-vmx-debug.exe: Missing file.
File vmware-vmx-stats.exe: Missing file.
File C:\Porgram Files (x86)\VMWare\VMWare Player\vmwarebase.dll: Error making file writable.
System error 5 has occured.
Access is denied."
When i open in vmplayer i get the gray logo screen and nothing else. I am not sure what to do .. looked through this completely.
-Alex
hi mishanet, could you please provide de User Mishanet password (it's not blank)
ReplyDeletety in advance
nishty
Works for me out-of-the-box (following the video + VMware 5).
ReplyDeleteDont forget to activate virtualization of the processor in your BIOS.
Thnaks :)
For those stuck with password in terminal (su, sudo) as there is no password, *you have to set the password to something* in you user profile (admin). It seems terminal don't like empty password.
ReplyDeleteWill it work on a AMD FX-6100 Zambezi Six-core processor?
ReplyDelete