Jump to content
fusion71au

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

57 posts in this topic

Recommended Posts

@fusion71au

 

After following the guide on installing High Sierra without access to a mac I couldn't get it to work. When I came to the step to start the installation i got the error "Could not get license agreement". Didn't matter if i used the simplilfied or the advanced version, I get the same error. (Yes, I made sure that the application path pointed to the full installer on Macintosh HD)

 

Any ideas?

 

Using:

VMWare Workstation Player 14.1.2

Unlocker 2.1.1

Share this post


Link to post
Share on other sites
Advertisement
4 hours ago, tgreedy said:

@fusion71au

 

After following the guide on installing High Sierra without access to a mac I couldn't get it to work. When I came to the step to start the installation i got the error "Could not get license agreement". Didn't matter if i used the simplilfied or the advanced version, I get the same error. (Yes, I made sure that the application path pointed to the full installer on Macintosh HD)

 

Any ideas?

 

Using:

VMWare Workstation Player 14.1.2

Unlocker 2.1.1

 

Usually means the downloaded InstallInfo.plist was not edited correctly. 

 

Post #1 in that thread provides the correctly edited file InstallInfo.plist_edited_10.13.5.zip.  Replace the file in /Install macOS High Sierra.app/Contents/SharedSupport with the provided one...

 

 

Share this post


Link to post
Share on other sites

I'm trying to get High Sierra running in a VM on a Surface Go. I know it's a stretch. Hoping for some advice, just in case.

 

The problem I have pops up immediately when I start the VM for the first time. It's on the first screen where you see the apple logo, before I even get to the install process. The status bar on that screen builds to maybe 5%, then the VM reboots. It reboots again and again at that same screen.

 

Is this because the processor (Intel Pentium Gold 4415Y) is a 2-core processor? The tutorial says a 4-core processor is required. Any advice on a way to work around this requirement, or is it just not possible?

 

I tested everything on a Surface Pro i7 before buying the Surface Go. I wanted to make sure I could get this to work, in general. It all worked on the Surface Pro. I tried moving the VM that I built on the Surface Pro over to the Surface Go, but that VM won't boot. It caused a kernel panic on boot.

Share this post


Link to post
Share on other sites

For the life of me I cannot get a working High Sierra ISO using the script given by Guru, I usually get a "This is not valid installation media" error when following the instructions directly however when having the High Sierra installer download the files then copying said files in to the app under SharedSupport I can get the ISO file to create "properly" but when I try to use it to install I get a crash about 5 seconds in to the install and a reboot saying that it cannot install High Sierra.

Share this post


Link to post
Share on other sites
Posted (edited)

Update for macOS Catalina 10.15beta
To prepare the Catalina ISO on your Mac or Hack, you can use my macOS_iso_creator.tool.


1.  On your Mac or Hack, download/copy "Install macOS Catalina Beta.app" into your Applications folder.  The app can be obtained from the App Store by enrolling in Apple's Public Beta program or directly from the software catalog with @crazybirdy's installScript_fullapp.zip.

 

Note:  You can verify the installer app by checking the SHA1 of InstallESD.dmg and BaseSystem.dmg (inside the \Install macOS Catalina Beta.app\Contents\SharedSupport folder) with the correct ones at this website.


2.  Download and unzip the attached macOS_iso_creator.tool into your ~/Downloads folder:

 

For DP2 macOS_iso_creator_19A487l.zip  

For DP3 macOS_iso_creator_19A501i.zip

For DP4 macOS_iso_creator_19A512f.zip

 

The commands in this executable script are shown below for informational purposes.  Note: you will need approx 18GB of free space on your hard disk for the script to complete.

Spoiler

