0

I have Ubuntu installed, but I need a Windows next to it. I'm trying to follow this guide to do so, but when I reach the screen where I'm supposed to choose the space for Win I'm getting an error: "Windows cannot be installed to this disk. The selected disk is of the GPT partition style" (screenshot here).

Of course I've tried to change the partition style, by following another guide. Currently, gdisk results for the drive are saying that it's MBR only and GPT is not present: gdisk results

I've tried to create a Win pendrive with Rufus (with both MBR and GPT settings), but then I'm getting error "Windows cannot find the Microsoft license software terms" error afer entering the Win license key.

I'm stuck, no idea how to do it other than formatting the drive and installing Win and then Ubuntu, but this I'd rather avoid, as I don't want to format an SSD and it's a lot of work to install back all the stuff on the Ubuntu.

5
  • I suspect your Windows installation media is invalid. Make sure you are booting the USB as UEFI. (Check your BIOS settings). Be prepared for the possibility of Windows to screw up GRUB. You'll probably need to do an os-prober and update-grub when you're done
    – Nmath
    Oct 4, 2020 at 22:08
  • How you boot install media, UEFI or BIOS is then how it installs for both Ubuntu & Windows. Windows only installs in UEFI boot mode to gpt partitioned drives & only in BIOS mode to MBR drives. Microsoft has required vendors to install in UEFI mode since 2012. So boot Windows installer in UEFI mode. If Windows was originally on system, the product key is in UEFI & can cannot be used with BIOS.
    – oldfred
    Oct 5, 2020 at 4:06
  • There never was Windows on this machine, I have my own copy. I'll try doubly checking the boot options, thanks.
    – Irrehaare
    Oct 5, 2020 at 7:55
  • @Nmath and oldfred, that was the thing, I feel quite silly now. Thanks A LOT. It's my first question here, so I don't know the customs. Can you post the comment as the answer so that I could mark it?
    – Irrehaare
    Oct 5, 2020 at 8:32
  • Yes, so I want rep for you guys :)
    – Irrehaare
    Oct 6, 2020 at 14:02

1 Answer 1

0

You should've install windows first then ubuntu. It is way comfier. Anyways. I think you can just create Volume using gparted or Disks and install windows there through Windows Setup

4
  • So I need two pendrives, one with Ubuntu and one with Windows simultaneously and run the Win install from try Ubuntu? I've already created free, unallocated space with gparted. And I know that installing Win first would have been much better, but original plan was Ubuntu only.
    – Irrehaare
    Oct 5, 2020 at 7:53
  • If you installed ubuntu in UEFI mode then yes. Just Resize main partition using ubuntu live on a usb stick. And then boot windows setup and install it there. If you have Legacy well oops
    – Adkatka
    Oct 5, 2020 at 13:10
  • Advice from Nmath comment worked out, so I can't tell if your would work as well (I didn't have two usb sticks to try it out).
    – Irrehaare
    Oct 6, 2020 at 14:03
  • You dont need 2 usb sticks
    – Adkatka
    Oct 6, 2020 at 14:07

You must log in to answer this question.

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