
- How to make mac pkg installer to copy file diff folder how to#
- How to make mac pkg installer to copy file diff folder install#
- How to make mac pkg installer to copy file diff folder pro#
- How to make mac pkg installer to copy file diff folder code#
Rm /Volumes/Install\ El\ Capitan/System/Installation/PackagesĬp -rp /Volumes/esd/Packages /Volumes/Install\ El\ Capitan/System/InstallationĬp -rp /Volumes/esd/BaseSystem.chunklist /Volumes/Install\ El\ Capitan/Ĭp -rp /Volumes/esd/BaseSystem.dmg /Volumes/Install\ El\ Capitan/ diskutil rename OS\ X\ Base\ System Install\ El\ Capitan To finish creating the bootable USB flash drive El Capitan installer, enter the commands given below. However, the error can also be avoided by applying the following steps given in the section below titled Alternative to Using the asr Command. Therefore, I was able to ignore this error. Inspection has determined that the part of the command that failed is unimportant. I suspect this is an fatal message because an exit status of 1 was returned. Some versions of macOS will produce this message while other versions do not. asr: Couldn't personalize volume /Volumes/OS X Base System Sudo asr restore -source /Volumes/esd/BaseSystem.dmg -target /Volumes/MyVolume -noprompt -noverify -eraseĪfter entering the last command given above, you may get a message similar to the one given below. Hdiutil attach InstallMacOSX.pkg/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/esd

Pkgutil -expand /Volumes/Install\ OS\ X/InstallMacOSX.pkg /tmp/El\ Capitan Note: The easiest way to enter the commands is to copy from this document and paste in the Terminal window. A folder named El Capitan will be created in the /tmp folder to hold temporary files. Use the Finder applicaition to open InstallMacOSX.dmg.Įnter the commands given below. When finished erasing, click on the Done button.

Use the setting shown in the image below. Highlight the flash drive, then click on the Erase button. If the Disk Utility window has a View pulldown menu, make sure Show All Devices is selected. Use the Disk Utility to erase a 16 GB or larger flash drive.
How to make mac pkg installer to copy file diff folder how to#
Use instructions on the Apple website How to get old versions of macOS to download InstallMacOSX.dmg. The following steps can be used to create a USB installer for El Capitan.
How to make mac pkg installer to copy file diff folder pro#
How to make mac pkg installer to copy file diff folder install#
However, if the model Mac is too new to allow the installation for El Capitan, then message given below will occur when trying to create the Install OS X El Capitan application.


There is a link on the Apple website How to get old versions of macOS that will download a file that can be used to create the Install OS X El Capitan application. Note: This answer was adapted from Klanomath's answer to a sightly different question. Still, I would like know from Apple why they thought such a complex procedure is necessary. So, Apple evidently intends for users of newer model Intel Macs to use this new answer to retrieve the Install OS X El Capitan application.
How to make mac pkg installer to copy file diff folder code#
This new answer is must less of a hack, because Apple explicitly inserted code into the El Capitan installer to bypass the checking of the model when executed in a "VMware Fusion Player" virtual machine. I have posted a new answer to this question. Justin reported this answer still works for Yosemite. At best, these instructions are just a hack and Apple has every right to change the InstallMacOSX.dmg file to prevent the desired results. These instructions may work as expected, if you are using an older saved version of this file. I have noticed that these instructions no longer work as expected when using the current InstallMacOSX.dmg file, which can be downloaded from either the Apple website How to get old versions of macOS or the Apple website How to create a bootable installer for macOS.
