Jump to content

10.7 "Lion" in VMware Workstation in Windows 7


146 posts in this topic

Recommended Posts

Has anyone had any luck with attempting a Lion in-place upgrade?

 

I currently have OSX 10.6.8 running nicely on Workstation 7.1.4, Windows 7 x64. I've purchased Lion from the app-store and downloaded it. Snapshot'd. Then running the installer all seems to precede OK - a reboot of guest is requested after a minute or two. After restart, the VM boots up fine; however nothing seems to have changed and re-running the installer, it just seems to start at the beginning again. Cue same issue over and over...

Link to comment
Share on other sites

I failed to install Lion.

 

  1. Burned InstallESD.dmg to a DVD using "hdiutil burn".
  2. Host is Intel C2D/Windows 7.64/Workstation 7.1.4 patched by Albert's Unlocker
  3. Virtual Machine has following settings
    smc.present = "TRUE"
    ich7m.present = "TRUE"
    firmware = "efi"
    guestOS = "darwin10-64"


  4. VM has 2 GB Ram with 40 GB virtual hard drive partitioned as GPT.

I tried installing with following methods

Mount the Lion Install CD as an ATA drive and boot it using the EFI firmware (in the VM.)

It starts booting and after a while I get the following screen

 

 

Mount the Lion Install CD as a SCSI drive and try to boot using the EFI firware. Boot fails with the following screen

 

 

I tried a 3rd method to do an offline install as follows

  • Boot Snow, mount both the Lion Install CD and the SCSI Lion hard drive.
  • Run the Install App from the Lion CD under Snow. It asks for a volume to install on. I tell it to install on the Lion hard drive.
  • It copies all the installation media to the Lion hard drive and makes it EFI-bootable (=bless.)
  • Then I boot from the Lion hard drive.

This time it boots and I get the initial screens until I try to to actually start the install, at which time I get the screen

 

Help Anyone?

Thanks.

 

[PS I verified that InstallESD.dmg has the right MD5 checksum I found on the web.]

Link to comment
Share on other sites

Help Anyone?

Thanks.

 

[PS I verified that InstallESD.dmg has the right MD5 checksum I found on the web.]

 

Unfortunately I think you are going to need to wait for the next version of Workstation and it works just fine on the beta. There seems to be many changes to EFI BIOS and there is a new level of virtual hardware. I have unlocker patches for it done, and can sort out the release when it comes in a day or so. IF you are on the beta program them PM me.

Link to comment
Share on other sites

Here's the Ensoniq Audio driver for OS/X Lion.

 

EDIT [7/25/2011]:

I uploaded the installer to Sourceforge and updated the link.

The uninstall.sh script in the root folder of the files for VMsvga2 on Sourceforge has been updated for OS/X Lion.

Link to comment
Share on other sites

Here's the Ensoniq Audio driver for OS/X Lion. I'll integrate it in the future into the common installer on Sourceforge.

 

 

 

Thank you

Thank you

Thank you

Thank you!!!!

 

This driver works just as well as the older SL version did on SL. Which is to say that it works, but there are audio glitches every now and then.

 

Once again, I needed to add the following to my vmx file to minimize the audio glitching:

 

pciSound.DAC2InterruptsPerSec = "1024"

 

 

 

As mentioned in earlier threads, 1024 may not be the appropriate value for your particular system. This value seems to work ok on my Linux host. I seem to remember that you mentioned in an earlier thread that values above 256 in Windows would get mapped to 44. The easiest thing to do is to try various values until you find the sweet spot; values too low or too high result in a lot of glitching.

 

Here's what I see for graphics on Lion in VMware:

 

 

The graphics driver that comes with Lion already seems to be more suitable for VMware than the one that came with SL.

 

 

Default graphics:

-------------------

Autofit window (VMware) + select screen resolution from Settings (Lion) => works properly

Autofit guest (VMware) => works properly

Autofit guest (VMware) + Full Screen (VMware) => works properly

 

The issues are that graphics updates are awfully slow and sometimes the menu bar at the top of the screen does not get redrawn.

 

 

After adding Zenith432's VMsvga2_1.2.3 driver for SL:

-------------------------------------------------------------

Autofit window (VMware) + select screen resolution from Settings (Lion) => works properly

