# Extract the files from the downloaded file A temporary folder named El Capitan will be created in your Downloads folder. This above command needs to be replaced with the commands given below. The first command in klanomoath's answer is given below. After downloading, the file needs to be opened with the Finder Application. The file was placed in my Downloads folder.
#OS X YOSEMITE VIRTUALBOX VS EL CAPTIAN HOW TO#
I downloaded InstallMacOSX.dmg from the Apple website How to upgrade to OS X El Capitan. I tested klanomoath's accepted answer to this question using a Mac mini (2018) running macOS Catalina Version 10.15.4. Use the final ElCapitan.iso as installer iso and attach it to the virtual SATA Port 1. Open Terminal, chmod the script and execute it: chmod +x ~/Desktop/prepare_elcapitan_cdr.shĭetach elcap.dmg from the VM. Paste the content in a text editor to a new document as plain text and save it as prepare_elcapitan_cdr.sh on your desktop. # Rename the ISO and move it to the desktop Hdiutil convert -format UDTO -o ElCapitan.iso Hdiutil detach /Volumes/OS\ X\ Base\ System Rm /Volumes/OS\ X\ Base\ System/System/Installation/PackagesĬp -rp /Volumes/esd/Packages /Volumes/OS\ X\ Base\ System/System/InstallationĬp -rp /Volumes/esd/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/Ĭp -rp /Volumes/esd/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/ # Remove Package link and replace with actual files Hdiutil attach -noverify -nobrowse -mountpoint /Volumes/isoĪsr restore -source /Volumes/esd/BaseSystem.dmg -target /Volumes/iso -noprompt -noverify -erase Hdiutil create -o ElCapitan.cdr -size 8000m -layout SPUD -fs HFS+J Hdiutil attach "/Applications/Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg" -noverify -nobrowse -mountpoint /Volumes/esd The user name in the last line and the path to Install OS X El Capitan.app (and the inner InstallESD.dmg file) in the 6th line): #!/bin/bash To create a bootable file use the following script. The dmg file (Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg) is no bootable image.