Jump to content

Fix Lion 10.7.2 on VMware


  • Please log in to reply
68 replies to this topic

#41
shawken

shawken

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
mfred/GnatGoSplat (et al)

When rebooting and it hangs again, well obviously we want to reboot and this is not satisfactory - so the solution is definitely not "don't reboot!" but simply the chmod command - please ensure you have ran chmod -R 444 AppleLSIFusionMPT.kext as this will make the file read-only and the Apple OS should not be able to edit it (that is the only reason for this command in fact).

Once you have done this you should be able to reboot successfully. To double check that your directory has had the command performed successfully open Terminal and:

1) cd /System/Library/Extensions/
2) ls -l

You should be able to see here that most of the directories have the permissions of "drwxr-xr-x" but what we want AppleLSIFusionMPT.kext to show up as it: "dr--r--r--", meaning that even as admin/root we only have access to read the data and not rewrite it as a 0byte file.

Let me know if you are still having problems so we can get everyone back up and running.

#42
iMave.23

iMave.23

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:Regensburg, DE

For those who don't like the command line, I prepared a package installer with the necessary extension. Just run attached installer before hitting restart button in 10.7.2 update.



It worked.

Thank you!

#43
NT2OOO

NT2OOO

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

Decided to put this in one place so everyone can see what to do. Firstly thanks Zenith432 for finding the offending extension and showing 10.7.1 still works. The post is here.

http://www.insanelym...p...t&p=1758947

If you have yet to upgrade then follow these simple steps to avoid the problem.

1. Take a snapshot, backup or do something to make sure you can always get back if something goes wrong.
2. Start the Lion guest and the open a Terminal under Applications Utilities
3. Copy the existing AppleLSIFusionMPT.kext to the current directory:

cp -rv /System/Library/Extensions/AppleLSIFusionMPT.kext .
4. Now run the 10.7.2 update package but stop and do not reboot - if you do go find that backup or snapshot as you will have to start again! See the attached image.
5. Go back to the terminal prompt and run these 2 commands. You will be prompted for your password.
sudo rm -rfv /System/Library/Extensions/AppleLSIFusionMPT.kext
sudo cp -rv AppleLSIFusionMPT.kext /System/Library/Extensions
6. Now you can reboot.

If everything is done correctly should reboot successfully using the older SCSI driver.




Thanks Donk for your guide, but after update 10.7.2 I don't have audio I'm using VMW 7.1.4 build-385536

any ideas?

#44
GnatGoSplat

GnatGoSplat

    InsanelyMac Protégé

  • Members
  • PipPip
  • 64 posts
  • Gender:Male

mfred/GnatGoSplat (et al)

When rebooting and it hangs again, well obviously we want to reboot and this is not satisfactory - so the solution is definitely not "don't reboot!" but simply the chmod command - please ensure you have ran chmod -R 444 AppleLSIFusionMPT.kext as this will make the file read-only and the Apple OS should not be able to edit it (that is the only reason for this command in fact).

Once you have done this you should be able to reboot successfully. To double check that your directory has had the command performed successfully open Terminal and:

1) cd /System/Library/Extensions/
2) ls -l

You should be able to see here that most of the directories have the permissions of "drwxr-xr-x" but what we want AppleLSIFusionMPT.kext to show up as it: "dr--r--r--", meaning that even as admin/root we only have access to read the data and not rewrite it as a 0byte file.

Let me know if you are still having problems so we can get everyone back up and running.


Thanks, that did the trick!

#45
Bambo2000

Bambo2000

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
I'm running multiple 10.7.1 VMs on our Xserves. I didn't have to use any unlocker.
Did anyone find a better way to Update to 10.7.2? I don't want to overwrite system files in all of my VMs. I think there must be a way to backport the changes, VMware did in their latest Fusion release (they had exactly the same symptoms...).

50 bucks for anyone finding a solution which doesn't require to mess around in the VMs ;)

