![]() It’s as near as you can get to “Erase All Contents And Settings” without some sort of built-in special APFS-snapshot-plus-software-updates mechanism. eraseinstall -agreetolicense -nointeraction Using the new flag, the following command erases the system disk in situ, without need to boot from a network drive, or Recovery Partition, or connect to another computer using Target Disk Mode: You can use the -installpackage flag to specify additional packages to apply after installing macOS. The startosinstall command inside the macOS Installer app at Contents/Resources/startosinstall lets you erase your boot volume and install macOS to it using the new -eraseinstall flag. ![]() In the Apple Knowledge Base article Prepare your institution for macOS High Sierra 10.13.4, Apple revealed a new flag for the startosinstall command, the -eraseinstall flag: The -nointeraction flag is undocumented, as described in Rich Trouton’s post, and allows the command to be run without interaction, meaning it can be scripted. agreetolicense -nointeraction -volume /Volumes/External\ Macintosh\ HD applicationpath /Applications/Install\ macOS\ High\ Sierra.app \ Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall \
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |