Jump to content

Run Vanilla OS X El Capitan, Sierra or High Sierra in VMware Workstation 12 on a Windows Host

VMware Workstation 12 Player Windows Virtual Machine Vanilla VMware unlocker Clover El Capitan macOS Sierra macOS High Sierra

  • Please log in to reply
43 replies to this topic

#41
fusion71au

fusion71au

    InsanelyMac Legend

  • Gurus
  • 882 posts
  • Gender:Male

How to install High Sierra on a VMware Guest (without access to Mac or App Store Installer.app)

 

Pre-requisites
1)  On an 8GB NTFS formatted USB, Vol Name "DATA",  a "SharedSupport" folder was prepared as described in my guide here, containing the following 6 installer files downloaded from Apple's Software Catalog ....

Spoiler

2)  macOS guest created in patched VMware Workstation Player (unlocker patch by @Donk), as described in post#1.  Attached blank virtual disk macOS.vmdk of 50GB size.

 

Spoiler

 

Procedure
1)  Download & extract dmg2img-1.6.7-win32 and qemu-img-win-x64-2_3_0 to USB\.  For my system, the drive letter was H:

 

Attached File  SharedSupport folder on NTFS formatted USB1.png   60.11KB   2 downloads

Attached File  SharedSupport folder on NTFS formatted USB2.png   62.69KB   2 downloads

 

2)  Convert BaseSystem.dmg to BaseSystem.img with dmg2img.  Open a Windows command prompt and type the following commands

H:
cd \dmg2img-1.6.7-win32
dmg2img.exe \SharedSupport\BaseSystem.dmg \qemu-img-win-x64-2_3_0\BaseSystem.img

Spoiler


3)  Change to the \qemu-img-win-x64-2_3_0 directory and convert BaseSystem.img to BaseSystem.vmdk with qemu-img.exe (commands below will create BaseSystem.vmdk in the VMware macOS guest folder) ...

cd \qemu-img-win-x64-2_3_0
qemu-img.exe convert BaseSystem.img -O vmdk Path_to_your_VMware_macOSGuest_folder\BaseSystem.vmdk
Spoiler


4)  Attach BaseSystem.vmdk to your macOS guest as an extra hard drive.  When you see the message "Convert existing virtual disk to newer format?", click convert ...

 

Spoiler

5)  Boot the VM to macOS Utilities screen.  Attach DATA usb with \SharedSupport files to VM and open Disk Utility, show all drives ---> will see blank 50GB drive for installation, 2GB "OS X Base System" and 8GB USB "DATA"

 

Spoiler

6)  Erase blank drive, format it to HFS+j named "Macintosh HD"....

 

Spoiler

7) Close DU and start Terminal. 

 

Spoiler

 

We will build the full "Install macOS High Sierra.app" = 5GB+ on "Macintosh HD", by copying both the "small" installer app = 15MB (on "OS X Base System") and the SharedSupport folder from the NTFS volume (mounted on /Volumes/DATA)...

-bash-3.2# cd /
-bash-3.2# cp -R Install\ macOS\ High\ Sierra.app /Volumes/Macintosh\ HD/
-bash-3.2# cp -R /Volumes/DATA/SharedSupport /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/
Spoiler

8)  Start installation with the startosinstall utility...system will reboot --->complete installation normally...

 /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --volume /Volumes/Macintosh\ HD/ --converttoapfs NO --applicationpath /Volumes/Macintosh\ HD/Install\ macOS\ High\ Sierra.app

Note:  Make sure --applicationpath is pointing to the full installer app (>5GB) on the "Macintosh HD" volume and not the partial app on "OS X Base System", otherwise you may get the error "could not get license agreement".

 

:)

Spoiler

 

Simplified Procedure with Preformatted macOS.vmdk disk, Clover r4332 in EFI and 50GB HFS+j "macOS" volume with startosinstall.command script to build the Installer.app + run startosinstall

 

You can replace steps 6-8 in the guide above if you use the preformatted macOS.vmdk disk file (attached to this post) instead of creating a new blank disk to attach to your VM.

6.  Open terminal from the Utilities Menu and type

cd /
ls -l /Volumes

to confirm that the following Volumes are attached to the VM:  "OS X Base System", "macOS"=HD target, and "DATA"=8GB or larger USB with "SharedSupport" folder...

 

Spoiler

7)  Launch the startosinstall.command script to assemble the Installer App on the macOS target volume and start the startosinstall utility...