#!/bin/bash
 
 # Create macOS sparseimage of 8316mb with a Single Partition - Apple Partition Map
 hdiutil create -o /tmp/macOS -size 8316m -layout SPUD -fs HFS+J -type SPARSE
 
 # Mount the macOS sparseimage
 hdiutil attach /tmp/macOS.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build
 
 # Restore the Base System into the macOS Blank sparseimage
 asr restore -source /Applications/Install\ macOS*.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
 
 # Copy Install App to Base System
 cp -rp /Applications/Install\ macOS*.app /Volumes/macOS\ Base\ System
 
 # Copy working prelinkedkernel and copyprelinkedkernel script to Base System
 cp ~/Downloads/macOS_iso_creator/prelinkedkernel /Volumes/macOS\ Base\ System/System/Library/PrelinkedKernels/prelinkedkernel
 cp ~/Downloads/macOS_iso_creator/copyprelinkedkernel /Volumes/macOS\ Base\ System/usr/bin/copyprelinkedkernel

 

# Unmount the Base System image
 hdiutil detach /Volumes/macOS\ Base\ System
 
 # Convert the macOS spareseimage to ISO/CD master
  hdiutil convert /tmp/macOS.sparseimage -format UDTO -o /tmp/macOS.iso
 
 # Rename the macOS ISO image and move it to the desktop
  mv /tmp/macOS.iso.cdr ~/Desktop/macOS.iso
 
 # Delete macOS.sparseimage file
  rm -f /tmp/macOS.sparseimage

 

3.  Open macOS terminal, then run the following commands to execute the script:

cd ~/Downloads/macOS_iso_creator
chmod +x macOS_iso_creator.tool
./macOS_iso_creator.tool

4.  At the end of the process, you will have a macOS.iso on your desktop - copy this onto a 16GB or larger exFAT formatted USB for use on the PC Host later.

 

 

 

Installation

The VMware guest settings from post#1 still work for Catalina 10.15beta (VMware Workstation 12.5 or newer and @Donk's latest unlocker, Apple macOS as the Guest operating system and 10.12 or newer as the version). 

 

Workstation 15.0 and Unlocker v3.0 support Mojave OOB but unfortunately does not support host CPU older than SandyBridge.  Also, it seems VMware 15 presently cannot boot the native prelinkedkernel found in macOS Catalina's BaseSystem/installation media without panicking.  Temporarily changing the guest OS type from macOS to Windows 10 X64 can bypass this panic and enable the second installation phase to complete.  Paradoxically, once the prelinkedkernel is rebuilt on a completed installation (at the end of the install process), the VM is able to boot with guest setting back to macOS!  The macOS ISO prepared above has the plk from a completed install included.

 

  • Add the line bios.bootDelay = "3000" to the guest vmx file ---> enables you to access VMware's BIOS settings and change boot priority after pressing the <F2> key at the VMware logo.
  • If the host has sufficient memory, I also recommend allocating 3GB or more for a Catalina VM guest.

 

1.  Attach the iso to the Virtual Machine on the PC Host as a Virtual CD/DVDROM.  I have also provided a blank, HFS+ formatted disk image, "macOS.vmdk" in attached macOS.zip, with pre-installed Clover r4972 in its EFI System Partition ---> can use as the target disk.  

This enables the installation if your VMware Workstation lacks apfs support (earlier than ver 15).

2.  Start the VM which should boot to macOS Utilities on the CD/DVD ROM.  Choose "Reinstall macOS" and the blank macOS.vmdk as the target for the install.

3.  At the first reboot, press <F2> at the VMware logo to boot to the virtual CD/DVDROM again.  Open terminal, typing copyprelinkedkernel followed by <Enter> ---> will replace the plk in /macOS Install Data/Locked Files/Boot Files to enable the second phase installation (without having to change guest OS type to Windows 10 X64)...

 

Spoiler

 

634279901_VMwareBootManagerBootfromCDROM.thumb.png.c3beb452e3e8e3b3d951cd287e4bd456.png

748350500_VMwareTerminal.png.9ee8a1c828aeebbceda824078996b492.png

 

