

The file was placed in my Downloads folder.
VIRTUALBOX MAC OS X SCREEN SIZE 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
VIRTUALBOX MAC OS X SCREEN SIZE INSTALL
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.
