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 Windows 7 installed on C drive and installed Ubuntu on D drive. When I start the laptop, it starts with Ubuntu. I want to switch back to Windows 7. I don't want to lose any data on Windows 7. How can I uninstall Ubuntu using Ubuntu itself? I'm running Ubuntu 12.10 64bit.

share|improve this question

if you have windows 7 on one HDD and Ubuntu on another HDD all you have to do is remove the Ubuntu drive and it will boot into Windows 7.

This then saves your Ubuntu installation in case you ever decide you want to go back to it all the while keeping Windows 7

share|improve this answer
The problem is how do i remove it? I mean can you tell me the procedure. I have imp data on all 3 hdd's of mine. I can't install windows again coz i'll have to format the hardisk and i can't format the d drive coz it has has data n unfortunately ubuntu on it – Michael Warner Apr 19 '13 at 22:15
If you have windows 7 on a seperate hard drive to Ubuntu then all you need to do is turn the power off to your machine (make sure you do this as) remove the side panel of your computer tower find the hard drive you have ubuntu on (if you do not know which one it is just pull out the power socket on each hard drive and reboot the computer it will either load into windows or wont (power sockets are white blocks about an inch wide and 1/4 inch thick)) once you have figured out which hard drive is your ubuntu one all you need to do is remove all the wires from the back of it – DriftedMass Apr 19 '13 at 22:17
Umm. I'm talking about a laptop over here. Isn't there a way to shift back to windows? – Michael Warner Apr 19 '13 at 22:20
ok if your talking about a laptop then its basically the same, if you have say 2 hard drives installed then your main one (hopefully running on Windows 7) will b located at the bottom of your machine normally just underneath the trackpad. all you have to do is remove the screws and the plastic flap. Alternatively you could put a windows installation cd into your machine select the drive with ubuntu on it go through the process of formatting the drive with that cd the exit the installation process. Once that is done you will be able to get back into Windows – DriftedMass Apr 19 '13 at 22:38
But i toldyou i have data in the drive i cant format at. I'm new to all this. Just tell me How do i know what drives are being used ? All i know is windows was installed on c drive. now how do i know on which drive is ubuntu installed? – Michael Warner Apr 19 '13 at 23:06

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.