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 screwed up using a friend's external HDD and installed Ubuntu on it for my new PC. I can still run it from a disk but I have no idea how to completely wipe the HDD of Ubuntu. Windows won't even recognize the device any more.

share|improve this question
    
Thank you all so much, it worked like a charm! –  user39558 Dec 28 '11 at 20:26
2  
Consider marking your favorite answer as the right solution (use the gray/green circle left to the chosen answer). This is both a flattery to the person who helped you, but also will be helpful for anyone else who has the same problem as you did. –  Rafał Cieślak Mar 22 '12 at 18:02
add comment

4 Answers

In windows, use "disk management" to reformat the drive.
Note: You will lose all data stored on the drive.

share|improve this answer
add comment

If you have Windows installed on the same drive run fixmbr first! Then remove Linux partitions (including swap), as mentioned before.

Ubuntu Linux replaces MBR record with its own boot loader. If you just delete linux partitions you'll get unbootable drive. To fix it just boot from any DOS or Windows live disk and run fixmbr c:.

share|improve this answer
add comment

remove that parition using any disk-formatting tool, im not sure the windows disk-formatting tool will detect ext3/ext4 paritions or not, In that case use any third party disk formatting tools like Partition Magic or Paragon Partition Manager.

share|improve this answer
add comment

All you need is Windows7 installation disk, put it in, restart your computer, then set the boot priority from BIOS setting CD or Flash-Drive.

When Win7 installation comes up, choose repair. Then choose repair this computer with recovery tool, click next and choose command prompt.

Enter this command bootRec.exe /fixmbr and reboot your PC. Go to control panel -> System and Security -> Administrative Tools -> Computer Management -> choose Disk Management (on your left). You will see your computer partitions, delete your UBUNTU SERVER partition by right click -> delete Volume. After it is deleted you will have new disk space.

Do not format, instead reinstall ubuntu or Linux if you wish and you will have a 100% fresh copy.

share|improve this answer
add comment

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.