#46
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,923 posts
  • Gender:Male
  • Location:Manchester UK

I'm running multiple 10.7.1 VMs on our Xserves. I didn't have to use any unlocker.
Did anyone find a better way to Update to 10.7.2? I don't want to overwrite system files in all of my VMs. I think there must be a way to backport the changes, VMware did in their latest Fusion release (they had exactly the same symptoms...).

50 bucks for anyone finding a solution which doesn't require to mess around in the VMs :)

I know it is fixed ion Fusion 4.0.2 but it is in the compiled code so no way to backport. I did try using the Fusion 4.0.2 EFI BIOS on Workstation 8 but it does not fix the problem so must be deeper in the code.

#47
Silvertiger

Silvertiger

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts
Fix worked just fine for VMWare 7.1 on Windows - had to mount the Lion HFS drive into my older Snow Leopard to get to the file but once i removed the current file and replaced it with the 10.7.1 version, everything booted fine.

Much thanks.

#48
madburg

madburg

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

mfred/GnatGoSplat (et al)

When rebooting and it hangs again, well obviously we want to reboot and this is not satisfactory - so the solution is definitely not "don't reboot!" but simply the chmod command - please ensure you have ran chmod -R 444 AppleLSIFusionMPT.kext as this will make the file read-only and the Apple OS should not be able to edit it (that is the only reason for this command in fact).

Once you have done this you should be able to reboot successfully. To double check that your directory has had the command performed successfully open Terminal and:

1) cd /System/Library/Extensions/
2) ls -l

You should be able to see here that most of the directories have the permissions of "drwxr-xr-x" but what we want AppleLSIFusionMPT.kext to show up as it: "dr--r--r--", meaning that even as admin/root we only have access to read the data and not rewrite it as a 0byte file.

Let me know if you are still having problems so we can get everyone back up and running.


Important things to note:

The 10.7.2 AppleLSIFusionMPT.kext is not applied until AFTER a reboot by the update package, so you can back it up the original and think your reapplying over the updated one but your not and you can keep trying this until your blue in the face. (look at the kext after the update finishes and before your reboot, when using the standalone updater, it still the original one...)

So there are 2 choices, 1) Set the current AppleLSIFusionMPT.kext to read only (sudo chmod -R 444 AppleLSIFusionMPT.kext) so upon reboot it does not get modified (as stated), once you reboot recommend you put back the original permissions on it as one of the behaviors is you will not be able to see the extension under "Software Information/Software/Extension" (see screenshot, not sure if anything else is affected, but I am one of those people that does not want to find out later). This can be fixed by running: (change directory to /S/L/E)

sudo chmod -R 755 AppleLSIFusionMPT.kext
sudo chown -R root:wheel AppleLSIFusionMPT.kext


2) Second choice, install the update and reboot (does not matter whether with software updates or downloaded standalone updater), it will not reboot successfully (know this going in)! Boot up your Lion installer media just like you did originally to get your install going (USB, DVD, etc...). You will be at the screen "reinstall/disk utility/etc) Select from the top menu "Terminal"

Change directory to your Lion Hard disk volume (the one thats not booting up now), remove (rm -r) the AppleLSIFusionMPT.kext from S/L/E. Then copy the original AppleLSIFusionMPT.kext from your boot install media to the S/L/E (example: cp -R /System/Library/Extensions/AppleLSIFusionMPT.kext /Volumes/OSX/System/Library/Extensions/)

Now change the permissions on it: (change directory to /S/L/E)

chmod -R 755 AppleLSIFusionMPT.kext
chown -R root:wheel AppleLSIFusionMPT.kext


Choice number two is also good for those who either could not get choice one to work or did not know about it.

Attached Files



#49
Lunatik.

Lunatik.

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts
FYI. I tested the 10.7.2 combo update with workstation 8.0.1. It appears that VMWare has FIXED the issue. This workaround is no longer needed if you run 8.0.1.

