Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save MSylvia/ae8832d7f3345f37eb1e15947636c9e4 to your computer and use it in GitHub Desktop.

Select an option

Save MSylvia/ae8832d7f3345f37eb1e15947636c9e4 to your computer and use it in GitHub Desktop.

Revisions

  1. @gregneagle gregneagle revised this gist Oct 9, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion startosinstall_10.12.6_recoveryboot.txt
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    -bash-3.2# /Volumes/Macintosh\ HD/Applications/Install\ macOS\ Sierra.app/Contents/Resources/startosinstall --usage
    bash-3.2# /Volumes/Macintosh\ HD/Applications/Install\ macOS\ Sierra.app/Contents/Resources/startosinstall --usage
    Usage: startosinstall --applicationpath <install macOS.app path> --volume <target volume path>

    Arguments
  2. @gregneagle gregneagle created this gist Oct 9, 2017.
    12 changes: 12 additions & 0 deletions startosinstall_10.12.6_normalboot.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    bash-3.2$ /Applications/Install\ macOS\ Sierra.app/Contents/Resources/startosinstall --usage
    Usage: startosinstall --applicationpath <install macOS.app path>

    Arguments
    --applicationpath, a path to copy of the OS installer application to start the install with.
    --license, prints the user license agreement only.
    --agreetolicense, agree to license the license you printed with --license.
    --rebootdelay, how long to delay the reboot at the end of preparing. This delay is in seconds and has a maximum of 300 (5 minutes).
    --pidtosignal, Specify a PID to which to send SIGUSR1 upon completion of the prepare phase. To bypass "rebootdelay" send SIGUSR1 back to startosinstall.
    --usage, prints this message.

    Example: startosinstall --applicationpath "/Applications/Install macOS.app"
    13 changes: 13 additions & 0 deletions startosinstall_10.12.6_recoveryboot.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    -bash-3.2# /Volumes/Macintosh\ HD/Applications/Install\ macOS\ Sierra.app/Contents/Resources/startosinstall --usage
    Usage: startosinstall --applicationpath <install macOS.app path> --volume <target volume path>

    Arguments
    --applicationpath, a path to copy of the OS installer application to start the install with.
    --license, prints the user license agreement only.
    --agreetolicense, agree to license the license you printed with --license.
    --rebootdelay, how long to delay the reboot at the end of preparing. This delay is in seconds and has a maximum of 300 (5 minutes).
    --pidtosignal, Specify a PID to which to send SIGUSR1 upon completion of the prepare phase. To bypass "rebootdelay" send SIGUSR1 back to startosinstall.
    --usage, prints this message.
    --volume, path to the target volume.

    Example: startosinstall --applicationpath "/Applications/Install macOS.app" --volume /Volumes/Target
    14 changes: 14 additions & 0 deletions startosinstall_10.13_normalboot.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    bash-3.2$ /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/startosinstall --usage
    Usage: startosinstall

    Arguments
    --applicationpath, a path to copy of the OS installer application to start the install with.
    --license, prints the user license agreement only.
    --agreetolicense, agree to license the license you printed with --license.
    --rebootdelay, how long to delay the reboot at the end of preparing. This delay is in seconds and has a maximum of 300 (5 minutes).
    --pidtosignal, Specify a PID to which to send SIGUSR1 upon completion of the prepare phase. To bypass "rebootdelay" send SIGUSR1 back to startosinstall.
    --converttoapfs, specify either YES or NO on if you wish to convert to APFS.
    --installpackage, the path of a package to install after the OS installation is complete; this option can be specified multiple times.
    --usage, prints this message.

    Example: startosinstall --converttoapfs YES
    15 changes: 15 additions & 0 deletions startosinstall_10.13_recoveryboot.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    -bash-3.2# ./startosinstall --usage
    Usage: startosinstall --volume <target volume path>

    Arguments
    --applicationpath, a path to copy of the OS installer application to start the install with.
    --license, prints the user license agreement only.
    --agreetolicense, agree to license the license you printed with --license.
    --rebootdelay, how long to delay the reboot at the end of preparing. This delay is in seconds and has a maximum of 300 (5 minutes).
    --pidtosignal, Specify a PID to which to send SIGUSR1 upon completion of the prepare phase. To bypass "rebootdelay" send SIGUSR1 back to startosinstall.
    --converttoapfs, specify either YES or NO on if you wish to convert to APFS.
    --installpackage, the path of a package to install after the OS installation is complete; this option can be specified multiple times.
    --usage, prints this message.
    --volume, path to the target volume.

    Example: startosinstall --volume /Volumes/Target --converttoapfs YES