我正在使用双引导系统,并使用以下AppleScript设置启动卷:
tell application "Finder" to if not (disk "SoundHD" exists) then do shell script "diskutil mount " & last word of (do shell script "diskutil list | grep 'Apple_HFS SoundHD'")
do shell script "bless -mount \"/Volumes/SoundHD\" -setBoot --nextonly" with administrator privileges
display notification "Next Boot: SoundHD" with title "Neustart"
由于El Capitan脚本将不再起作用,我在脚本编辑器中收到以下错误消息:
tell application "Finder"
exists disk "SoundHD"
--> true
end tell
tell current application
do shell script "bless -mount \"/Volumes/SoundHD\" -setBoot --nextonly" with administrator privileges
--> error "Could not set boot device property: 0xe00002bc" number 3
Ergebnis:
error "Could not set boot device property: 0xe00002bc" number 3
bless命令中是否有一些新的变化?
感谢您的帮助。
答案 0 :(得分:13)
您必须先禁用系统完整性保护。
csrutil disable
,然后按返回键。来源:http://mattjanik.ca/blog/2015/10/01/refind-on-el-capitan/