Sample Header Ad - 728x90

Set EFI to boot Windows via (U)EFI one time

1 vote
1 answer
2334 views
On my late 2012 Mac Mini, I have installed both Mac OS X Mavericks (with FileVault) and Windows 8.1 (natively, not via Bootcamp): /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *1.0 TB disk0 1: EFI EFI 268.4 MB disk0s1 2: Apple_CoreStorage 859.0 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3 4: Microsoft Reserved 134.2 MB disk0s4 5: Microsoft Basic Data Windows 140.2 GB disk0s5 That's working fine, and I can boot both Mac OS and Windows. However, I'd like to be able to boot my Mac into Windows from the command line - without permanently changing boot settings. To my understanding, this should do it: sudo bless -mount "/Volumes/Windows" -setBoot --nextonly The command produces no output. With --verbose, it tells me this: EFI found at IODeviceTree:/efi Mount point for /Volumes/Windows is /Volumes/Windows Mount point is '/Volumes/Windows' No BootX creation requested No boot.efi creation requested found ioreg "FirmwareFeaturesMask"; featureMaskValue=0xE003FF37 found ioreg "FirmwareFeatures"; featureFlagsValue=0xE001F537 isPreBootEnvironmentUEFIWindowsBootCapable=1 given BSD is not a DVD disc medium isDVDWithElToritoWithUEFIBootableOS=0 Checking if disk is complex (if it is associated with booter partitions) GPT detected Booter partition required at index 6 System partition found Preferred system partition found: disk0s1 Returning booter information dictionary: {type = mutable dict, count = 3, entries => 0 : {contents = "System Partitions"} = ( disk0s1 ) 1 : {contents = "Data Partitions"} = ( disk0s5 ) 2 : {contents = "Auxiliary Partitions"} = ( ) } Path to mountpoint given: /Volumes/Windows IOMedia disk0s5 has UUID D4FC6318-275B-427D-B039-3AB033DE8ACC Setting EFI NVRAM: efi-boot-next='IOMatchIOProviderClassIOMediaIOPropertyMatchUUIDD4FC6318-275B-427D-B039-3AB033DE8ACCBLLastBSDNamedisk0s5' Setting EFI NVRAM: IONVRAM-DELETE-PROPERTY='efi-boot-file' Setting EFI NVRAM: IONVRAM-DELETE-PROPERTY='efi-boot-mkext' Setting EFI NVRAM: IONVRAM-DELETE-PROPERTY='efi-boot-kernelcache' NVRAM variable "boot-args" not set. That looks good to me - but the command has no effect, after rebooting, I'm back in Mac OS X. What am I doing wrong?
Asked by fefrei (161 rep)
Dec 28, 2013, 02:24 PM
Last activity: Jan 28, 2016, 03:02 PM