Rm /Volumes/OS X Base System/System/Installation/Packages Hdiutil attach /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/esd Hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/esd Hdiutil convert /tmp/tmp_ -format UDTO -o /tmp/tmp_iso.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/ Hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/esdĪsr restore -source /Volumes/esd/BaseSystem.dmg -target /Volumes/iso -noprompt -noverify -erase Hdiutil attach /tmp/tmp_ -noverify -nobrowse -mountpoint /Volumes/iso Hdiutil create -o /tmp/tmp_iso.cdr -size 7316m -layout SPUD -fs HFS+J I don’t think I have any particular problems. However, since the folder structure from OS X 10.7 Lion to OS X 10.12 Sierra is different from 10.13 High Sierra or later, the commands are slightly different, but if you use the script on this page, that will also be supported.
The spelling of the command changes depending on the OS version, making it difficult to understand, but what you are doing is simple.
#MAC OS X MOUNTAIN LION ISO FOR VIRTUALBOX SOFTWARE#
I think that the ISO file for macOS installation is often used with virtual environment software such as VMware and VirtualBox.