0

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

9
  • @TechLife I am not sure when did that happened but all of my partitions converted to primary partitions(added an Image), previously "Media, Setups and Docs" were extended partitions. I think we have to find some tool for Ubuntu, I don't have Windows Installed right now. Commented Jan 5, 2015 at 20:54
  • so you have the iso right? use this ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu or this is better askubuntu.com/questions/59551/how-to-burn-a-iso-to-a-usb-device put partition wizard iso on usb
    – TechLife
    Commented Jan 5, 2015 at 20:58
  • @TechLife I have booted from USB. I am on Ubuntu Right now... not sure what to do here. Commented Jan 5, 2015 at 21:19
  • 1
    what the ....? but unless you haven't written anything to it the data is there, no matter it has partition or not. Anyway in the future try not to install ubuntu first, The windows should be always installed first, in this case you can install any OS after windows, Thats why I love windows.
    – TechLife
    Commented Jan 6, 2015 at 15:44
  • 1
    @TechLife Thanks a lot sir!! I will take care of what you said for future references. and agin, you are the best. Commented Jan 7, 2015 at 3:32

3 Answers 3

0

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.

2
  • I have a lot of data in my HDD, wiping all data is not an option :) Commented Jan 5, 2015 at 20:59
  • @Bharat I'm sorry unless you do virtual box or wipe it won't work. Windows get jealous when installing and wants all the space. p.s. I'm hardly a genius
    – 40xDuelist
    Commented Jan 5, 2015 at 21:58
0

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.

2
  • 1
    OP states data on partitions so wipe not an option
    – Dave M
    Commented May 4, 2017 at 10:48
  • Make a new one. Set it as default, then prompt to delete the main one. It will say that all data will be gone. Say yes. Then install OS on new one, and you're done.
    – TGamer
    Commented May 6, 2017 at 1:20
0

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

1
  • 4 four primary partitions is a limitation of disk format (MBR), not actually of Windows.
    – Overmind
    Commented May 4, 2017 at 11:42

You must log in to answer this question.

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