Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
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
1  
So at the moment you have a triple boot system? – To Do Dec 11 '12 at 15:17

1 Answer

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

Reboot.

share|improve this answer

Your Answer

 
discard

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.