Forked from peacefixation/install-osx-high-sierra-command-line.sh
Created
September 9, 2023 02:58
-
-
Save JucaRei/53452160cb2d9a54a1029afda61ab3ad to your computer and use it in GitHub Desktop.
Install OS X High Sierra without converting to APFS file system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a USB installer | |
# https://support.apple.com/en-au/HT201372 | |
Download the OS X High Sierra installer via the App Store, it will be installed into the /Applications directory | |
If it opens automatically, close it | |
Insert a USB stick (8GB+) | |
Run the following command where MyVolume is the name of the USB volume: | |
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume | |
# boot the USB installer | |
Boot the computer holding the Option key | |
Select the USB installer as the startup disk | |
# from the menu, select Utilities > Terminal | |
# install without APFS (optional) | |
# use the installpackage parameter to install an extra .pkg (optional) | |
/Volumes/Image\ Volume\Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall \ | |
--volume /Volumes/Macintosh\ HD/ \ | |
--converttoapfs NO \ | |
--applicationpath /Volumes/Image\ Volume\Install\ macOS\ High\ Sierra.app \ | |
--agreetolicense \ | |
--installpackage extra-package.pkg | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --applicationpath /Applications/Install\ macOS\ High\ Sierra.app --agreetolicense --converttoapfs NO --nointeraction