Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've been trying for hours to remove Ubuntu which is the only OS on my laptop. I don't have a Windows installation there. I've followed various bits of help, including trying to get boot-repair to work (I just get error messages when I try to run the recommended commands).

Please can someone tell me how to get rid of Ubuntu? It won't recognize my .iso copy of Windows - tries to read the DVD and then just boots Ubuntu anyway. The DVD is fine - I can use it on other computers and it's perfectly OK.

share|improve this question
    
Are you sure that you are booting the cd, since Ubuntu is not oppressing itself at all. –  Dr_Bunsen Nov 2 '12 at 16:24
    
What do you mean by iso copy of windows? –  nikhil Nov 2 '12 at 16:59
    
Did you burn your .iso file to a disk as an image, or simply burn the .iso file on the disk (whereas when you put it in the drive and explore it you simply see the iso files). If you burned it as an image, you would see the directory structure of the windows install disk rather than just the .iso. –  Jayson Rowe Nov 9 '12 at 3:44

3 Answers 3

Wow, this is a really strange question. You want to remove the only OS on your machine. I won't ask why, maybe you wish to try something else. If this is what you really want, try running

sudo dd if=/dev/zero of=/dev/sda

from any live CD.

Before you run this, know that it'll nuke your hard disk, your computer will not be usable until you install a new OS.

share|improve this answer

It sounds as though two things are possible:

  1. Your computer is not set to use the CD as the first boot option. If this is the case there is usually an option to interrupt the normal boot and select an alternate boot, but if that is not happening you should use your bios to move the CD up to the first boot device.

or

  1. You are missing the prompt that the Windows Installer gives "press any key to install Windows". If you do not hit the key you will not boot the Windows installer.
share|improve this answer

To uninstall Ubuntu, simply install another operating system, ensuring that you format the hard drive during the installation process.

Put the installation disc into the drive, make sure your BIOS is set to boot up from disc (you'll have to check with your BIOS settings on how to do that), and start up the computer. It's really as simple as that.

Now, if your computer is not booting from CD/DVD, you don't have your BIOS settings set properly, which has nothing to do with Ubuntu. I suspect that whatever problems your having, it has nothing to do with Ubuntu.

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.