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.

Possible Duplicate:
How can I securely erase a hard drive?
How to remove Ubuntu and put Windows back on?

Ok. All I want to do i erase my entire HDD including ubuntu 12.04. I just bought win7, and I want to erase everything so I can boot that up. I have no important files, I just want it gone. I am having trouble doing that. I get access denied everytime i try to clear my HDD. Help please.

share|improve this question

marked as duplicate by Rinzwind, Florian Diesch, fossfreedom Dec 21 '12 at 9:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
"I just bought win7, and I want to erase everything so I can boot that up" Installing win 7 is offtopic on askUBUNTU ;) –  Rinzwind Dec 21 '12 at 6:44
1  
@Rinzwind Question about how to use the Windows installer are off-topic, but this question is really asking "what do I need to do to erase my disk before installing another OS"? That's on-topic (the answer is basically: nothing), and I believe I've posted an appropriate answer. I recommend against closing this question. –  Eliah Kagan Dec 21 '12 at 9:25
add comment

1 Answer 1

If you have one operating system installed, and you want to wipe the disk and install another operating system, you don't have to do anything in the first operating system for this.

Every OS that has an installer (including Ubuntu and Windows) is capable of erasing the old operating system when you install it. This would apply equally well if you were erasing Windows and installing Ubuntu.

It's only if you want to keep your first OS that you sometimes need to do something in the first OS before installing the second.

When you install the second operating system (whether it be Windows or any other OS), you will be able to tell the installer where you want it installed. You will have the option to format the disk or remove existing partitions.

Therefore, you do not need to do anything in Ubuntu.

You could boot from an Ubuntu live CD and erase the existing partitions, but there is no reason for you to do that, because the Windows installer (like any operating system's installer) is quite capable of doing that as part of the installation process.

On the other hand, if you want to recover some files, such as personal documents, from the Ubuntu system, you can use Ubuntu for that. (But since your Ubuntu system works, I'm guessing you've already done that. If the installed Ubuntu system were broken, you could boot from an Ubuntu live CD and access your files. If you need help doing that, please feel free to post a new question about that.)

If you need specific assistance using the Windows installer to wipe out the pre-existing operating system (in this case Ubuntu), that is beyond the scope of our site. For questions about how to use the Windows installer, you can ask somewhere where Windows questions are answered, like Super User.

share|improve this answer
add comment

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