File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515echo " VGID: $VGID "
1616echo " System volume: $system_dir "
1717echo
18+
19+ if ! bputil -d -v " $VGID " | grep -q ' one true recoveryOS' ; then
20+ echo " Your system did not boot in One True RecoveryOS (1TR) mode."
21+ echo
22+ echo " To perform step 2 of the installation, the system must be in"
23+ echo " this special mode. Perhaps you forgot to hold down the power"
24+ echo " button, or momentarily released it at some point?"
25+ echo
26+ echo " Note that tapping and then pressing the power button again will"
27+ echo " allow you to see the boot picker screen, but you will not be"
28+ echo " in the correct 1TR mode. You must hold down the power button"
29+ echo " in one continuous motion as you power on the machine."
30+ echo
31+ echo " Your system will now shut down. Once the screen goes blank,"
32+ echo " please wait 10 seconds, then press the power button and do not"
33+ echo " release it until you see the 'Entering startup options...'"
34+ echo " message, then try running this script from recoveryOS again."
35+ echo
36+ echo " Press enter to shut down your system."
37+ read
38+ shutdown -h now
39+ exit 1
40+ fi
41+
1842echo " You will be prompted for login credentials two times."
1943echo " Please enter your macOS credentials (for the macOS that you"
2044echo " used to run the first step of the installation)."
2650
2751bputil -nc -v " $VGID "
2852
53+ echo
54+ echo
55+
2956if [ -f m1n1.macho ]; then
3057 kmutil configure-boot -c m1n1.macho -v " $system_dir "
3158else
You can’t perform that action at this time.
0 commit comments