[MacTUG] Previously Downloaded OS X Installers No Longer Work
Matthew Oliver
m3oliver at uwaterloo.ca
Fri Mar 4 11:36:15 EST 2016
What we do is immediately turn any downloaded app store OSX.app installer into a bootable usb installer or an iso image. I can’t see either of those two expiring in fact we’ve used some of our usb installers for quite some time.
Making a USB installer is easy with the createinstallmedia utility
Making an iso is bit more involved but useful if you want to install OS X in vm for example.
#!/bin/bash
# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
# Create the ElCapitan Blank ISO Image of 7316mb with a Single Partition - Apple Partition Map
hdiutil create -o /tmp/ElCapitan.cdr -size 7316m -layout SPUD -fs HFS+J
# Mount the ElCapitan Blank ISO Image
hdiutil attach /tmp/ElCapitan.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
# Restore the Base System into the ElCapitan Blank ISO Image
asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
# Remove Package link and replace with actual files
rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/
# Copy El Capitan installer dependencies
cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist
cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg
# Unmount the installer image
hdiutil detach /Volumes/install_app
# Unmount the ElCapitan ISO Image
hdiutil detach /Volumes/OS\ X\ Base\ System/
# Convert the ElCapitan ISO Image to ISO/CD master (Optional)
hdiutil convert /tmp/ElCapitan.cdr.dmg -format UDTO -o /tmp/ElCapitan.iso
# Rename the ElCapitan ISO Image and move it to the desktop
mv /tmp/ElCapitan.iso.cdr ~/Desktop/ElCapitan.iso
On 2016-03-04, 11:04 AM, "mactug-bounces at lists.uwaterloo.ca on behalf of Donald Duff-McCracken" <mactug-bounces at lists.uwaterloo.ca on behalf of dsmccrac at uwaterloo.ca> wrote:
>Thanks for that tip marlon
>
>I do not have a computer to test this on (to see if the expired cert will give me grief, but I have downloaded new copies of El Cap, Yosemite, Mt Lion & Lion for my local archive, just in case!
>
>
>------------------------------------
>Donald Duff-McCracken
>Technical Services Manager
>Mapping, Analysis & Design
>Faculty of Environment
>University of Waterloo
>(519) 888-4567 x32151
>https://uwaterloo.ca/environment-computing/about/people
>------------------------------------
>This email communication is intended as a private communication for the sole use of the primary addressee and those individuals listed for copies in the original message. The information contained in this email is private and confidential and If you are not an intended recipient you are hereby notified that copying, forwarding or other dissemination or distribution of this communication by any means is prohibited. If you are not specifically authorized to receive this email and if you believe that you received it in error please notify the original sender immediately.
>
>
>
>
>
>
>
>
>On 2016-03-04, 9:33 AM, "mactug-bounces at lists.uwaterloo.ca on behalf of Marlon A. Griffith" <mactug-bounces at lists.uwaterloo.ca on behalf of m3griffi at uwaterloo.ca> wrote:
>
>>"""
>>"A certificate is required for every app in the Mac App Store and it
>>turns out that all of the various OS X installers had a certificate that
>>expired in February 2016. Pretty much every app affected by this has
>>already been updated already so if you download something now, it wont
>>have any issues. However, if youre like me and like to keep a bootable
>>install disk or USB drive around for troubleshooting, youll need to
>>download the installer again and remake your USB drive." lifehacker
>>
>>Happily, this is an easy problem to fix ahead of time:
>>
>> Delete any old OS X installers in the Applications folder or in
>>other locations (be sure to look on external hard drives too; if the App
>>Store detects an old installer, it wont let you get a new one). These
>>installers have names like Install OS X El Capitan and Install OS X
>>Yosemite.
>>
>> Open the App Store app by choosing Apple menu > App Store.
>>
>> Click the Purchased tab. Enter your App Store password if prompted.
>>
>> Scroll down to the OS X installer you want and click Download.
>>
>>http://tidbits.com/article/16302
>>"""
>>_______________________________________________
>>MacTUG mailing list
>>MacTUG at lists.uwaterloo.ca
>>https://lists.uwaterloo.ca/mailman/listinfo/mactug
>
>_______________________________________________
>MacTUG mailing list
>MacTUG at lists.uwaterloo.ca
>https://lists.uwaterloo.ca/mailman/listinfo/mactug
More information about the MacTUG
mailing list