I don't know what plist buddy does, but if you break permissions, code sign it is not gonna work. Whereas if you enter sudo -s (root Mode) and edit the plist you should be fine. If you alredy broke the permissions you need to repair them.Ok, of course running catalina without OC (boot into OC then only for system updates) is a little off-topic here, but maybe the trick with the Boot.plist is interesting anyway, when it would work.
I've tested this now: "-no_compat_check" added to the com.apple.Boot.plist instead of running my "set -no_compat_check on shutdown"-script:
View attachment 891069
Did this in catalina with:
sudo /usr/libexec/PlistBuddy -c "Set :'Kernel Flags' '-no_compat_check'" "/Library/Preferences/SystemConfiguration/com.apple.Boot.plist"
So then I removed my script from launchdeamons and,too, deleted the boot-arg from nvram, so i have a "clean machine" now.
As suggested, the Mac should be able to boot into Catalina without OC now because of the setting of the "-no_compat_check" as a Boot.plist entry.
Catalina is still set as Startup Disk in the preference pane. Reboot...
But sorry, that was denied:
View attachment 891070
I rebooted three times... a fourth trial by starting with <option> into Apple Boot Menu and selecting catalina manually. None worked.
I then booted back into Mojave via Apple Boot Menu and installed my script again.
After that booting into Catalina without OC was successful again. After reinstalling the script in launchdemons of catalina and, just to be safe, manually deleting the boot-arg in nvram the reboot work, too.
It seems that my fear of com.apple.Boot.plist not read prior to the system check is justified?
Any other experiences?
Also change this in the config file:
Code:
<key>DisplayLevel</key>
<integer>2147483714</integer>
<key>Target</key>
<integer>65</integer>
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
<dict>
<key>boot-args</key>
<string>-no_compat_check -v</string>
<key>csr-active-config</key>
<data>AAAAAA==</data>
You may want to do NVRAM reset first as your target mode of 81 may have written in the NVRAM area.