Quiero usar "startosinstall" para poder instalar MacOS Catalina en un disco duro externo y así poder precargar MacOS en varios SSD rápidamente.
He investigado sobre esto y he encontrado sitios web como https://grahamrpugh.com/2018/03/26/reinstall-MacOS-from-system-volume.html que sugieren usar:
/Applications/Install\ macOS\ Catalina.app/Contents/Resources/startosinstall \
--applicationpath /Applications/Install\ macOS\ Catalina.app \
--agreetolicense --nointeraction --volume /Volumes/External\ Macintosh\ HD
He intentado ejecutar lo anterior pero no he tenido éxito y siempre me devuelve esto:
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 (built with productbuild(1)) to install after the OS installation is complete; this option can be specified multiple times.
--eraseinstall, Erase all volumes and install to a new one. Optionally specify the name of the new volume with --newvolumename.
--newvolumename, the name of the volume to be created with --eraseinstall.
--usage, prints this message.
Example: startosinstall --converttoapfs YES
pero parece que no puede conseguir que se ejecute nada.
Si alguien pudiera proporcionarme algún código que funcione o mostrarme cómo resolver este problema, le estaría eternamente agradecido.
Gracias por su ayuda