Jump to content

Mac OS X guest unlocker for VMware


  • Please log in to reply
463 replies to this topic

#21
hippoth

hippoth

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
Hi Albert,

I currently started the installation of Mac OS X 10.6.0 and for now it works like a charme.

I have two different ESXi, one with VT-capable Intel CPU and the other one without VT.

The one with VT is a productive server, where 8 different server are running. On this server it´s a little bit difficult for me to test, because If something fails there I have a problem ;-)

On the other server I can test without problem but I think the non VT-capable CPU is a no-go, or isn´t it?

How ever, I will try my best to help for testing, because Donks method unfortunately does not work for me (always reboots, when the installation starts).

#22
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,025 posts
  • Gender:Male
  • Location:Manchester UK

OK I'll build the ESXi unlocker against that environment.

It seems that version 4.1 of ESXi is going to be released soon. Hopefully it will have the same virtual hardware as Workstation 7/Fusion 3. Maybe I should just wait for that and see.


Unlikely, historically ESX has always been one revision behind. Features get trialled in hosted products then move to ESX. I would expect that ESX 5 is the most likely time for the EFI stuff to show up.

#23
Albert Nietsnie

Albert Nietsnie

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts

One suggestion; how about backing up the files before patching then allow them to be copied back if needed to undo the patch?

Good idea, but there is a small difficulty: the unlocker is meant to be idempotent, so you can run it again if something failed the first time you ran it. But then how do you decide when to backup? If you run it the second time, you don't want to backup (because that would overwrite the pristine file). But then if you upgrade the product, you want to unlock and backup again. I should probably be able to solve this with timestamps:
step 1: If backup does not exist, back up. If backup exists and newer than file, do nothing.
step 2: Mod the file, and set the file date to that of the backup.

On the other server I can test without problem but I think the non VT-capable CPU is a no-go, or isn´t it?

Yes it is a no-go. Running Mac OS X guest requires VT.

Unlikely, historically ESX has always been one revision behind. Features get trialled in hosted products then move to ESX. I would expect that ESX 5 is the most likely time for the EFI stuff to show u.

Not sure about that: http://virtualizatio...tures-leak.html claims it is a major new release.

#24
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,025 posts
  • Gender:Male
  • Location:Manchester UK

Good idea, but there is a small difficulty: the unlocker is meant to be idempotent, so you can run it again if something failed the first time you ran it. But then how do you decide when to backup? If you run it the second time, you don't want to backup (because that would overwrite the pristine file). But then if you upgrade the product, you want to unlock and backup again. I should probably be able to solve this with timestamps:
step 1: If backup does not exist, back up. If backup exists and newer than file, do nothing.
step 2: Mod the file, and set the file date to that of the backup.


Yes it is a no-go. Running Mac OS X guest requires VT.


Not sure about that: http://virtualizatio...tures-leak.html claims it is a major new release.


Been involved with VMware and betas for 11 years never happened yet at a point release, but I guess it may be possible.

#25
its

its

    InsanelyMac Protégé

  • Members
  • PipPip
  • 50 posts
Hi Having a problem here

1) Installed VMware workstation 7.1 with Windows 7 64bit
2) Have a Mac SL DVD ISO
3) I have run the windows.bat
4) Created a VM as Mac OSX 10.6 64bit (also tried changing to FreeBSD 64bit) and booting via the ISO

The apple screen comes and then a not sign comes.. like a circle with a line cutting it..

what am I doing wrong?

EDIT: Nevermind I think the ISO was corrupt.. Tried another one.. seems to be working atm.. installing

Couple of questions

1) Do you have a guide for Windows how to create an ideal VM etc?
2) The changes windows.bat makes, Can that be reversed if needed and do we need to reverse it or reapply it on every VMware update?
3) What are the do's and don'ts in this type of VM?? Can we do normal updates without any -v -x -f etc while reboot etc..

Bit more explanation will be helpful :D

Ta

#26
Albert Nietsnie

Albert Nietsnie

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts

