Jump to content

How to Install Retail OS X 10.6 "Snow" and OS X 10.7 "Lion" under VMware ESXi 5


  • Please log in to reply
169 replies to this topic

#121
eddiekotletti

eddiekotletti

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

Is build ESXi, 5.0.0, 515841 supported by the unlock-all-v102?


After several attempts, I succeeded installing retail 10.7 on EXSI 5.0.0, 515841 + unlock-all-v102 on a MacPro3,1. I'm not sure if I really needed the unlocker since I'm on Apple-Hardware, but i think it helped. I converted the retail lion-Install.dmg into a .iso and uploaded it to the exsi's datastore (via VSphere) and attached it as DVD to the VM. I think I had to boot the dvd via EFI-Shell fs0:\boot.efi -v npci=0x2000 .

I think applying the latest Exsi-Patch and using the Unlocker seemed to have solved all my problems, that I had before (booting from passthru-devices, physical DVDs on the host etcetera).

#122
kalcla

kalcla

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

assuming you are using a Lion OSX USB Stick what I had to do was the following (ensure that under General options you have version set to "Apple Mac OS X 10.7 (64-bit)"
1) Right click on your VM and edit Settings --> Options --> Boot Options --> Check mark Force EFI Setup "The next time the Virtual machine boots, force entry into the EFI setup screen."
2) Power on Virtual Lion --> Click on Console --> Boot Manager --> EFI Internal Shell
3) (My Lion USB Stick shows up as fs0) at the Shell> type fs0: press enter
4) change directory by typing cd /usr/standalone/i386 and press enter
5) you should now see the prompt fs0:usrstandalonei386> type boot -v npci=0x2000 and press enter

Hope that helps


but if don't have a mac how can I create the Lion OSX USB Stick?

thanks

#123
FlexyZ

FlexyZ

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Hi

I dont think you need the unlocker script on apple hardware - but not 100 sure :)

if you have the Lion stick just mount it when in the EFI bios - from client machine - really slow but it works.

#124
eddiekotletti

eddiekotletti

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

I dont think you need the unlocker script on apple hardware - but not 100 sure :)

That's what I thought, but when I was already about to give up, I used the unlocker script and it - at least it seemed to me - made a difference. I used the InstallESD.dmg converted to iso and attached it. Unfortunately a friend of mine who is about to give me a VM on his vSphere Server is still on EXSI 4.1 and won't upgrade to 5.0.0 any soon. I found it hard to install Snow Leopard on 4.1 but I guess Lion will never work well, would it ? I bought Lion Server but can't afford Snow Leopard Server. I found nawcomModCD.iso and it's modbin_kernel helpful to install SL on ESXi 4.1 where Donk's/Alberts darwin.iso worked well for me only after the install (maybe I should have boot another kernel than mach_kernel from the start). If I knew more about choosing the right kexts, making a boot-ISO or even building a darwin_kernel, I'd like to investigate more in order to get Lion running on esxi 4.1, but I think I won't find the time. Since it works nicely with 5.0.0 the effort is not much worth it.

#125
mwmnj

mwmnj

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
Hey everyone, I got OSX Lion installed on VMWare workstation and it is running very smooth. I used this tutorial from youtube to help me do it:http://www.youtube.com/watch?v=xx8DppzIqTs

The only problem I am having is total lag when videos are playing. At first it wouldnt play videos at all on youtube, but right clicking the video, going into settings, and unchecking hardware acceleration stopped that.

Anyone have a fix to make video on this thing smooth like butter?

#126
aprodigy

aprodigy

    InsanelyMac Legend

  • Retired
  • 524 posts
  • Gender:Female
  • Location:germany, hamburg
@flexyz and others: interesting. having the same problem as you (_cst evaluation failed) and hanging up from there. however, i'm coming from a different side since i'm using a xserve 2,1 (yea, i know, should be 3,1, but 10.6.0 up to 10.6.7 work all well without any hassle on that machine). i tried to identify the problem but not a single thing did help along the way (well, booting into -x has always been working fine though), i.e.:

*) used different kernels and extension sets (modbins, nawcoms, stock 10.6 up to 10.6.7)
*) got rid of startup items, launch daemons / agents and such things
*) played around with esxi's vmx properties for hours
*) removed nearly everything possible (usb, ethernet, floppy, serial et cetera pp) from the machine configuration
*) tried the esxi-patch 1.02 even though i was expecting it not to help me here

i was even desperate enough to put fakesmc in place but that's didn't make anything better either.

does any one of you have a clue what's going on here?

i haven't seen a single (halfway) obvious error in any log nor is any kernel i tried panicing and again: every os x server release from 10.6.0 up to 10.6.7 works very well on that 2,1 xserve.

what did i miss that has been changed with 10.6.8?

-aprodigy

#127
yozh

yozh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 245 posts
Any one with 10.7.3 working?

#128
Herb_Davis_Y2K

Herb_Davis_Y2K

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
ESXi 5.0.0 515841
Installed 10.7.3 Combo update
Patched AppleLSIFusionMPT.kext

Works on my end


Edit: Updated ESXi to 515841

#129
Wiedzmin479

Wiedzmin479

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Hi.
Is it possible to install VMWare ESXi on USB drive, than put on this drive Mac OS (special image for VMWare or self-made, doesn't matter) or put Mac on additional USB drive or external HDD and boot it on any PC/Mac?
I know, that ESXi could be installed on USB drive, but I have doubts will it run Mac OS on any PC (with non-server hardware).
Thanks a lot for your help.

#130
giando76

giando76

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts

I would to install Mac OS X 10.7 Lion on ESXi 5 and I followed this guide



http://tickett.wordp...-5/#comment-585

but i can't understand how be possible booting from usb in apple virtual machine. I can't find specific option in the EFI.



Can someone explain me how do it?




Thanks


G.








Ps: My Server:


Processor: Intel Core 2 Quad Q9300



Motherboard: Intel DQ45CB





RAM: 8GB


HDD: 6x250GB WD Scorpio Black



ODD: DVD-R/RW/DL Slim




#131
SUPERMAC512

SUPERMAC512

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Hello

I like to install Mac OS X Lion (iso image) on my ESXi 5 Server (Version 623860).

No Matter what i Try, (Boot with verbose mode, or reconfig the vmx File) the power up stops at on same point.
I Power on the vm, After the gray Apple it shows me a white screen with the "spinning wheel of death".

Thats all, no CD Menu, no Error message

What can i do?

Attached File  Bildschirmfoto 2012-03-26 um 14.13.54.png   12.44KB   21 downloads

#132
MSoK

MSoK

    InsanelyMac Legend

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

Hello

I like to install Mac OS X Lion (iso image) on my ESXi 5 Server (Version 623860).

No Matter what i Try, (Boot with verbose mode, or reconfig the vmx File) the power up stops at on same point.
I Power on the vm, After the gray Apple it shows me a white screen with the "spinning wheel of death".

Thats all, no CD Menu, no Error message

What can i do?

SM512,

Not sure what the problem is, we probably need some more information, i.e. hardware, vmx file and log files (in text format please), I have in the last few days rebuilt my ESXi Server from scratch with Update 1, Build 623860 and the 1.0.2 "all" unlocker, and installed my Lion 10.7.3 dmg without any issues. The dmg was just copied out of the content of an App Store download in a Snow Leopard VM installed fresh, again on ESXi 5.0.0 U1 Build 623860.

#133
SUPERMAC512

SUPERMAC512

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

SM512,



Not sure what the problem is, we probably need some more information, i.e. hardware, vmx file and log files (in text format please), I have in the last few days rebuilt my ESXi Server from s...



Hello

Thanks for fast Replay.

I found the issue.

First I start the uninstaller of the newest Patch and after this I installed it again. I rebooted the Host. After this the VM starts the Mac OS X Lion 10.7.0 CD (Image).
I see the Harddrive and installed the System without any errors.
I also started the Apple Software Update.
Now it works with newest Version of Lion (10.7.3) and Lion Server Tools installed.

Hardware Details:
Intel Modular Server
with 32GB RAM, Intel XEON Server Prozessor
VM vSphere 5 update 1


Regards

Florian

#134
conte

conte

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Hi all,
I was wondering if this has been tried before and how to solve this issue:
I am on ESXI 5.0.0, succesfully installed and upgraded OS X to 10.6.8. I have (I think successfully, see second screenshot below) done a PCI passthrough of my Nvidia Quadro 2000 to the OS, however I don't think this is being fully recognized as the system is still using the emulated ESXI video card (firstscreenshot) and i get no signal through the DVI in the card.
I have tried some of the methods (aquamac/gfxutil and EFIstudio, downloaded Tonymac's drivers for Nvidia) that actually work if I do a 'straight' OS X install on the machine - but do not seem to work on the vanilla install on ESXI.
Any ideas on how to force OS X to recognize and use my card?

My goal is to run Win7 and OS X in parallel and full functionality with 2 Quadros (passthrough worked after a bit of fiddling in Win7 and I have as far as I can see full card functionality) so this is a case of being sooooo close yet so far away. Any help would be much appreciated!
Thanks again for all your efforts in getting OS X to ESXI

Attached Files



#135
neuroman

neuroman

    InsanelyMac Protégé

  • Members
  • Pip
  • 22 posts

Hi all,
I was wondering if this has been tried before and how to solve this issue:
I am on ESXI 5.0.0, succesfully installed and upgraded OS X to 10.6.8. I have (I think successfully, see second screenshot below) done a PCI passthrough of my Nvidia Quadro 2000 to the OS, however I don't think this is being fully recognized as the system is still using the emulated ESXI video card (firstscreenshot) and i get no signal through the DVI in the card.
I have tried some of the methods (aquamac/gfxutil and EFIstudio, downloaded Tonymac's drivers for Nvidia) that actually work if I do a 'straight' OS X install on the machine - but do not seem to work on the vanilla install on ESXI.
Any ideas on how to force OS X to recognize and use my card?

My goal is to run Win7 and OS X in parallel and full functionality with 2 Quadros (passthrough worked after a bit of fiddling in Win7 and I have as far as I can see full card functionality) so this is a case of being sooooo close yet so far away. Any help would be much appreciated!
Thanks again for all your efforts in getting OS X to ESXI


Unless you are using a natively supported video cards, you are going to have a hard time getting this card working. The way it's done on Hackintoshes is using the boot loader to "inject" the card information but using ESXi you loose that ability. The only thing I can think of trying to install the latest NVIDIA drivers for QUADRO cards which worked for my GTX460 SE in a non-vitualized setting.
Hopefully you will get it working.
Good luck.

#136
beamerblvd

beamerblvd

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
So, I successfully got Mac OS X 10.6 Snow Leopard and Mac OS X 10.7 Lion installed and running smoothly, with VMware tools, in ESXi 5.0 Update 1 on a Dell Precision 490 (2 x dual-core Intel Xeon 5160 processors, 32GB RAM capacity, 12GB RAM installed, Perc 5/i RAID5 across 5 1TB drives + battery backup module).

However, it was not simple, and it was not without some pain, so I wanted to share my experiences here so that others might benefit from it, and also so that Donk or MSoK might point out if I made anything harder on myself than it needed to be.

Installing ESX 5.0 Update 1 was a breeze. I actually already had 4.1 Update 1 installed, and upgraded just so that I could run Snow and Lion on it. I've tried for years to run Leopard and Snow on 3.5 and 4.0 and 4.1 using three other methods, but none of them worked before. This is the first one that worked.

Installing Donk's unlocker on ESXi was a breeze. Done and rebooted in 5 minutes.

My first attempt at a Snow Leopard install was a fail. I attached the ISO to the DVD and booted, but I could only get it to go the grey Apple screen. After two or three minutes, the Apple turned into the dreaded circle with a slash through it. After looking around a bit, I decided maybe my problem was the CPUID mask (even though I didn't have one of the CPUs listed as problem CPUs, I did have a similar one), so I decided to give those a try.

By the way, for you ESXi users who DO actually need it, there is a much easier way to set the CPUID mask for ESXi. Instead of adding this to the VMX file:

cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"

Which requires removing the VM from inventory, downloading the VMX file, changing it, re-uploading it, and re-adding the VM to inventory, there's a GUI interface for changing it. Edit the VM settings with the VM powered off, click on the Options tab, click on the CPUID Mask menu item, click Advanced, scroll to the bottom of the window on the Virtual Machine Default tab, and under "Level 1" set "eax" to 0000:0000:0000:0001:0000:0110:1010:0101. After clicking OK and OK, the correct directive will be added to the VMX file for you. Much easier.

However, this did not successfully fix the boot problem. So after a bit more looking around, I figured out that I could delay the boot time (I set it to 5000 ms) and press F8 on the VMware screen to get to the EFI menu. I booted from the DVD in verbose mode using the EFI menu:

- Select "Boot Manager" and then "EFI Internal Shell (Unsupported Option)"
- Type the following commands:

Shell> fs0:
fs0\:> cd \usr\standalone\i386
fs0:\usr\standalone\i386> boot -v

Now I could see what the problem was: "Still waiting for root device" gets printed over and over again. Removing the CPUID mask did not resolve the issue, so I knew that wasn't the cause and that I didn't even need the CPUID mask, if I'd gotten that far. After looking around about the "Still waiting for root device" message, I discovered (thanks to this blog) it didn't like my IDE virtual CD/DVD drive. What to do? I removed the CD/DVD drive and tried to re-create it as SCSI, but found that my only options were IDE 0:0, IDE 0:1, IDE 1:0 and IDE 1:1. There were no SCSI options like some had suggested.

So I popped my retail SL disk into my host DVD drive, removed the CD/DVD drive and added a virtual SCSI device pointing to my real DVD drive, but no matter what I did or how long I waited or anything, my virtual machine could not find the DVD to even boot from it (so I wasn't even making it to the gray Apple screen now ... backwards progress). After a bit more reading, I decided to try my USB DVD drive. My understanding was that the USB drive was supposed to be set up the same way ... as a virtual SCSI device pointing to the USB drive; however, the USB drive was not showing up as an option on my virtual SCSI device.

This knowledge base article set me straight, explaining that you can't hot plug USB drives in ESXi. As an alternative to restarting the host, running this command on the host sufficed (and, if you're comfortable enough running Donk's unlocker, you should be comfortable running this):

/etc/init.d/hostd restart &

I added the SCSI device and there was my USB DVD drive. I booted the VM and voila, I could boot from the retail install disk. Within 30 minutes I had Snow Leopard installed, running and updated to the latest version.

Now, I could have cloned the machine and upgraded the clone to Lion, but I'm a stickler for clean installs; I don't like upgrading. So I created a Lion boot disk using these instructions, then created an ISO from that boot disk. As expected, Lion would not boot from the virtual CD/DVD ISO (I had to try), so I popped it in the USB DVD Drive and, once again, within 30 minutes I had a running, updated Lion install.

VMware Tools installed on both machines seamlessly via the "Install VMware Tools" menu in vSphere Client.

So there you have it. Hopefully this will help someone else. And maybe Donk or MSoK could point out one or more stupid mistakes I was making that would have made this whole process easier otherwise.

#137
Ruy_Go

Ruy_Go

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
I have a ESXi 5.0.0 Build 469512 running on Intel Core i7 2600k // 8GB DDR 3 // Intel MotherBoard DH61CR //
I've success to Install OSX Snow Leopard 10.6.3 on this scenario.
So to make this VM, i followed this steps.

1 - Download the file: unlock-all-v102.zip to ESXi datastore and Expand the file.
2 - Enter on unlock-all-v102/esxi folder and run install.sh
3 - Reboot the server.
4 - Create the VM with recomended installation
5 - With ssh, edit the vmx file and put this code into the file: cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"
6 - Save and quit of editor.
7 - Finally Edit the VM with vSphere client.
7.1 - Click on Edit Settings, and Add a SCSI Device.
7.2 - Choose your DVD Rom Drive, And set the Device Node to: SCSI (0:1)
8 - Power On the Virtual Machine and when the VMWARE Logo appears, hit F8
9 - Select Boot Manager
10 - And Finally Select EFI SCSI CD/DVD Drive.

Install Your OSX and be Happy. :D

Sorry about my poor english.

If u need help just contact-me at: umhost.com.br
Thank you all!

#138
SUPERMAC512

SUPERMAC512

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Hello


Today I test the new update from Lion Server (10.7.4). Installation works fin but after Reboot the server comes not up.

I Boot in Verbose Mode. There Start Process stopped at PCI Configuration, thats all.
I booed the Recovery Image and Start Volume and Permission Rep. But nothing changed.

Now i go Back to 10.7.3 Server!

Hardware Details:
Intel Modular Server
with 32GB RAM, Intel XEON Server Prozessor
VM vSphere 5 update 1


Regards

Florian

#139
tinue

tinue

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
Could anyone install Lion (Server) on an AMD Turion CPU? I run ESXi 5 Build 623860, on an HP MicroServer N40L.
It doesn't even load the kernel:

efiboot loaded from device: Acpi(PNP0A03,0)/Pci(11|0)Pci(2|0)Isb(0, 0)HP(Part
2,Sig[many numbers]
boot file path: \/boot.efi
.Loading kernel cache file '\kernelcache'...
..................
root device uuid is '[many numbers]'

and then nothing.

The 10.7.3 install image is on a USB stick which is properly accessed (i.e. without USB stick it stops at the EFI boot screen, with USB sticks it gets stuck at the apple logo screen).
boot -v gives the above few lines.

My guess is that it doesn't like the CPU.

The same Stick was used successfully on another (Intel i7-2600) PC with VMWare Workstation 8 to install Lion Server.

Thanks! Martin

#140
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,941 posts
  • Gender:Male
  • Location:Manchester UK
Not going to work on AMD.





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