Linux – can’t install Windows 10 on a GPT partition – any way not to lose Linux

linuxmulti-bootpartitioningwindows-10-preview

Today I decided I want to install Windows 10 on a seperate partition, to test it out and have it on dual boot. So I cleared up some space at the end of the /home/ partition, made a bootable usb, and then, when I tried to install Windows to the allocated space, I got this error:

windows cannot be installed to this disk. the selected disk is of the gpt partition style

So I asked doctor Google, and he said, "oh what's the problem? just erase your entire disk".

So uh, this "solution" aside for a moment, is there a way to, like, not lose Linux in the process? Here's my current partition layout (courtesy of gparted):

enter image description here

As you can see, I have / and /home/ on seperate partitions, and I have cleared some 136GB for my Windows. What else do I need to do?

Best Answer

@yuvi, you've chosen a quite difficult path but it is doable. Multi-booting is tricky in itself and doing it across operating systems with only one disk drive adds two more layers of complexity.

Next time you contemplate it, consider this (some of which has been mention earlier):

  • Determine if your system is BIOS or UEFI based.
  • A Windows installation medium is typically dual boot: UEFI and BIOS
  • MOST UEFI computers can still boot using legacy BIOS mode with help of a Compatibility Support Module (CSM). The CSM can be switched on/off in many firmware.
  • The Windows installer is wired to bind system types to partition formats. If the computer is UEFI, Windows expects a GPT formatted disk and refuses to install on MBR formatted disks. Likewise, if a Windows installation is booted by a BIOS system, Windows is bound to install the OS on a MBR formatted disk.
  • The format of additional disks (data disks) is of no consequence. Windows will be able to utilise both MBR and GPT formatted disks.

Further reading: Sample: Configure UEFI/GPT-Based Hard Drive Partitions by Using Windows Setup

It should be noted that Windows has supported GUID Partition Table (GPT) for well over a decade now. Windows XP was the first workstation Windows to support it and since then every successor has supported it. I'd ditch that 'handbook' that claims it is not so.

Related Question