Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I tried to install Ubuntu on a machine having Windows OS.While installing Ubuntu I was not able to see all the partitions and I had to format the hard drive. Now the result is that I am having the clean Hard Drive with no primary partition and I am not able to install Windows OS also.

Please suggest me some steps to how can I install Windows OS and Ubuntu on the same machine?Also suggest me steps to create primary partition.

I googled but while following the steps got messed up.Please suggest me some links.

share|improve this question

marked as duplicate by Braiam, i08in, souravc, mikewhatever, Seth Feb 24 '14 at 2:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Thanks for the response.But I am not able to boot windows.So I can't follow that post.I previously read many post what you suggested.I need a solution Which tells How to create primary partition Then How to install windows such that ubuntu can also be installed – nitesh.kodle123 Feb 5 '14 at 10:01
read this article HowTo Partition – JoKeR Feb 5 '14 at 10:10
If you did format your hard drive what was unnecessary but if you did you have to create new partition table, Windows uses NTFS commonly and Ubuntu uses EXT4 nowadays. – JoKeR Feb 5 '14 at 10:22
Thanks @JohnyD. But can you suggest me how to proceed.Yes I read some suggesion in that it is mentioned to create separate partition . – nitesh.kodle123 Feb 5 '14 at 10:41
if you want to install Windows and Ubuntu on the same machine firstly you need to install Windows because Windows don't wanna see any other OS's installed on Hard Drive. To find out of the first steps and how to install Windows you can find on its official website and ways of installing Ubuntu including dual-boot over here what partitions do you need for Ubuntu and sharing with other OS's I've already provided in upper comment. – JoKeR Feb 5 '14 at 11:06
up vote 2 down vote accepted

Fix boot After installing ubuntu the default boot will be GRUB so you need to replace it with MBR and below is how to fix it

1- boot from windows 7 or XP CD. 2- select repair --> cmd prompt. 3- input bootRec.exe /fixmbr

then you can install windows without any problem

Dual boot windows and ubuntu

please check the below URL

UBUNTU Wubi installation

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.