1828910223_VMwareTerminalcopyprelinkedkernel.png.ca4321ad2237737ebe6872fe5b78b5c0.png

 

 

4.  The second phase installation should now proceed automatically after the reboot ...
 

Spoiler

 

463953341_SecondPhaseInstallwith15minremaining.thumb.png.04c3ff611c4963313fcc8f3785d353cc.png

 

 

 

 

5.  Final reboot into the third phase ---> rebuilds kext caches/plk to finalize the install and sets up new user ...

 

Spoiler

792387999_CloverMenuChooseCatalina.thumb.png.bdab7cadb0c8eea56e19e3117e97a974.png505288981_ThirdPhaseInstallRebuildingcaches.thumb.png.9567c9dec66b51a664d0d691f318eb14.png1501368181_ThirdPhaseInstallSetupNewUser.thumb.png.d4810e8b3b288b4cb11a18791020388e.png

 

6.  End Result after installing VMware tools...

 

macOS_catalina_apfs_orig.thumb.png.e0a4f1a38d1d39c506728b9295e6ac77.png...

 

 

Edited by fusion71au
Update for DP4_19A512f

Share this post


Link to post
Share on other sites
Posted (edited)

1.  On your Mac or Hack, download/copy "Install macOS xxx.app" into your Applications folder.

 

---> Sorry, no idea what this file is, or where to get it. Care to elaborate please?

EDIT: OK, I think I get it now - I am seeing an Install macOS Mojave.app with size around 6 GB on one of my older VMs! So, you likely mean a similar file but for Catalina Beta. How/where to get this, please? 

Also, what exact size would it be? 

To answer myself - seems this is gotten from App Store app on older macOS versions (and differently on Mojave). And RE size, looks like it will be about 6.45 GB when done, at least the download in App Store says this. :)

Edited by Naki
grammar/clarity, extra info

Share this post


Link to post
Share on other sites
On 6/26/2019 at 3:57 AM, fusion71au said:

Update for macOS Catalina 10.15beta

 

2.  Download and unzip the attached macOS_iso_creator.tool into your ~/Downloads folder:

 

For DP2 macOS_iso_creator_19A487l.zip  

For DP3 macOS_iso_creator_19A501i.zip

 

The commands in this executable script are shown below for informational purposes.  Note: you will need approx 18GB of free space on your hard disk for the script to complete.

  Reveal hidden contents

#!/bin/bash
 
 # Create macOS sparseimage of 8316mb with a Single Partition - Apple Partition Map
 hdiutil create -o /tmp/macOS -size 8316m -layout SPUD -fs HFS+J -type SPARSE
 
 # Mount the macOS sparseimage
 hdiutil attach /tmp/macOS.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build
 
 # Restore the Base System into the macOS Blank sparseimage
 asr restore -source /Applications/Install\ macOS*.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
 
 # Copy Install App to Base System
 cp -rp /Applications/Install\ macOS*.app /Volumes/macOS\ Base\ System
 
 # Copy working prelinkedkernel and copyprelinkedkernel script to Base System
 cp ~/Downloads/macOS_iso_creator/prelinkedkernel /Volumes/macOS\ Base\ System/System/Library/PrelinkedKernels/prelinkedkernel
 cp ~/Downloads/macOS_iso_creator/copyprelinkedkernel /Volumes/macOS\ Base\ System/usr/bin/copyprelinkedkernel

 

# Unmount the Base System image
 hdiutil detach /Volumes/macOS\ Base\ System
 
 # Convert the macOS spareseimage to ISO/CD master
  hdiutil convert /tmp/macOS.sparseimage -format UDTO -o /tmp/macOS.iso
 
 # Rename the macOS ISO image and move it to the desktop
  mv /tmp/macOS.iso.cdr ~/Desktop/macOS.iso
 
 # Delete macOS.sparseimage file
  rm -f /tmp/macOS.sparseimage

 

Does this works with latest Beta 4 (19A512f) ?

Edited by emikaadeo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By fusion71au
      Making a High Sierra USB Installer Entirely From Scratch in Windows
      This is a proof of concept tutorial, to show it's possible to create a vanilla High Sierra installer, entirely from scratch, in Windows (even without App Store downloaded "Install macOS High Sierra.app" from a real Mac ).  @PikeRAlpha's link to Apple's Software Catalog provides us with all the URLs necessary to download the needed files directly from Apple instead of some dubious source from the internet...
       

      Pre-Requisites
      8GB or larger USB drive Boot Disk Utility v2.1.2017rev021b from @CVAD TransMac (free 15 day trial) Paragon Hard Disk Manager Free Download Installer Files Directly from Apple
      1)  Browse Apple's Regular Software Catalog and find the URLs to download the following 6 installer files...
      BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist (Hint - search page for "InstallESD" to find its URL and others nearby)

      to a folder named "SharedSupport" on your Windows NTFS drive.  A browser download manager (eg Chrono for Chrome, dTA for FireFox) is handy since InstallESD is >4GB ---> allows you to pause/resume interrupted download...

      2)  Rename InstallESDDmg.pkg to InstallESD.dmg
      3)  Edit InstallInfo.plist with WordPad/text editor to remove the chunklistURL and chunklistid keys for InstallESD, and renaming it from InstallESDDmg.pkg to InstallESD.dmg (example of edited file attached to this post)...
      Note:  You can verify the SHA1 checksum of your InstallESD.dmg and BaseSystem.dmg with the correct ones at this website.
      Boot Disk Utility to format the Installer USB and Restore OS X Base System HFS partition
      1.  Format USB with BDU & latest Clover ---> creates boot files in CLOVER partition + second FAT partition
      2.  Extract 4.hfs from \SharedSupport\BaseSystem.dmg with BDU --> save to it's local folder
      3.  Restore 4.hfs to USB second partition with BDU --->  2nd partition becomes bootable "OS X Base System"
      Paragon Hard Disk Manager to extend HFS Partition to its Full Extent
      Open Paragon Partition Manager Free and resize the second partition of the USB drive to the full size allowed.  Don't forget to apply the changes at the end...
      Transmac to Copy "SharedSupport" folder to OS X Base System
      1.  Open the TransMac program and navigate to the HFS+ Volume/Install macOS High Sierra.app/Contents folder.  Right click anywhere in the empty space on the RHS pane and select "Copy Here"...
      2.  In the next stage, select the "SharedSupport" folder we created above as the "Files and Folders to be copied to the Mac Volume"...
       
      Clover Settings
      Clover configuration is required now.  The default config.plist (in the Clover FAT32 partition of the USB) maybe sufficient to boot your machine if you’re lucky.  If not, the hackintosh-vanilla-desktop-guide has some good explanations on the various settings available and also offers sample configuration files based on CPU type.  Also, look at the Clover Wiki, Clover Instructions and Clover Configuration Thread for pointers and edit /EFI/Clover/config.plist accordingly with Wordpad or Notepad.
      The location of the important configuration files for Clover are summarized below
      config.plist--->EFI/CLOVER folder DSDT.aml with or without SSDT.aml--->EFI/CLOVER/ACPI/patched (don't need one if your DSDT is auto patched by Clover in config.plist) Kexts eg FakeSMC, NullCPUPowerManagement --->EFI/CLOVER/kexts/<osx version> or /Other. NB BootDiskUtility by default already has FakeSMC.kext installed here.  You may need to add VoodooPS2Controller for your laptop keyboard/trackpad to work. If UEFI booting, you will most likely need one of the OsxAptioFixDrv-64 drivers copied from /EFI/CLOVER/drivers-off/drivers64UEFI to /EFI/CLOVER/drivers64UEFI. If you want to use the installer to run High Sierra in Windows on VMware, you can follow my guide to set up the Virtual Machine and replace Clover's default config with EFI_Clover for VMware (which is compatible to run in VMware).  In the screenshots below, I have attached the USB Installer (in this case PhysicalDrive7) to my macOS Virtual Machine.  Reboot the system to the USB installer to install High Sierra ...
      What happens if we don't have access to TransMac or Paragon Hard Disk Manager?
      Not a problem, as long as we get "OS X Base System" bootable, we can launch terminal from the Utilities Menu to copy the SharedSupport folder over to the Installer app.  In essence, we will build the full installer app = 5GB+ on the target HD eg "Macintosh HD", by copying both the "small" installer app = 15MB (on "OS X Base System") and the SharedSupport folder from the NTFS volume (mounted in this example 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/  
      ...then start installation with the startosinstall utility...
      -bash-3.2# /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  
      The above steps can be automated with the attached "startosinstall.command" script, which will assemble "Install macOS High Sierra.app" on "Macintosh HD" and launch the startosinstall utility targeting the "Macintosh HD" volume.  Copy/download to "Macintosh HD", then run in terminal (after attaching DATA USB with /Shared Support folder)...
      cd "/Volumes/Macintosh HD" chmod +x startosinstall.command ./startosinstall.command Updated Download Links for macOS Mojave 10.14.5_18F132
      Browse Apple's Regular Software Catalog and find the URLs to download the following 6 installer files...
      BaseSystem.dmg BaseSystem.chunklist InstallInfo.plist InstallESDDmg.pkg AppleDiagnostics.dmg AppleDiagnostics.chunklist  
      Note: In Mojave, Apple has removed the --converttoapfs NO and --applicationpath arguments from the startosinstall utility....
       
      eg to use startosinstall for the above section "What happens if we don't have access to TransMac or Paragon Hard Disk Manager?", the syntax is now
      -bash-3.2# /Volumes/Macintosh\ HD/Install\ macOS\ Mojave.app/Contents/Resources/startosinstall --volume /Volumes/Macintosh\ HD  
      This basically means that for Mojave, the default installation will always convert the target volume to the apfs file system.
       
       
      startosinstall.command.zip
      InstallInfo.plist_edited_10.13.6.zip
      InstallInfo.plist_edited_10.14.5.zip
       
       
    • By fusion71au
      Clover r4989 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.15 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4989 for VMware.zip". Mount Clover-v2.4k-4989-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By fusion71au
      Run Vanilla OS X El Capitan, Sierra, High Sierra or Mojave in VirtualBox 5.x.x on a Windows Host
      Following on from my previous guide on how to create a VMware virtual machine running Vanilla OS X El Capitan in Windows, I’ve decided to write a similar guide for creating a VirtualBox El Capitan VM. 
       
      The virtual machine should be useful for testing El Capitan and also for creating installers for use on a real machine/hackintosh.
       
      There are other tutorials and videos on the net about running OS X on Windows machines using pre-made VMDK disk images but you can never guarantee what else is in there….
       
      I’ve gathered info for this guide from several threads in the Multibooting and Virtualisation section of this forum and also the wider internet eg
       
      @colt2 HOW TO: Create a bootable El Capitan ISO for VMware
      @dsmccombs comment on faking Ivybridge Processor
      @E:V:A http://forum.xda-developers.com/showpost.php?p=55572430&postcount=6
      @Tech Reviews video tutorial https://www.youtube.com/watch?v=t7X07U63lwg.
      VirtualBox Forum: Status of OSX on OSX
       
      Requirements
         Intel PC with four or more CPU cores running Windows 7 X64 or later OS (2 or more cores needed for OS X)    4GB or more RAM (2GB or more will be needed for OS X)    Hard Disk with at least 40GB free for Virtual Machine    Oracle VM VirtualBox v 5.0.34    Install OS X El Capitan app and Mac or Hack to prepare installation iso <-- Now, no longer necessary to have previous access to a Mac or Hack by building the Installer.app from scratch - see post#75    16GB or larger exFAT formatted USB stick to transfer El Capitan iso from Mac/Hack to Host PC  
      Prepare Installation ISO on your Mac or Hack
      1.  On your Mac or Hack, download "Install OS X El Capitan.app" from the App Store into your Applications folder.
      2.  Download and unzip the CECI.tool (attached to this post) into your ~/Downloads folder. The commands in this executable script are shown below for informational purposes.  Note: you will need approx 16GB of free space on your hard disk for the script to complete.
       
       
       
      3.  Open OS X terminal, then run the following commands to execute the script:
      cd downloads chmod +x CECI.tool ./CECI.tool 4.  At the end of the process, you will have an El Capitan iso on your desktop - copy this onto an exFAT formatted USB for use on the PC Host later.
       
       
      Create an El Capitan Virtual Machine in VirtualBox
      1.  Open the VirtualBox program and click the "New" button to create a new VM.
       

       
      2.  Select Mac OS X and Mac OS X 10.11 El Capitan (64 -bit) for Operating System type and version.  I named my Virtual Machine "El_Capitan", then clicked next...
       

       
      3.  Leave the Memory size at the recommended 2048 MB, then click next.
       

       
      4.  Choose to "Create a virtual hard disk now", then click the create button.
       

       
      5.  For the hard disk file type, the default is VDI (VirtualBox Disk Image) but I have selected VMDK for inter-operability with VMWare.  Click next...
       

       
      6.  For Storage on physical hard disk, I have chosen the default Dynamically allocated (grows larger to a set limit as you need more disk space).
       

       
      7.  On the File location and size screen, you can set the location of the new virtual hard disk and its size - I recommend changing disk size to 40GB or larger.  When you click the create button, you will now see your new VM in the VirtualBox main GUI.
       

       
      8.  Click the settings button on the Main Menu to tweak a few settings....
         a.  On the System/Motherboard tab in Boot Order, you can uncheck the Floppy Drive (who has these now?)
       

       
         b.  On the System/Processor tab, you can increase the allocated CPU cores to 2
       

       
         c.  On the Display tab, you can increase the allocated Video Memory to 128MB
       

       
         d.  On the Storage tab, click on the icon of the Optical Drive and select "Choose Virtual Optical Disk File". 
       

       
      Navigate and select the El Capitan ISO we created earlier...
       

       
         e.  Click the OK button to finalise the VM settings.
       
       
      Patch El Capitan vbox configuration file with DMI Settings from a Mac
      1.  From the start menu, type cmd and click run as administrator to open an administrative command prompt. 
       

       
      2.  Choose a Mac Model similar to your host system, then type the following lines, followed by <enter>  after each line.  Make sure you first close all VirtualBox Windows and the VirtualBox program, otherwise any changes you make won't stick...
       
      Eg iMac11,3
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F2238BAE" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 MacBookPro11,3
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 Macmini6,2
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "Macmini6,2" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F65AE981FFA204ED" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 3.  Optional- For some host systems eg those with Haswell and newer CPUs, you might have to spoof an older CPU to avoid VirtualBox errors.  You can try from one of the following if this happens:

      To spoof Lynnfield i5 750 CPU
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000106e5 06100800 0098e3fd bfebfbff To spoof IvyBridge CPU
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff or
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000306a9 00020800 80000201 178bfbff 4.  Close the command prompt window.
       
       
      Installation of El Capitan
      We are now ready to start the El_Capitan Virtual Machine....
       



       
      Installation should be relatively straight forward, just following the prompts of the OS X installer:
      1.  Select language, agree to legal terms
       

       
      2.  Use Disk Utility from the Utilities Menu to erase and format the virtual hard drive as a single partition GUID Mac OS X Extended.  I named my drive "Macintosh HD" but you can enter whatever you like eg El_Capitan.
       

       
      3.  Quit DU and choose Macintosh HD to install El Capitan on.
      4.  After 20-30 min (depending on how fast your system is), the installation will complete.  At this point, unmount the El Capitan ISO by clicking the Devices menu from the VM window, click Optical Drives, then choose Remove disk from virtual drive.  The VM is now ready to reboot into OS X from the virtual hard drive.
      5.  At the welcome screen, choose your country and keyboard layout.  You can skip transfer information, location services and logging in with your Apple ID if you wish…
      6.  Create a User Account and select your Time Zone.  You can skip sending diagnostics and usage data to Apple….
      7.  Finally, you will arrive at the El Capitan Desktop.
       

       
      8.  Network/internet and audio should work OOB but on my system, the sounds were distorted.  Unfortunately, there is no QE/CI and the VM resolution will be fixed without the ability to dynamically resize the VM window (no VirtualBox additions for OS X guests atm). 
       
       
      Customization with VBoxManage
      1.  You can change the default resolution of 1024*768 (after shutting down the VM) with the VBoxManage command from the Windows Administrative Command Prompt:
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" VBoxInternal2/EfiGopMode N (Where N can be one of 0,1,2,3,4,5) referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900, 1920x1200 screen resolution respectively.
       
      Update:  For VirtualBox 5.2.x, the command for changing screen resolution has changed...
       
      VBoxManage setextradata "<MyVM>" VBoxInternal2/EfiGraphicsResolution XxY (where X=Horizontal screen resolution, Y=Vertical screen resolution)
      eg
      VBoxManage setextradata "<MyVM>" VBoxInternal2/EfiGraphicsResolution 1280x1024 2.  Adding serials and other SMBIOS details for the System Information Screen
      VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemSerial" "W8#######B6" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardSerial" "W8#########1A" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVendor" "Apple Inc." VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemFamily" "iMac" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBIOSVersion" "IM112.0057.03B" A listing of known issues with Mac OS X guests can be found in the VirtualBox Manual - link https://www.virtualbox.org/manual/ch14.html.
       
      Vanilla Mavericks and Yosemite, Snow Leopard from Retail DVD
      The same VM settings for El Capitan will also boot and run vanilla installations of OS X Mavericks and Yosemite .  Attached to this post are installer scripts to create bootable Mavericks (CMI.tool) and Yosemite (CYI.tool) ISOs for VirtualBox and VMware.
       
      With the respective OS X installer apps in the Applications folder, download and run the installer tools using terminal ie
       
      To create a Mavericks ISO on your desktop
      cd downloads chmod +x CMI.tool ./CMI.tool To create a Yosemite ISO on your desktop
      cd downloads chmod +x CYI.tool ./CYI.tool Here is a screenshot of the VM running Mavericks 10.9.5...
       

       
      Finally, those without a Mac/Hack to prepare the install media can purchase a retail Snow Leopard DVD directly from Apple and install OSX 10.6.3 on their virtual machines (Snow Leopard, Lion and Mountain Lion run quite happily in VirtualBox with 1 CPU, 1-2 GB of RAM and the rest of the settings unchanged from above).  Once you update by combo update to SL 10.6.8, you can directly download El Capitan from the App Store for free .
       

       
      UPDATE macOS Sierra 10.12 to 10.12.6: For macOS Sierra, use CSI.tool in post#51.
      UPDATE macOS High Sierra 17A365:  For macOS High Sierra, use CHSI.tool in post#73.
      UPDATE macOS Mojave 18A391:  For macOS Mojave or High Sierra, use macOS_iso_creator.tool on page 4 of thread.
      UPDATE macOS Catalina Beta DP3_19A501i:  For Catalina, @jpz4085 has made an automated batch file to create a Catalina VM in Windows with iMac 14,2 SMBIOS.  You can still use my macOS_iso_creator.tool on page 5 to make an installer ISO to attach to the VM.
       
       
       
      Good luck and enjoy
      CECI.tool.zip
      CYI.tool.zip
      CMI.tool.zip
×