Autofit guest (VMware) => does not change display resolution

Autofit guest (VMware) + Full Screen (VMware) => does not change display resolution

 

Graphics are much much faster than without the driver

 

 

After adding Zenith432's VMsvga2_1.2.3 driver for SL + Zenith432's guestd_patches for SL:

-------------------------------------------------------------------------------------------------------

Autofit window (VMware) + select screen resolution from Settings (Lion) => works properly

Autofit guest (VMware) => works properly

Autofit guest (VMware) + Full Screen (VMware) => does not work

Link to comment
Share on other sites

I built an interim version of VMsvga2 for Lion. It's versioned as v1.2.4fc3. Should work the same as v1.2.3 for Snow.

 

The guestd patches available on sourceforge should be used to get fit-guest/autofit-guest functionality. The auto-resolution-change is clunkier than ever :unsure:

 

The GL versions (v1.3x) are on freeze for now. Apple made some changes, and the Snow version is partly broken on OS 10.6.8. I haven't even tried it on OS 10.7. The good news is that Preview can display images on OS 10.7 without requiring a hardware GL driver. Video doesn't work on either iTunes or VLC.

 

Autofit guest (VMware) + Full Screen (VMware) => does not work

Poopy, you need to go to Edit->Preferences->Display and in "Full Screen" select "autofit guest" in order for it to autofit guest when you switch to fullscreen. I don't have a clue why it does this without this setting under VMwareGfx.

 

Also, I strongly suggest you nuke

/System/Library/Extensions/AppleUpstreamUserClient.kext

 

It attaches to any display driver, and can potentially mess it up. It's used for video media DRM stuff, and it's not needed in VMware.

Link to comment
Share on other sites

hi

 

thanks for updating the driver to 10.7 but unfortunately I'm still not able to install them. The installer says that the package requires 10.7 but I got lion installed (same problem with the sound and the vga driver)

 

any idea ?

 

lion.png

Link to comment
Share on other sites

thanks for updating the driver to 10.7 but unfortunately I'm still not able to install them. The installer says that the package requires 10.7 but I got lion installed (same problem with the sound and the vga driver)

 

I have no idea why the target volume on your system is failing the 10.7 version test, but I made dumbed-down variants of the installers that don't check the system version on the target. Make sure to use them only on Lion. You can get them here.

 

PS

Are you running the GM of 10.7 or one of the developer previews?

 

Edit(10/8/2011) - Removed this installer as the kext versions are obsolete. Latest can be found in the vmsvga2 project on sourceforge.

Link to comment
Share on other sites

Zenith432, thank you very much for your work!

 

I can confirm, both driver are working in lion and without any problems during the installation process! thank you again!

 

PS

Are you running the GM of 10.7 or one of the developer previews?

 

this is the version I downloaded from the app store (during installation it performes auto update) to the current version (11A511)

 

I did the installation by following this howto:

Tutorial Lion in VMware

 

maybe the last step in the tutorial causes the error by pretending to be a server operation system # touch "/Volumes/OS X Lion HD/System/Library/CoreServices/ServerVersion.plist"

so the version verifaction fails because of this?

Link to comment
Share on other sites

maybe the last step in the tutorial causes the error by pretending to be a server operation system # touch "/Volumes/OS X Lion HD/System/Library/CoreServices/ServerVersion.plist"

so the version verifaction fails because of this?

That could be the reason. Check /System/Library/CoreServices to see if you have both files

SystemVersion.plist

ServerVersion.plist

 

Dump their content (cat filename in a Terminal) and see which one looks right.

 

If you have Albert's Unlocker installed, you don't need ServerVersion.plist. If you have no unlocker, leave ServerVersion.plist there. Maybe copying SystemVersion.plist to ServerVersion.plist will help.

Link to comment
Share on other sites

I built an interim version of VMsvga2 for Lion. It's versioned as v1.2.4fc1. Should work the same as v1.2.3 for Snow.

Hi Zenith, got Lion working now and tried your drivers. The audio driver installs but I never see any devices.

The svga driver installs fine as well with a number of different resolutions that weren't there before installation. but here I can't get the autofit to work (installed guestd_patches.pkg as well) no matter where I change it (edit-preferences-display)

I must be missing something obvious. Any hints appreciated.

 

edit1: problem solved. I had an old version of vmware tools installed. After I installed the latest from darwin313.iso and reinstalled the drivers everything started working as advertised.

 

thank you!!!

 

btw. I noticed that my Logitech mouse scroll wheel is backwards in browsers (safari). It's ok but odd. anybody else noticed this?

 

edit2:just tried something interesting. Used migration assistant on Lion and SL, both open in vmware (bridged network) and they actually see each other. Problem is that the lion migration assistant is complaining that the SL needs to be updated. Downloaded the updated migration assistant but it will only install on 10.6.8. Hope I don't break my 10.6.7 SL going to .8. will see and try again. would be cool if that allows me to transfer programs, docs and settings...

 

edit:3 wow, maybe this is an old hat, certainly not for me. I am able to transfer between SL and Lion under vmware.

ma_lion.JPG

Link to comment
Share on other sites

I built an interim version of VMsvga2 for Lion. It's versioned as v1.2.4fc1. Should work the same as v1.2.3 for Snow.

 

The guestd patches available on sourceforge should be used to get fit-guest/autofit-guest functionality. The auto-resolution-change is clunkier than ever :(

 

Poopy, you need to go to Edit->Preferences->Display and in "Full Screen" select "autofit guest" in order for it to autofit guest when you switch to fullscreen. I don't have a clue why it does this without this setting under VMwareGfx.

 

Also, I strongly suggest you nuke

/System/Library/Extensions/AppleUpstreamUserClient.kext

 

It attaches to any display driver, and can potentially mess it up. It's used for video media DRM stuff, and it's not needed in VMware.

 

 

I installed the 1.2.4fc1 driver and the guestd_patches. I also made the Edit->Preferences->Display change (as you suspected, Autofit guest was not set for full screen). Unfortunately, this does not fix the problem. When I select full screen, Lion does think the screen size got increased but the only portion of the screen that gets drawn is the upper left (probably 640x480). The rest of the screen is black except for the small VMware toolbar in the top middle.

 

I have other resolution problems that may be related to this issue. My screen is 2560x1600. I see an extensive set of resolutions available to me in Settings|Display but all the resolutions on the list bigger than 1920x1080 fail for me. Similarly, resizing the window to make it 2560 wide but only like 600 high works fine; but if I increase the height past a certain point without changing the width, some of the screen contents are not drawn. The only common factor in all these is that it's acting like your driver is limited to 2M pixels or so total in the video buffer.

 

I deleted the kext you mentioned. Do I also need to run some utility to purge it from any kext caches?

Link to comment
Share on other sites

I have other resolution problems that may be related to this issue. My screen is 2560x1600. I see an extensive set of resolutions available to me in Settings|Display but all the resolutions on the list bigger than 1920x1080 fail for me. Similarly, resizing the window to make it 2560 wide but only like 600 high works fine; but if I increase the height past a certain point without changing the width, some of the screen contents are not drawn. The only common factor in all these is that it's acting like your driver is limited to 2M pixels or so total in the video buffer.

Run "System Information", go to Graphics and see what it says for "VRAM (total)". If it says something around 16MB, then that's the problem. You should have at least 32MB for VMsvga2 to be able to set all modes. You can increase the VRAM with "svga.vramSize".

 

VMwareGfx only needs 16MB vram to get all resolutions, but you said it gives you worse performance... With VMsvga2, the WindowServer blits from off-screen buffers, which is why you get better performance and also why it needs more vram.

 

I deleted the kext you mentioned. Do I also need to run some utility to purge it from any kext caches?
Probably not, but to make sure do "touch -c /System/Library/Extensions" whenever you make changes in that folder.

 

 

btw. I noticed that my Logitech mouse scroll wheel is backwards in browsers (safari). It's ok but odd. anybody else noticed this?

In "System Preferences"/Mouse, on top there's a setting "Move content in the direction...". Invert that.

Link to comment
Share on other sites

Run "System Information", go to Graphics and see what it says for "VRAM (total)". If it says something around 16MB, then that's the problem. You should have at least 32MB for VMsvga2 to be able to set all modes. You can increase the VRAM with "svga.vramSize".

 

System Information showed that my current setup used 27MB of VRAM. I bumped that up to 32MB as you suggested and all my problems went away. Graphics are now perfect for me. Thank you again, Zenith432, for creating the drivers and for being so helpful here on the forums!!!!!

 

For anyone else who needs to change their VRAM size, the value needs to be specified in bytes. You also need to turn off autodetect otherwise your attempt at changing the size gets ignored. Here's what you need to bump it to 32MB:

 

svga.autodetect = "FALSE"

svga.vramSize = "33554432"

Link to comment
Share on other sites

In "System Preferences"/Mouse, on top there's a setting "Move content in the direction...". Invert that.

doh, apple trying to redefine the world of mice again ;) thanks.

 

