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
up vote 0 down vote accepted

Last time i was in the same situation , So if you delete windows partition it will affect grub for sure, actually in my case that happened . Then you have recover it as mentioned by guru prasad.

So re-installing both is better , before deleting both the OS do-

  1. Backup home

  2. open /var/cache/apt/archive and copy all the .deb files somewhere else after re-installing Ubuntu , copy them to the same folder and install your software’s by normal apt-get install it will use those .deb files and little from internet to install.

share|improve this answer
  • you dont need to remove ubuntu.You can just delete the windows partition on ubuntu and reinstall windows on the same partition.
  • To delete a windows partition,you need to install gparted partition editor on ubuntu.Run the below commands on terminal to install gparted,

    sudo apt-get install gparted
  • Open gparted ,locate the windows7 partition and format it to ntfs filesystem.

  • Then bootup the windows-live-disk.During windows installation select the custom option and then select the ntfs partition you formatted it on gparted and install windows to it.

share|improve this answer
Actually I have a partition will restore my computer to factory settings. No windows disk. – Duco Dec 4 '13 at 12:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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