[SOLVED]Multi-booting Trio With Ubuntu Doesn't Work

I’m trying to multi-boot a Mac with macOS, Windows, and Ubuntu Linux operating systems. I have had success with Linux working in a trio multi-boot using Fedora Workstation; however, I can NOT get Ubuntu working in the mix though. I receive a Windows 0xc000000e error message after trying to install Ubuntu. I have noticed that this error message occurs not from installing, but rather simply deleting a partition set aside for Linux. I have also had success triple multi-booting this exact combination before, but I can’t get it to work for some reason.

Help from experienced people is appreciated on this matter.

That sounds like it’s an EFI partition problem?

I don’t know what setup you have, but I have always found rEFInd to be a trouble-free solution, no messing around with trying to add boot data on the same partitions and overwriting issues, etc.

I have been using rEFInd if that helps.

Is this Linux boot partition first then adding Windows, or separate partitions, or what’s your setup?

Managed to get it working.

I had to Install the Mac operating system first, then partition for Windows, Linux, and my storage partition after the installation using Disk Utility on the Mac desktop, insert the Linux installer USB, reboot into the Ubuntu installer, format the Linux partition to Ext4, set the bootloader location to root or “/”, install Ubuntu from there, reboot back into the Ubuntu installer USB after it had completed installing, open Terminal, (Here’s where I needed to know what to do) enter the following:

gdisk /dev/sdX

X = the drive letter that has the operating systems installed. For me, this was, “a”, so, “gdisk /dev/sda”.

r
p
h
Y

Y = the number of the Windows partition obtained from the previous command. For me this was, “4”.

y

Enter key/Leave blank

n
n
w
y

then, power of the system, remove the Ubuntu installer USB, insert the Windows installer USB, turn on the system, boot into the Windows installer USB, select a custom install, select the dedicated space for the Windows partition, and delete it, select the new space for the Windows partition, and select the Next button. From there, it was pretty straight forwards.

This guide is what made things work. Specifically the gdisk Terminal entries. I don’t remember needing to enter these, but it does work, and it’s what made it work.