我正在使用双引导系统,并使用以下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
祝福命令有一些新的变化吗?
谢谢你的帮助。
您必须先禁用系统完整性保护。
csrutil disable
并按返回键。来源:http://mattjanik.ca/blog/2015/10/01/refind-on-el-capitan/