Ubuntu – Can’t install Windows 10 alongside Ubuntu (MBR error)

bootdual-bootmbrpartitioningwindows 10

I have Ubuntu 14.04 installed for now long time and I need a Windows 10 so dual boot would be perfect.

I don't want to reinstall Ubuntu and install Windows 10 first so I lets try it my way. Why? Because it's a hassle to set-up my Ubuntu system as it's now.

I created a NTFS partition, in this case sda3 (/dev/sda3). The partition sda1 is my main Ubuntu partition.

Partitions (gparted)

But when I try to boot Windows installation I come up with error (Sorry for large pictures, I'm on liveCD):

Partitions while installing
Error for the partition

Error says:

Windows cannot be installed to this disk. The selected disk has an MBR
partition table. On EFI systems, Windows can only be installed to GPT
disk.

Best Answer

Type of partitioning of drive is critical for Windows install. Less so for Ubuntu.

Windows only installs to MBR(msdos) partitioned drives with BIOS. Windows only installs to gpt(GUID) partitioned drives with UEFI.

For both Ubuntu & Windows how you boot install media UEFI or BIOS is then how it installs. And always best to have all systems boot in same mode. Grub can only boot systems installed in same mode, but you can boot from UEFI boot menu if not in same boot mode.

If system is BIOS/MBR Windows has to have a primary NTFS formatted partition with the boot flag. Only one boot flag per device. Does not have to be sda1, but should be before the extended partition to avoid some other issues. Normal installs of Windows use two primary partitions, the 100MB boot, and main NTFS. But Windows will install to one NTFS primary partition.

With UEFI/gpt Windows requires space to install, needs several partitions.

Windows 7 DVD is BIOS, but can be copied to flash drive and converted to UEFI boot. You have to create the default UEFI boot /EFI/Boot/bootx64.efi on Windows flash drive. Files are there just need moved to correct locations and/or renamed.

Newer Windows is like Ubuntu installer that can be booted in either UEFI or BIOS boot mode.

Related Question