DeployStudio Catalina

From LogiWiki - Your Wiki for all things Apple MacBook and iPhone related
Revision as of 03:53, 28 July 2020 by Chrisb (talk | contribs)
Jump to navigationJump to search

DeployStudio does work with Catalina. Please be aware you will need to ensure your Boot ROM has been updated to enable APFS booting. There is a BootROMUpdate NetBoot image floating around.


You will need a USB updated to Catalina.

  • Install and Update Catalina
  • Install DeployStudio 1.7.9 (archive)
  • Open System Preferences : Security & Privacy : Full Disk Access
  • Click the lock to authenticate
  • Open Finder : click go : type /bin and Enter
  • Drag sh from /bin to the Full Disk Access window

The DeployStudio Runtime should now work on your USB drive


To create the Catalina Image you should be booted to the USB created above in the Mac you would like to image. Be sure to have plenty of free space on your USB.

  • hdiutil create -size 30g -type SPARSE -fs APFS -volname "Macintosh HD" filename.dmg
  • hdiutil attach -nobrowse -noautoopen -noverify -owners on filename.dmg.sparseimage
  • asr restore --source "/Volumes/Macintosh HD" --target /dev/disk5s1 (please substitute Macintosh HD with the name of the actual Catalina volume name and /dev/disk5s1 with the output of hdiutil for the volume named Macintosh HD)
  • Use Disk Utility to eject the image file
  • hdiutil convert -format UDZO filename.dmg.sparseimage -o filename.dmg
  • asr imagescan --source filename.dmg

Now you can put this in the DeployStudio/Masters/APFS directory and make a normal workflow incorporating this image.


To make a workflow in DeployStudio that will update the Boot ROM and bridgeOS

  • Build a workflow that installs 10.13.6 HFS
  • Add a generic script called copy_catalina.sh
  • #!/bin/sh
    cp -R "${DS_REPOSITORY_PATH}/Files/Install macOS Catalina.app" "${DS_LAST_RESTORED_VOLUME}/Applications/"
    exit 0
    
  • Add a generic script to the workflow called update_catalina.sh. Check the Postponed execution
  • Create a script that contains
  • #!/bin/sh
    "/Applications/Install macOS Catalina.app/Contents/Resources/startosinstall" --agreetolicense
    exit 0