Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

monkeybagel

macrumors 65816
Original poster
Jul 24, 2011
1,144
62
United States
For those of us with the cheese grater Mac Pros and have Windows 8+ installed, how do you change the boot partition from either the GUI or Terminal to boot into Windows? I did know how using the Terminal and the 'bless' command, but can't recall what command I used. The Startup Disk in System Preferences does not recognize the volume as a bootable drive, nor does 'BootChamp'. I can hold Option and boot to the volume fine holding Option and selecting EFI Boot, or make it permanent by holding Control when selecting it, but would like to be able to make this change remotely if needed. The Boot Camp Control Panel applet in Windows successfully allows you to select Macintosh HD as the startup disk, but how to select Windows from OS X and reboot remotely has escaped me. There are many articles on the web on how to select a standard BIOS installation and hybrid-MBR of Windows from Terminal, but not an EFI installation. Anyone know how right off?

Thanks!
 
either of these should work:

Code:
sudo systemsetup -setstartupdisk "/Volumes/Name of Disk"

or

Code:
sudo bless -mount "/Volumes/Name of Disk" -setBoot

on my MBP the EFI install is listed as /Volumes/BOOTCAMP/WINDOWS
I haven't tested on my Mac Pro as my bootcamp there is a BIOS install
 
Last edited:
I will try that and report back. Did the 2012 MacBook Pro in your signature install native EFI for Windows? I have an Early 2013 MacBook Pro and AFAIK it will not. I haven't tried Windows 10 on it yet.
 
either of these should work:

Code:
sudo systemsetup -setstartupdisk "/Volumes/Name of Disk"

or

Code:
sudo bless -mount "/Volumes/Name of Disk" -setBoot

on my MBP the EFI install is listed as /Volumes/BOOTCAMP/WINDOWS
I haven't tested on my Mac Pro as my bootcamp there is a BIOS install


To follow up, the above commands did not work. The top one looks for a default OS X directory. I ended up using
Code:
 diskutil mount /dev/disk4s2
which is the EFI partition on the Windows SSD. The volume mounted as /Volumes/EFI.

I then issued this command:
Code:
sudo bless --folder /Volumes/EFI/EFI/Boot --file /Volumes/EFI/EFI/Boot/bootx64.efi -setBoot

This worked fine, but I did have to disable SIP before it would run successfully, as it writes a value to NVRAM that is apparently protected by SIP.
 
Did the 2012 MacBook Pro in your signature install native EFI for Windows? I have an Early 2013 MacBook Pro and AFAIK it will not. I haven't tried Windows 10 on it yet.
I used a second ssd in place of the optical drive dedicated to windows and it was a native EFI install. I don't know how it works installing to a partitioned osx drive though.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.