1

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?

yuvi
  • 135

4 Answers4

2

@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.

0

I am not sure how the Linux bootloaders work with VHD Boot, but the last time I worked with a Linux/Windows dual boot, the Linux bootloader handed off the boot process to the Windows bootloader when booting into Windows. As long as the Windows bootloader for Windows 10 is used to initialize the operating system, I see no reason why using a native boot VHD wouldn’t work.

Using Boot to VHD, you can create a virtual disk with the required partitioning scheme and boot even if the storage medium is incompatible with the system type. For example, on a BIOS computer with a GPT hard disk, you can create an MBR VHD and boot Windows from that MBR VHD, even if the storage is a GPT hard disk. See Enable Boot to VHD with BIOS and GPT for details on the workaround.

-1

My apologies if it has already been suggested, but what about formatting the bootable flashdrive as gpt? I have successfully installed windows to a gpt disk from a gpt formatted bootable usb

itt
  • 1
-1

I have the benefit of reading the Gentoo Linux Handbook, so I have to tell you your problem is that GPT partitions don't work with Windows. The only way it will work is if you copy over Linux, format the hard drive using MBR and move back your copy. Otherwise unless Windows changes you won't be able to dual boot it without serious work. The other option is to get another hard drive but you might have to disconnect the other to get it to work, I haven't tried it.