Nevermind I think the ISO was corrupt..

Note that WS 7.1/Fusion 3.1 also support booting from a virtual DVD connected to a .dmg file.

1) Do you have a guide for Windows how to create an ideal VM etc?
2) The changes windows.bat makes, Can that be reversed if needed and do we need to reverse it or reapply it on every VMware update?
3) What are the do's and don'ts in this type of VM?? Can we do normal updates without any -v -x -f etc while reboot etc..

1) Not yet. For the .vmx file, nothing special to do if you use the UI. Inside the VM, I recommend you install this sound driver http://sourceforge.n...ga2/files/Audio .
2) The changes can only be reversed by re-installing WS/Fusion for now. Donk proposed that I change the unlocker to make a backup of the files (and optionally restore them). I'll probably do that in a future release.
3) You can do everything you want in the VM, thanks to the virtual EFI your VM is very close to a physical Mac. The only thing missing is hardware acceleration for graphics. One caveat though: if your physical CPU is a Core i5 or Core i7, do not update Mac OS X until Apple releases 10.6.4 (which should happen in a matter of days).

#27
its

its

    InsanelyMac Protégé

  • Members
  • PipPip
  • 50 posts
Thanks for that..

quick one.. its installed.. but when I goto VM --> install tools.. it says

could not find component on update server..

plz help :D

#28
Albert Nietsnie

Albert Nietsnie

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts

quick one.. its installed.. but when I goto VM --> install tools.. it says
could not find component on update server.

RTFM

(the README.txt in the unlocker tarball, that is.)

#29
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,025 posts
  • Gender:Male
  • Location:Manchester UK

RTFM

(the README.txt in the unlocker tarball, that is.)


Welcome to my world!!! Nobody these days can be bothered to search, read and understand.

#30
MSoK

MSoK

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 984 posts
  • Gender:Male
  • Location:Darlington UK

Thanks for that..

quick one.. its installed.. but when I goto VM --> install tools.. it says

could not find component on update server..

plz help :D

Donk's 310B2 or even the previous 301 darwin iso will provide the relevant VMware Tools for OS X, links below, the benefit of Donk's 310B2 version is they include Zenith432's audio drivers, direct link below, in a drivers directory as well as an uninstall script. Note, ignore the guestd patch and the graphics drivers for Albert's, if I might say stunningly elegant and simple, solution, with no offence to the Legends that are Donk and Zenith432 who's contribution have been huge.

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

http://rapidshare.co...est_Package.zip

http://sourceforge.n.../vmsvga2/files/

Cheers, MSoK.

P.S. If I can help in anyway let me know, I have a lot of documentation to produce a tutorial, in conjunction with Donk, also keen to persue the ESXi OS X option.

#31
timbojill

timbojill

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 104 posts
I am a newbie can someone tell me what do you do with the file attached to the first post to create a Snow Leopard OS X in VMWARE.

#32
Penguin786

Penguin786

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

Good day.

I wrote a little program which allows to create a virtual machine and run any flavor of Mac OS X

  • Mac OS X
  • Mac OS X Server
inside the virtual machine, using any VMware product
  • VMware Workstation for Windows
  • VMware Workstation for Linux
  • VMware Fusion for Mac OS X
on any Intel-based physical machine
  • PC
  • Mac
I hope you will enjoy it. For details, please read the file README.txt. Give me your feedback about it in this forum.


I have toshiba A11-S3540 i7 processor laptop VT enabled in BIOS. i am using win 7 pro 64 bit as host OS and vmware 7. i have no problem running running other windows OS or Linux OS within Vmware but i can't use Snow leopard VMDK and i am keep getting this error "A virtual CPU has entered the shutdown state. This would have caused a physical machine to restart. This can be caused by an incorrect configuration of the virtual machine, a bug in the operating system or a problem in the VMware Workstation software. Press OK to restart the virtual machine or Cancel to power off the virtual machine.

I tried different processor mode options in vmware workstation nothing works. is there any solution for my problem.

