Difference between revisions of "DeployStudio Catalina"

From LogiWiki - Your Wiki for all things Apple MacBook and iPhone related
Jump to navigationJump to search
(Created page with "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 f...")
 
Line 4: Line 4:
 
You will need a USB updated to Catalina.
 
You will need a USB updated to Catalina.
  
* Install and Update Catalina
+
*Install and Update Catalina
* Install DeployStudio 1.7.9 ([https://web.archive.org/web/*/http://www.deploystudio.com/Downloads/DeployStudioServer_v1.7.9.dmg archive])
+
*Install DeployStudio 1.7.9 ([https://web.archive.org/web/*/http://www.deploystudio.com/Downloads/DeployStudioServer_v1.7.9.dmg archive])
* Open System Preferences : Security & Privacy : Full Disk Access
+
*Open System Preferences : Security & Privacy : Full Disk Access
* Click the lock to authenticate
+
*Click the lock to authenticate
* Open Finder : click go : type /bin and Enter
+
*Open Finder : click go : type /bin and Enter
* Drag sh from /bin to the Full Disk Access window
+
*Drag sh from /bin to the Full Disk Access window
  
 
The DeployStudio Runtime should now work on your USB drive
 
The DeployStudio Runtime should now work on your USB drive
Line 16: Line 16:
 
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.
 
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 create -size 30g -type SPARSE -fs APFS -volname "Macintosh HD" filename.dmg
* hdiutil attach -nobrowse -noautoopen -noverify -owners on filename.dmg.sparseimage
+
*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)
+
*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
+
*Use Disk Utility to eject the image file
* hdiutil convert -format UDZO filename.dmg.sparseimage -o filename.dmg
+
*hdiutil convert -format UDZO filename.dmg.sparseimage -o filename.dmg
* asr imagescan --source 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.
 
Now you can put this in the DeployStudio/Masters/APFS directory and make a normal workflow incorporating this image.
Line 28: Line 28:
 
To make a workflow in DeployStudio that will update the Boot ROM and bridgeOS
 
To make a workflow in DeployStudio that will update the Boot ROM and bridgeOS
  
* Build a workflow that installs 10.13.6 HFS
+
*Build a workflow that installs 10.13.6 HFS
* Add a generic script called copy_catalina.sh
+
*Add a generic script called copy_catalina.sh
* Add a generic script to the workflow called update_catalina.sh
+
*<syntaxhighlight lang="bash">
* Create a script that contains
+
#!/bin/sh
* <syntaxhighlight lang="bash">
+
cp -R "${DS_REPOSITORY_PATH}/Files/Install macOS Catalina.app" "${DS_LAST_RESTORED_VOLUME}/Users/shared/"
 +
exit 0
 +
</syntaxhighlight>
 +
*Add a generic script to the workflow called update_catalina.sh.  Check the Postponed execution
 +
*Create a script that contains
 +
*<syntaxhighlight lang="bash">
 
#!/bin/sh
 
#!/bin/sh
 
"/Users/shared/Install macOS Catalina.app/Contents/Resources/startosinstall" --agreetolicense
 
"/Users/shared/Install macOS Catalina.app/Contents/Resources/startosinstall" --agreetolicense
 
 
exit 0
 
exit 0
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 03:29, 28 July 2020

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}/Users/shared/"
    exit 0
    
  • Add a generic script to the workflow called update_catalina.sh. Check the Postponed execution
  • Create a script that contains
  • #!/bin/sh
    "/Users/shared/Install macOS Catalina.app/Contents/Resources/startosinstall" --agreetolicense
    exit 0