SEE: Mac Mini 2018: Cheat sheet (TechRepublic) HDD’s and Fusion Drives will not be modified. By default, macOS will convert SSD drives that will house the home folder.
There are two things to note prior to choosing whether to perform an upgrade or clean install:įirst, as stated above the parameter to convert to the APFS filesystem is deprecated as of macOS Mojave (though still optional in High Sierra, hence why it can be toggled with via YES or NO). Sudo /Applications/Install\macOS\ Mojave.app -agreetolicense -nointeraction Sudo /Applications/Install\macOS\ Mojave.app -agreetolicense -eraseinstall -newvolumename "Macintosh HD" -nointeraction In-place upgrade installation of macOS Mojave Enter or deploy the following command to the target system(s).
Copy the Install macOS Mojave.app installer file to the target computers /Applications folder.Ģ.
– -nointeraction: Undocumented parameter that automates the deployment process without prompts. (Deprecated in macOS Mojave, however still exists in High Sierra). – -converttoapfs: Coverts the existing filesystem to APFS. – -newvolumename: Renames the volume erased when used in conjunction with –eraseinstall. – -eraseinstall: Erases the existing APFS volume prior to installing macOS. – -rebootdelay: Delays reboot after preparation is complete, in seconds. – -agreetolicense: Agrees to the license agreement during deployment (Required for automated deployments). – -usage: Displays all parameters available for the command.
Install macOS High Sierra.app (or newer).Apple computer with macOS High Sierra installed (10.13.4 or newer).SEE: Five ways to make macOS more efficient on the go (free PDF) (TechRepublic)īefore we begin, note the minimum requirements below that are necessary to ensure that the deployment works without a hitch:
Additionally, it will show the proper parameters and what they mean, and lastly, detail how to convert the existing filesystem to Apple’s latest - APFS -all from a simple command, ready for mass deployment. In the sections below, this article will cover the means to deploy macOS Mojave (or High Sierra if you’re weary of making the jump), as both in-place upgrades and clean installations. Fast forward to macOS Mojave several months later, and the startosinstall command has seen a few modifications to aid admins in deploying macOS 10.14 the correct way–the new Apple-supported way–which allows for firmware updates to be delivered pre-update. While the change was documented on their website, it made little splash for many systems administrators due to the hidden nature of the command. ICloud Usage Policy (TechRepublic Premium) Why I’m buying Apple’s new M1-powered iPad Air How to share your screen in Google Meet for macOS The command is to use when kicking off installations or upgrades from Terminal, and can be found by right-clicking the installer file and selecting Show Package Contents from the context menu, then navigating your way through the directories as detailed above.
The macOS High Sierra 10.13.4 update contains, among many fixes and tweaks, a newly added command titled startosinstall, located at /Applications/ Install/macOS\ High\ Sierra.app/Contents/Resources. How to perform a clean install (or upgrade) of macOS Mojave via TerminalĪpple's newest OS contains an updated command for a clean install or in-place upgrade of macOS Mojave using just the installer file and one line of code.