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

I have system with XP installed first, followed by Mint 12 and then Ubuntu 12.04. I now wish to remove Win XP and install Win 7 in the Win XP partition. How do I go about this?

Thanks for any help in the matter.

share|improve this question

closed as off-topic by Ringtail, Jorge Castro, hhlp, Seth Mar 1 '14 at 22:29

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Seth
  • "This question does not appear to be about Ubuntu within the scope defined in the help center." – Ringtail, Jorge Castro, hhlp
If this question can be reworded to fit the rules in the help center, please edit the question.

First of all we need to know if you have separate partitions or drives for each of the operating systems. – dhojgaard Dec 11 '12 at 13:38
So at the moment you have a triple boot system? – To Do Dec 11 '12 at 15:17

Assuming you havent used wubi to install mint and Ubuntu.

Install Win7 over XP partition.

Then restore grub by booting from a live cd like so:

--> Mount the linux partition ( Mint or Ubuntu . Both are fine)

-->sudo grub-install --boot-directory=path-to-the-mounted-partition /dev/sdX

(X = a, b or c depending on the name of the device . If you dont know it, then do ls /dev/sd*)

-->sudo update-grub2


share|improve this answer

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