#33
Albert Nietsnie

Albert Nietsnie

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts

I have toshiba A11-S3540 i7 processor laptop VT enabled in BIOS. i am using win 7 pro 64 bit as host OS and vmware 7. i have no problem running running other windows OS or Linux OS within Vmware but i can't use Snow leopard VMDK and i am keep getting this error "A virtual CPU has entered the shutdown state.

First, use Workstation 7.1 instead of 7.
Second, on i5 or i7 physical processors, make sure your VM has 10.6 or 10.6.1, but _not_ 10.6.2 or 10.6.3. Only when Apple releases 10.6.4 (in a matter of days) you can safely upgrade your VM via Software Update.
For details, read http://communities.v...1526335#1526335 .

#34
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,025 posts
  • Gender:Male
  • Location:Manchester UK
VMware Mac OS X Unlocker and Donk's method

To change existing guests built using my method to work under the new unlocker you will need to edit the VMX file and alter it to have the following the following settings:

firmware = "efi"
smc.present = "TRUE"
keyboard.vusb.enable = "TRUE"
mouse.vusb.enable = "TRUE"

If you need to use a PS2 keyboard after changing you will need to add a PS2 keyboard controller to the extensions on the Mac guest. Once that is done you can then revert your settings back to disabling the virtual USB keyboard.

If you want the tools the latest version is available here with Zenith432's graphics and audio drivers.
www.filedropper.com/darwin310b2

#35
Cygnust

Cygnust

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
Hi all,
I just installed Snow Leopard Smoothly with this method, here are my remarks so far :

- No sound, even if I install Ensoniq Drivers
- Seems like I can't update to 10.6.3, loop reboot. I saw I had to wait for 10.6.4, as I have a i520m proc

For Donk :

I saw the pack you linked, what's the interest now to install VMsvga drivers ? It seems like even QE/CI is present now with this method ?

#36
Albert Nietsnie

Albert Nietsnie

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts

If you need to use a PS2 keyboard after changing you will need to add a PS2 keyboard controller to the extensions on the Mac guest. Once that is done you can then revert your settings back to disabling the virtual USB keyboard.

A virtual PS/2 keyboard, that is. Since both the virtual EFI and Mac OS X guest have USB drivers for the virtual mouse and keyboard, you should never need a virtual PS/2 keyboard anymore.

- No sound, even if I install Ensoniq Drivers

Are you sure you enabled sound for your VM in VM > Settings (it is disabled by default)? If so then Zenith432's Ensoniq driver on darwin310b2 should work.

what's the interest now to install VMsvga drivers ? It seems like even QE/CI is present now with this method ?

The interest to use Zenith432's VMsvga driver on darwin310b2 was performance, but only on Workstation, and only on versions < 7.1 (or possibly 7.0).
With Workstation 7.1/Fusion 3.1, Zenith432's VMsvga driver offers no performance benefit over VMware's SVGA driver (VMwareGfx.kext).

It seems like even QE/CI is present now with this method ?

None of the 2 SVGA drivers support QE (what is CI?). They only support accelerated 2D.
In the future, the first driver to add 3D acceleration (i.e. support for QE) will have the performance edge.

#37
Cygnust

Cygnust

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

Are you sure you enabled sound for your VM in VM > Settings (it is disabled by default)? If so then Zenith432's Ensoniq driver on darwin310b2 should work.


Sure I even reinstalled the whole system after having enabled it

The interest to use Zenith432's VMsvga driver on darwin310b2 was performance, but only on Workstation, and only on versions < 7.1 (or possibly 7.0).
With Workstation 7.1/Fusion 3.1, Zenith432's VMsvga driver offers no performance benefit over VMware's SVGA driver (VMwareGfx.kext).

None of the 2 SVGA drivers support QE (what is CI?). They only support accelerated 2D.
In the future, the first driver to add 3D acceleration (i.e. support for QE) will have the performance edge.


CI stands for Core Image, check this link :
http://prasys.co.cc/...i-snow-leopard/

According to it, QE/CI is enabled with your method ;)

#38
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,025 posts
  • Gender:Male
  • Location:Manchester UK

A virtual PS/2 keyboard, that is. Since both the virtual EFI and Mac OS X guest have USB drivers for the virtual mouse and keyboard, you should never need a virtual PS/2 keyboard anymore.

The interest to use Zenith432's VMsvga driver on darwin310b2 was performance, but only on Workstation, and only on versions < 7.1 (or possibly 7.0).
With Workstation 7.1/Fusion 3.1, Zenith432's VMsvga driver offers no performance benefit over VMware's SVGA driver (VMwareGfx.kext).

None of the 2 SVGA drivers support QE (what is CI?). They only support accelerated 2D.
In the future, the first driver to add 3D acceleration (i.e. support for QE) will have the performance edge.


Actually there are real issues with the VMware USB key board in Mac OS X, even in Fusion, which I have reported to VMware. Can't map everything to a PC keyboard even with a new keyboard layout file. Some also have keyboard repeat errors where characters pump out across the screen. Better in 7.x but still not perfect.

I would just stick to VMware drivers now, as whilst there are extra features in Zentih's drivers he has told me he won't be working on them in future.

Sure I even reinstalled the whole system after having enabled it



CI stands for Core Image, check this link :
http://prasys.co.cc/...i-snow-leopard/

According to it, QE/CI is enabled with your method :D


No this method won't enable QE/CI. It required a driver in the guest operating system for the VMware SVGAII system, and there isn't one for Mac OS X. I asked VMware and they aren't building one, and Zenith was trying to build one, but too much effort for him to spend on it. If anyone wants to pick it up he code is on Sourceforge, but it's a big undertaking as Zenith was a good Mac OS X programmer and trust his judgement.

#39
Albert Nietsnie

Albert Nietsnie

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts

Sure I even reinstalled the whole system after having enabled it

Have you connected the virtual sound card to the physical one?
I don't have any other idea. Is it a fresh 10.6 install from Apple's DVD? I works fine for me (in Fusion).

According to it, QE/CI is enabled with your method :)

The only thing that is enabled is software emulation for QE/CI. There is no (virtual) hardware support.

Actually there are real issues with the VMware USB key board in Mac OS X, even in Fusion, which I have reported to VMware. Can't map everything to a PC keyboard even with a new keyboard layout file.

It works for me in Fusion (using the Mac Profile, the default, in VMware Fusion > Preferences... > Keyboard & Mouse).
Are you using Workstation for Windows or Linux? It is possible the New VM Wizard in these products do not properly set keyboard profile of Mac OS X VMs.
Can you give me an example of keys that don't work, so I can experiment with this?

#40
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,025 posts
  • Gender:Male
  • Location:Manchester UK

Have you connected the virtual sound card to the physical one?
I don't have any other idea. Is it a fresh 10.6 install from Apple's DVD? I works fine for me (in Fusion).


The only thing that is enabled is software emulation for QE/CI. There is no (virtual) hardware support.


It works for me in Fusion (using the Mac Profile, the default, in VMware Fusion > Preferences... > Keyboard & Mouse).
Are you using Workstation for Windows or Linux? It is possible the New VM Wizard in these products do not properly set keyboard profile of Mac OS X VMs.
Can you give me an example of keys that don't work, so I can experiment with this?


UK keyboard has \ and | next to Z key these map to the key next to the 1. Also using a Logitech S530 keyboard has similar mapping problems. It may be possible to re-map but was acknowledged by VMware to me as a problem on Fusion. Windows Workstation 7.1 being used. You can set the the ID via VMX parameters for a different keyboard and mouse but not used inside Mac OS X.. Problem is basically ISO versus ANSI keyboard defs. Hey, if you can fix it would be very happy, but tried all sports of things including Ukelele to fix it.

Can I suggest we post the contents of this post here so that you get the best data for debugging. http://www.insanelym...p;#entry1189918. I am very happy to start helping out on this thread if you want.





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