Setboot? Formerly bless? Command line OS switching?
I run a couple of computer labs at a university that dual boot into Mac OSX 10.11.6 and Windows 8.1 Pro. Years ago, I used to be able to run a bless -setboot command from Apple Remote Desktop to start up an entire classroom on one platform or the other, both on a schedule and on demand.
We used to us commands like this on the Mac side: bless -mount /Volumes/ -setBoot shutdown -r now
And then we were able to script the Windows side with stuff like this: C:\Program Files\Boot Camp\bootcamp.exe" -StartupDisk "Macintosh HD"
Shutdown /r /t 0
However, this stopped working sometime around Mavericks, because the name of the boot volume seemed to randomly be either EFI Boot or Macintosh HD.
I've been researching this a lot, and came across how "bless" is depreciated and I should use systemsetup after disabling csrutil. (You can't even -liststartupdisks without disabling csrutil!)
So if I run this: sudo systemsetup -liststartupdisks
It returns:
/Volumes/.BOOTCAMP/WINDOWS
/System/Library/CoreServices
However, doing this doesn't work: sudo systemsetup -setstartupdisk /Volumes/.BOOTCAMP/WINDOWS
It returns: Not a System Folder: /Volumes/.BOOTCAMP/WINDOWS/System/Library/CoreServices
I AM able to boot into Windows 8.1 Pro and Mac OS 10.11.6 by holding down option and restarting... and also the Recovery partition (why isn't that listed?)
I'm thinking about buying something like Boot Runner, but it doesn't have the sort of command line control via ARD and VNC that I'd like to have. Has anyone found a Setboot workaround for El Capitan?
Mac Pro, OS X Mavericks (10.9.1)