-bash-3.2# cd /Volumes/macOS/
-bash-3.2# ./startosinstall.command

The process may take a while.  One way you can see its progression is to look at the size of the macOS.vmdk in the host VM folder (approx 5.2GB when the Installer App is fully assembled)...

 

Spoiler

8)  The Apple Software Licence will appear in the terminal window.  Type A to agree ---> install files will be placed in /Volumes/macOS/macOS Install Data ---> System will reboot after 30 seconds --> Phase 2 installation extracting installer pkg files from /macOS Install Data ---> Final reboot into completed system, ready to setup new user account...

 

Spoiler

9)   If you subsequently want to start the VM through Clover, click in the VM window when it is still blank and quickly press the <F2> key to access the VMware Boot Manager ---> select EFI Hard Drive ---> Boot macOS from macOS at the Clover Main Menu.  Clover nicely fills in the System's details, including a serial number (you can change this later + add custom MLB + ROM for iMessage by mounting the EFI partition and editing Clover's config.plist)...

 

Spoiler

Attached Files



#42
kebjjjjoooooa

kebjjjjoooooa

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

I get these messages on VMware 14: EFI VMware Virtual SATA Hard Drive (0.0) ... unsuccessful EFI VMware Virtual SATA CDROM Drive (1.0) ... unsuccessful. Any suggestions?



#43
fusion71au

fusion71au

    InsanelyMac Legend

  • Gurus
  • 882 posts
  • Gender:Male

@kebjjjjoooooa,

 

It means the system cannot read your install media.

  • Ensure that you download only from official sources ie the installer.app from App Store or BaseSystem.dmg from the Apple Software Catalog URL.  You can compare the SHA1 checksum of your InstallESD.dmg and BaseSystem.dmg (Hint: right click on the installer.app in Finder and "Show Package Contents") with the correct ones at this website.

          Eg for "Install macOS High Sierra.app" 10.13.1_17B48, determine its SHA1 in Terminal..

 

fusion71aus-iMac:~ fusion71au$ shasum /Volumes/Macintosh\ HD/Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg 

d815748c242fbbe35754a8f37aea1cfbc7e919f6  /Volumes/Macintosh HD/Applications/Install macOS High Sierra.app/Contents/SharedSupport/InstallESD.dmg

fusion71aus-iMac:~ fusion71au$ shasum /Volumes/Macintosh\ HD/Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg 

b38e5f4daa014d324f1a78f91c1f30f6d68289ef  /Volumes/Macintosh HD/Applications/Install macOS High Sierra.app/Contents/SharedSupport/BaseSystem.dmg

 

  • Prepare the install media with the tools provided/described in post#1 (Mavericks, Yosemite, El Capitan ISOs), post#13 (Sierra ISO), #30 & post#41 (High Sierra ISO or vmdk from BaseSystem.dmg).


#44
elryno_dcb

elryno_dcb

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

I get a boot loop. Looking through the vmware.log file, I see several suspicious things. Any ideas what could be wrong?

2017-12-08T14:24:20.932-07:00| vcpu-3| W115: DarwinPanic: panic(cpu 3 caller 0xffffff801ca9e657): "a freed zone element has been modified in zone kalloc.48: expected 0xc0ffee3c8f1b6b4c but found 0, bits changed 0xc0ffee3c8f1b6b4c, at offset 0 of 48 in element 0xffffff80306634e0, cookies 0x3f0011bcbf7d52bc 0x53521d4324e2ff9"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.31.3/osfmk/kern/zalloc.c:1120

2017-12-08T14:24:20.935-07:00| vcpu-0| W115: PVNVRAMSetMacOSROM: Unable to retrieve host value.
2017-12-08T14:24:20.935-07:00| vcpu-0| W115: PVNVRAMSetMacOSMLB: Unable to retrieve host value.

2017-12-08T14:24:51.761-07:00| vcpu-1| W115: DarwinPanic: panic(cpu 1 caller 0xffffff801c16f2e9): Kernel trap at 0xffffff801c60c056, type 14=page fault, registers:
2017-12-08T14:24:51.763-07:00| vcpu-0| I125: DEVICE: Resetting device 'ALL'.






Also tagged with one or more of these keywords: VMware Workstation 12 Player, Windows, Virtual Machine, Vanilla, VMware unlocker, Clover, El Capitan, macOS Sierra, macOS High Sierra


2 user(s) are reading this topic

1 members, 1 guests, 0 anonymous users


© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy