4

I'm attempting an EFI install of Windows 10 on a 2009 (4,1) Mac Pro firmware upgraded to 5,1. I'm running High Sierra, and installing Windows 10 on a second partition on the same disk. I have no problem installing Windows 10 via bootcamp (which defaults to legacy mode). In this case, the Windows Bootcamp Drivers (v. 5261) install perfectly and Windows boots normally (i.e., when holding ALT during bootup, I can select a partition labeled "Windows." I am also able to boot directly back and forth b/w Windows and Mac using Bootcamp Control Panel in Windows 10 / "Startup Disk" in High Sierra).

The problem is that I cannot seem to properly install Windows 10 in EFI mode. In order to install using the EFI option on the Win10 Install DVD (or a USB installation), I first have to create a partition (using Bootcamp Assistant or Disk Utility) and then reset my MBR to "Protected" wth Gdisk. I can then perform an EFI installation of Windows 10, but when I run BootCamp's drivers (I've tried BootCamp 5.1 v. 5261, as well as 6.1 and 4.0), Windows crashes with a black screen and then turns off.

Additionally, when I perform an EFI installation, I cannot boot into Windows XP from High Sierra using "Startup Disk." Although "Windows" appears in the last of startup options, if I reboot from "Startup Disk" I get a black screen with a flashing DOS cursor. With a legacy installation, I don't experience this issue.

I believe that Windows 10 EFI is not properly detecting my video card (an Apple NVIDIA GeForce GT 120). In Legacy mode, the bootcamp drivers properly register it as a GT 120, but in EFI mode, Windows recognizes it as a GeForce 9500 GT. With an EFI install, the only way I can boot fully is to first disable the Display Adapter in Safe Mode. Any attempt to install a video card driver (with Bootcamp or using NVIDIA's drivers) causes windows to crash and go into a boot loop until I disable the video card. Normal workarounds (like running BootCamp.msi from an elevated command prompt, or editing the launch conditions for BootCamp.msi using orca) let me complete installing Bootcamp in EFI, but I still have to disable the Display Adapter in safe mode, and I still cannot boot into Win10 from OS X (using "startup disk").

I've tried editing Bootcamp's Info.plist (to enable Windows 10, USB, and edit the 'PreUEFI' section) but this doesn't make a difference. I've also tried using WinClone to convert a (working) Legacy Mode windows installation into an EFI installation and I get the exact same errors (a bootloop until I disable the display adapter in safe mode).

I would keep the Legacy Mode installation and forget about the EFI installation - but my goal is to create additional partitions so that I can eventually triple-boot macOS/Windows/Ubuntu (which I cannot do with a Legacy Mode installation, which limits me to 4 partitions per disk). I would also like to avoid using alternative boot managers (like reFInd) and stick with the Apple Boot Manager instead.

If anyone had any insights, I'd really appreciate any help in getting my EFI installation to work (or, alternatively, adding partitions to a legacy installation).

Thanks!

  • 2
    Wish you luck on this one. I have a similar 4,1/5,1 setup & can boot from 'many' choices from Opt/boot, though I really don't know how I managed it. I've no Win10, but I do have Mojave beta, 2 High Sierras & 2 Win7s, all of which I can choose at the chimes from 'opt/boot' but not from the Startup Disk CP. Thay are spread over several physical disks though, Disk Util tells me I have no more than 4 'proper' volumes on any physical drive. I've been using Paragon's HD manager as well as WinClone to keep these all functional across hardware charges, puter & drives from an old 3,1. – Tetsujin Jul 27 '18 at 18:56
2

Apple did not supply EFI mode Window drivers for your Mac. Therefore, there is no point pursuing an EFI install of Windows. In the later versions of macOS (including High Sierra), the Boot Camp Assistant can be used to download the Windows Support Software for 64 bit installs of Windows on your Mac. At the time of this writing, this download should be the same as downloading Boot Camp Support Software 5.1.5621.

Editing Bootcamp's Info.plist as solution is a myth. What you end up with is a installer for a different Mac. In other words, the installer usually will not even boot on the Mac used to create it.

Triple booting from your primary internal disk is not only possible, but has been documented at Ask Different, Super User and Ask Ubuntu. Of course, you have not specified which operating systems you wish include in your desired triple boot. For your Mac, the best course is to boot any Windows operating systems in legacy BIOS mode and all others in EFI mode.

The rEFInd boot manager is useful tool, but is usually not required to boot an operating system on newer Mac computers. The Apple Boot Manager usually is capable of booting any Mac compatible operating system, provided the operating system is installed in a way compatible with the Apple Boot Manager. For some operating systems, this may require you to modify some boot files' location and name after installation. On the other hand, rEFInd can often be used to avoid these types of modifications.

While GPT disks can have more than 4 partitions, the legacy mode BIOS booting of Windows allows only 4 partitions to be visible to Windows. Although, making more than 4 partitions visible to Windows is theoretically possible, I do not know of anyone every trying to do so. Also, there is no requirement that the first 4 GPT partitions be the ones visible to Windows.

I can provide the current disk configuration from a 2007 iMac as an example of a Mac computer with more than two operating systems installed. Below is the output from diskutil list.

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:       Microsoft Basic Data Shark                   202.0 GB   disk0s2
   3:       Microsoft Basic Data Shark2                  202.0 GB   disk0s3
   4:       Microsoft Basic Data SHARK3                  50.0 GB    disk0s4
   5:                  Apple_HFS Steelhead               245.1 GB   disk0s5
   6:                 Apple_Boot Recovery HD             650.0 MB   disk0s6
   7:                  Apple_HFS Ubuntu                  199.2 MB   disk0s7
   8:                 Linux Swap                         4.3 GB     disk0s8
   9:           Linux Filesystem                         93.9 GB    disk0s9
  10:                  Apple_HFS Steelhead2              198.9 GB   disk0s10
  11:                 Apple_Boot Recovery HD             650.0 MB   disk0s11
  12:                        EFI REFIND                  134.2 MB   disk0s12

This Mac has the following bootable partitions which can be selected from the Startup Manager.

  • Shark which has a BIOS bootable version of 64 bit Windows 10 installed. Windows is aware of the EFI partition by can not access the partition. Windows does have access to the Shark (NTFS), Shark2 (NTFS) and SHARK3 (FAT32) partitions. Note: Occasionally, I have had a dual legacy BIOS boot of Windows using both Stark and Shark2, but currently this is not the case.
  • Steelhead which has Yosemite installed.
  • Recovery HD (immediately after Steelhead) which is the Yosemite recovery partition.
  • Ubuntu which has rEFInd installed. The boot manager rEFInd is configured to silently boot the Ubuntu operation system. This is an older version of Ubuntu which requires either a modification of the installation or the use of rEFInd in order to boot on Mac computers. I believe the current version of Ubuntu no longer requires any modifications or the use of rEFInd.
  • Steelhead2 which has El Capitan installed.
  • Recovery HD (immediately after Steelhead2) which is the El Capitan recovery partition.
  • REFIND which has rEFInd installed. This version of rEFInd is configure to allow the selection of the same boot options as the Startup Manager (which the exception of itself).
  • Thanks for getting back to me. Trying to install Ubuntu 18.04. I've tried multiple ways of creating extra Ubuntu partitions after a Windows installation and all of them make Windows unbootable. If I create extra partitions in Windows 10, Windows complains that the disk will be converted to a Dynamic disk, and will not boot. If I create the extra partitions in Disk Utility, then the Windows bootup option disappears. If I follow the steps in StackExchange Question #257166, then the "Windows" option appears in Startup Manager but instead of booting windows, it says, "Missing Operating System." – vrl2 Jul 28 '18 at 18:28
  • You can not use any of the partitioning tools included with Windows 10 to change the partitioning of the installation drive. When Windows 10 is BIOS booted, Windows is unaware the drive is GPT formatted. Windows makes partitioning changes assuming a MBR format, so any changes made from Windows can lead to corruption. There are third party tools, such as gdisk, that can be installed in Windows and will work properly. – David Anderson Jul 28 '18 at 18:41
  • In that case, would the following steps make sense: 1) Install Windows (Legacy) using BootCamp (results in a working install) 2) use gdisk in windows to create three partitions as outlined in [1], and 3) use Ubuntu installer to resize / format partitions (and install)? If so, I'll update with results. Thanks again! [1] apple.stackexchange.com/questions/257166/… – vrl2 Jul 28 '18 at 18:49
  • After a normal macOS/OSX installation, followed by a Boot Camp installation of Windows, the Disk Utility will create new partitions between macOS/OSX and Windows partitions. The Windows partitions then get removed from the MBR table so Windows does not boot. You can manual add the Window partitions back to the MBR using fdisk or a third party tool such as gdisk. In my opinion, this solution may work, but putting Windows before macOS/OSX on the drive is a better solution. – David Anderson Jul 28 '18 at 18:58
  • In your proposed steps, where do you create space for the Ubuntu install? In step 2, gdisk creates three partitions, but gdisk can not create the space to add the partitions. The gdisk tool can only add partitions to empty space on a drive. Furthermore, Ubuntu may have problems installing to drives that are Hybrid GPT/MBR partitioned which is the case after a Boot Camp install of Windows on your Mac. – David Anderson Jul 28 '18 at 19:08
1

UPDATE: Thanks to @David Anderson for the excellent guide he posted as the answer to this question. I've followed the procedure from scratch a few times, and wanted to note the following in case it saves anyone else some work:

Correcting "Missing Operating System" when booting Windows: After following the steps in the guide above (successfully installing Ubuntu on top of a bootable Win10 Legacy Installation), I find both "Windows" and "EFI Boot" options available in Mac Startup Manager. The Ubuntu option boots, but the "Windows" option goes to a black screen that says "Missing Operating System." This error persisted even after reseting PRAM/NVRAM and SMC. To correct this, I followed these directions: I booted from the Win10 Installation DVD, launched "Repair," opened a Command Prompt, and used DiskPart to select my Win10 partition to make it active.

Adding main Linux, Swap, and EFI partitions: After completing the first section in the guide above (creating free space with Win10 / Gdisk), you can modify the next step (adding the main Ubuntu partition) to instead add multiple partitions. I used the Ubuntu Installer to create a total of three partitions as outlined in this guide: a 200M EFI partition (which I placed at the end of the free space), then an 8G Swap partition (again, placed at the end of the free space). Finally I used the remaining free space as an EXT4 file system for Ubuntu installation. Here is the output of diskutil list:

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            1.5 TB     disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:       Microsoft Basic Data BOOTCAMP                290.3 GB   disk0s4
   5:                        EFI UBUNTU                  200.3 MB   disk0s5
   6:                 Linux Swap                         8.0 GB     disk0s6
   7:           Linux Filesystem                         201.5 GB   disk0s7

Changing Ubuntu Bootup Na,e After finishing Ubuntu installation and fixing the Windows boot option, I booted into Mac OS and followed these steps (steps 1-5 of "the second way" under "alternative answer") to move / rename the required .efi files from the original EFI partition (in my case, /dev/disk0s1) to the Ubuntu EFI partition (for me /dev/disk0s5). I then renamed the Ubuntu EFI partition (to "Ubuntu") and deleted the folder "BOOT" from /Volumes/EFI/EFI. Now, on bootup, the Ubuntu option says "UBUNTU" instead of "EFI Boot." If you want, you can download a Ubuntu .icns file and place it in the appropriate location.

Optionally, you can use Disk Utility in MacOS to format the FAT32 Ubuntu EFI partition as "MacOS Journaled" so that you can use lowercase letters in the name that appears on bootup. First, back up the "EFI" folder from the existing Fat32 Ubuntu partition and after formatting it in Disk Utility, restore the contents of the "EFI" folder. Once you do this, Windows will once again say, "Missing Operating System" and will require you to once again make the partition active using Diskpart and the installation DVD. Here is the result: MacOS, Windows, and Ubuntu boot natively

Remaining Issues: Even though this results in a working triple-boot, the "Startup Disk" tool in MacOS only shows Windows and MacOS - not Ubuntu. I am still looking for a way to reboot into Ubuntu directly from MacOS (either through a terminal command or by adding Ubuntu to "Startup Disk"): No Ubuntu option in Startup Disk within MacOS, even though it is available in Startup Manger at boot

Optional: Save Bluetooth Settings b/w Ubuntu and MacOS When I tried using the same bluetooth keyboard / mouse in both Ubuntu and MacOS, I had to re-pair the devices each time I rebooted. To fix this issue, I followed this guide to transfer link key parings from MacOS to Ubuntu.

Thanks again for your feedback. Looking forward to any insights on the last remaining issues!

  • You should learn to try and post new questions. Currently, you are posting questions in the answers to questions you have posted as comments. This answer you have posted does not even answer the question you posted, yet you have marked the answer as accepted. Basically, you are posting questions and answers where no one will see them. – David Anderson Jul 31 '18 at 13:06
  • @David Anderson, Thanks - I've posted a new question (#332662) in case anyone has a suggestion on booting into MacOS / Windows from Ubuntu 18.04. – vrl2 Aug 1 '18 at 21:44
  • @DavidAnderson Thanks for the excellent guide. If I create three partitions in the Ubuntu installer (swap, Ubuntu EFI, and Linux Filesystem), in which order should I place them in the last step (Correcting Errors in the GPT and MBR Partition Table)? Do I place the EFI partition first, then Linux filesystem, then swap? Thanks! – vrl2 Aug 4 '18 at 22:48
0

I get to install and setup and that's it! Once the Mac Pro restarts it never boots back to Windows 10. Automatic Repair messages. Then the message Automatic Repair couldn't repair your PC. With this same message every single time: C:\Windows\System32\Logfiles\Srt\SrtTrail.txt. I can get to safe mode but uninstalling Apple display doesn't solve a thing since it's not even installed. I've disabled audio because that's shown with driver issues in Device Manager.

I had to remove the Nvidia driver found in the Boot Camp folder. The one Apple has for Boot Camp 6.1 isn't working for this system. After removing the Nvidia driver all is well!

The issue, I must reboot by hold down the Option key to select between the EFI (Windows) or Mac OS. When I use High Sierra Start-up it shows Windows but if I select it once the computer restarts I get a message to insert a system drive. And if I select Mac OS in the Bootcamp startup. It only reboots back into Windows. SMH

macOS High Sierra
2009 Mac Pro 4.1 (Firmware Flash to 5.1), 16 GB Memory, 1 TB HDD partitioned macOS/Windows
Nvidia GeForce 120 512 MB Graphics Card (Mac addition)

By the way I have a Windows partitioned using GParted since Boot Camp 6.1 on High Sierra didn't have a USB boot option without messing around with plist folder.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .