Installing Windows After installing Ubuntu

Posted on

Problem :

I had only Ubuntu installed in my system. I formatted the drive in which Ubuntu was installed and trying to install the windows 7 from past 4 days.

Initially Windows was showing an alert saying “Windows can’t be installed in this disk. Select Disk has MBR style partition.” For this I did following:

  • Booted the system in Ubuntu(Try Ubuntu without installing).
  • Ran sudo gdisk /dev/sda.
  • selected n(for new partition)… in the end I selected GUID as 0700(Microsoft Basic Data).

Then I tried booting system again in windows Then it says “windows cannot be installed to this disk. the selected disk is of the gpt partition style.”

I tried to do some other stuff too, I tried to select ef00(EFI System Didn’t work), 0c01(Microsoft Reserverd didn’t work).

I tried few stuff in windows too, using Diskpart, according to net tutorials, I need to run clean(which will wipe all the data from other partitions too), but I don’t want to format my drive.

Please help, let me know if you need anything else.

PS: I have Followed –this link– too, so please don’t suggest this or mark it as duplicate.

enter image description here
enter image description here

Solution :

If you have a Windows 7 installation disk you can format the drive from the disk. Windows is very picky on how the drive its installing on needs to be formatted. If that doesn’t work use a Windows xp installation disk just to format the drive.

I done this exact thing before: (But this erases all your data)

Delete All Partitions, except one which is you can’t erase, and make a new one. Set it as the default, and install windows on the old one.

(MBR) can have four primary partitions. One of them can be an extended partition, which can contain any number of logical partitions.

GPT partition scheme which cannot hold the boot volume for a Windows 7 machine

Edit: Also you can try this GPT to MBR

You need to use windows live .iso or you can use cmd when you use repair system from cd/pendrive.

Leave a Reply

Your email address will not be published. Required fields are marked *