btw. I have a small bug with autofit. if I resize vmware the guest autofits fine. But as soon as I click anywhere on the guest desktop I see a white band appear right under the Apple menu bar. If I move any window over it or open a menu item it doesn't come back in that same area.

 

autosize%20bug.JPG

 

is that expected?

 

also, when I scroll in any program (finder, firefox ...) there is a vertical line from top to bottom about 2/3rd from the left where the image breaks for a split second with one side about ~20 pixels behind. It is pronounced on pages with contrast. Checked other areas but it's the same position

Link to comment
Share on other sites

  • 2 weeks later...
Here's the Ensoniq Audio driver for OS/X Lion.

 

EDIT [7/25/2011]:

I uploaded the installer to Sourceforge and updated the link.

The uninstall.sh script in the root folder of the files for VMsvga2 on Sourceforge has been updated for OS/X Lion.

The audio and video drivers worked perfectly for my Lion VM. I added the svga lines just in case. I too get the white bar at the top of my screen, although it does disappear if I wipe the screen with an open window inside the VM. I can adjust my resolution and go full screen but I can't get it to autofit the VMware window. Oh well, I'm a satisfied user. Thanks!!!

Link to comment
Share on other sites

I'm guessing Lion on VMware doesn't currently work with AMD CPUs, right? Also, anyone know when is Workstation 8 is supposed to come out?

 

Either way, I'm thinking I'll clone my Snow Leopard VM, and try to upgrade it to Lion at some point when it's working that way (with AMD, if it currently doesn't work).

Link to comment
Share on other sites

I built an interim version of VMsvga2 for Lion. It's versioned as v1.2.4fc1. Should work the same as v1.2.3 for Snow.

 

The guestd patches available on sourceforge should be used to get fit-guest/autofit-guest functionality. The auto-resolution-change is clunkier than ever ;)

 

The GL versions (v1.3x) are on freeze for now. Apple made some changes, and the Snow version is partly broken on OS 10.6.8. I haven't even tried it on OS 10.7. The good news is that Preview can display images on OS 10.7 without requiring a hardware GL driver. Video doesn't work on either iTunes or VLC.

 

is that what makes it so you can see text in pages, and numbers, right now with the current driver I can open pages but its all white I cant see any of the text. It used to work in SL then an update broke it and it hasn't worked yet in Lion.

Link to comment
Share on other sites

Since Chameleon 2.0 was released earlier today (r1394), I decided to publish a variant I've been using to boot inside VMware.

 

Link to download.

 

What's inside?

  1. boot - stage 2 bootloader.
  2. cham2.0vm.diff.txt - patch file for this build from Chameleon 2.0 r1394.

 

How to install?

Install Chameleon 2.0 with the usual installation procedure, and then overwrite /boot with the boot file found in cham2.0vm.tar.bz2.

 

Summary of changes from Chameleon 2.0

  • Fixes the timeflow problems caused by measure_tsc_frequency() when Chameleon is run inside a VMware VM.
  • Injects the System UUID from the VMware backend (uuid.bios in the VMX file).
  • Adds a "?vmware" command on the command line to print some VMware-backend related information.

Link to comment
Share on other sites

I've gotten this to work for the most part. the sound is working but not video. if i go to youtube and play a video, i can see the video and hear the sound for ads, but when the actual video starts, i can hear the sound but not see anything. anyone else having this problem? anyone know a solution?

 

Edit: I did some reading and looks like opera works. I was able to confirm this. There is some hardware acceleration in the weblog utilized by chrome and safari so that is why video does not work in them. Hope this helps someone.

Link to comment
Share on other sites

 Share

×
×
  • Create New...