Just to be on the safe side. Be sure to create a snapshot before you attempt this.

#50
kup

kup

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 319 posts
I can confirm that the 10.7.3 dev build is also running fine on 8.0.1. :)

#51
skagway

skagway

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts
I'm new to ESXi and the Unlocker thing to install Mac OSX Lion on non supported Hardware. I can boot from my Lion Install USB Stick (created from the Lion i downloaded in the AppStore). But then my 250gb attached vmdk get's not shown in the window of the drives i can install to. So I think I have downloaded the 10.7.2 version from the AppStore with the new AppleLSIFusionMPT.kext file. Can i replace this file directly on the Lion Install USB Stick?

And how do you manage your storage for Lion? Did you throughput your whole SATA controller or do you use virtual disks? What's the better solution?

#52
f0rd42

f0rd42

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
I have exactly the same problem as skagway. I need to find a solution for installing 10.7.2 off my usb stick ....

#53
NickHead

NickHead

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Just followed the instructions that were given, and it worked like a dream.

No if's and buts on mine. Had to sort dir paths out but it worked.

2.8 gHz, quad core, win 7 pro and Mac OSX Lion 10.7.2 on VMware 8.

Sweet as a nut

Thanks.

#54
tfruth

tfruth

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

I'm new to ESXi and the Unlocker thing to install Mac OSX Lion on non supported Hardware. I can boot from my Lion Install USB Stick (created from the Lion i downloaded in the AppStore). But then my 250gb attached vmdk get's not shown in the window of the drives i can install to. So I think I have downloaded the 10.7.2 version from the AppStore with the new AppleLSIFusionMPT.kext file. Can i replace this file directly on the Lion Install USB Stick?

And how do you manage your storage for Lion? Did you throughput your whole SATA controller or do you use virtual disks? What's the better solution?


I installed under VMware Workstation on Windows, using a Compact Flash drive containing the Lion installer files. Boot from the USB installer. Once the installer opens you will not see your virtual disk until you open Disk utility from the menu at the top of the screen. In Disk utility you will create at least one bootable GUID partition on your disk. Apply the Disk utility changes, quit Disk utility, and now you should see your virtual disk as an installation target under the Lion installer.

#55
SeqR

SeqR

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Looks like Lion 10.7.3 update released today. Running ESXi 5.0 with all patches installed.

Want to avoid the mess I made when updating 10.7.1 to 10.7.2 without reading about the procedure necessary to do it successfully.

Anyone successfully do the 10.7.3 update on ESXi 5.0? Thanks

#56
Menno

Menno

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
It overwrites the applelsifusionmpt.kext, so you have to manually update. (or update and boot a lion install image and fire up a terminal and copy the kernel extension)

#57
SeqR

SeqR

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Menno, Thank you for the guidance.

#58
bookemdano

bookemdano

    InsanelyMac Protégé

  • Members
  • Pip
  • 15 posts
Not sure about anyone else but I tried the solution #1 madburg posted above on ESXi 5.0 (changed permissions on LSIFusionMPT.kext to read-only) and then upgraded to 10.7.3 but no dice. I got the same problem I did way back when I first tried 10.7.2 (before this thread existed :))--wouldn't boot past the grey Apple logo.

The difference this time around was that I learned my lesson from the last time and took a snapshot first.

Can anyone else confirm? Obviously it wouldn't hurt for me to try again since I've got the snapshot, but I followed his directions pretty clearly so my thinking is that method doesn't work--at least not with 10.7.3.

#59
SeqR

SeqR

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
bookkemdano: I had same issue first time through. Look at #41 on the top of this page. sudo chmod -R 444 AppleLSIFusionMPT.kext did the trick for me. now running 10.7.3

#60
SeqR

SeqR

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Just did a second VM update and it would not boot past the Apple logo on restart. Waited a few minutes. Shut down the VM completely. Re-started VM and it booted fine.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy