26 Şubat 2019 Salı

Mac OS 10.14 Mojave - VMware 15 DIY Guide

Mac OS 10.14 Mojave - VMware 15 DIY Guide (no 3rd party images)

Hi! I usually don't fiddle much with Mac OS but I always like to have a Mac virtual machine ready on my Windows Laptop in case I need ...
 MSI w/ i7-7700HQ w/ Intel 630 & 1060 6GB Hackintosh?
 Hackintoshing an older AMD laptop. Crazy?
 Will this old computer hackintosh?
Hi!
I usually don't fiddle much with Mac OS but I always like to have a Mac virtual machine ready on my Windows Laptop in case I need to demonstrate some procedure on a Mac. Since all "Mojave in VMware" guides that I could find all required to either download a 3rd party image or were incomplete, I thought I'd just share my successful installation procedure. The only thing you will need is an existing Mac OS system (virtual or real) to download the Mojave installer from Apple.
We are going to create our own installation iso and set up our own VM.

Creating the installation media image iso

  1. On your existing Mac system, download Mojave from the App Store (and cancel the installation process once it's finished downloading) or perhaps this tool may help you if that option falls flat for you for some reason.
  2. Create a virtual disk image .dmg to fit the installation media. This command will do the trick: hdiutil create -o /tmp/Mojave -size 8000m -layout SPUD -fs HFS+J
  3. Mount it using this command: hdiutil attach /tmp/Mojave.dmg -noverify -mountpoint /Volumes/install_build
  4. Step 5 failed for me on the first attempt and would destroy the integrity of the image. A random fix I found was to open the finder and rename the mounted volume from "Untitled" to something else, e.g. "Mojave".
  5. Use the createinstallmedia tool that is packed in the Mojave installer that you downloaded from the AppStore to write the Mojave Installer to the virtual disk image we just created. remember to use sudo!sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/Mojave Note that this is just the command template and that the Mojave Installer may be named slightly different and that you have to replace Mojave in the very end with whatever the virtual disk volume is called. ls /Volumes may help here.
  6. Convert the .dmg to a .iso by running: hdiutil convert /tmp/Mojave.dmg -format UDTO -o ~/Desktop/Mojave
  7. Give the iso the proper extension by removing .cdr from the name. (by hand or using the command: mv ~/Desktop/Mojave.iso.cdr ~/Desktop/Mojave.iso. You now have the final installation image on your desktop. Copy it to the machine running VMware.

Creating the virtual machine inside VMware

  1. Update to a VMware version that supports Mojave (I don't know which version that is, 15 definitely works).
  2. If you haven't already, unlock VMware on Windows to support Mac OS clients using this tool by DrDonk / Dave Parsons. Note the "Releases" button in the top middle.
  3. Create a new virtual machine saying "install later", Mac OS Operating System and something like a Quadcore CPU, >= 4GB RAM and >= 40 GB SCSI/SATA HDD.
  4. After the machine is set up, go to the VM setting and enable "Virtualize Intel VT-x/EPT or AMD-V/RVI" for the CPU.
  5. Right click on the VM and do "Open VM directory". Open the .vmx file and add these lines: smc.version = "0"and ahci.port.hotplug.enabled = FALSE. The first line you are likely familiar with from older tutorials, the second line ensures that the HDD is correctly identified as an internal system drive (which may cause update problems otherwise).
  6. Go to the VM settings again and mount the previously created iso.
  7. Power up the VM. The installer should show. Go to the disk doctor first and partition the virtual hard drive appropriately (Mac OS Extended, Journaled). Encrypted drives did not work for me.
  8. Close disk doctor and install Mojave normally.
That's it! Hopefully you got your Mojave VM running!
Credits
Proof
PS: I wrote that guide from memory, if you find errors please let me know

https://www.iatkos.in/2018/12/mac-os-1014-mojave-vmware-15-diy-guide.html

Hiç yorum yok:

Yorum Gönder