So a while back I installed Ubuntu on my laptop. I've recently been using it again but want to re install windows, ive tried many methods but none seem to work. So I want the hardrive wiped completely, so I can re-install that way. Can anyone help me in doing this? Please help me!

  • Windows installation didn't let you just delete the partitions and format?
    – Mo2
    May 28 '15 at 15:23
  • We're sorry, but this site is all about Ubuntu and the people here are very good at dual-booting and removing Windows, but not very good at getting it back once it was removed... However, on superuser.com, a sister site to Ask Ubuntu, they're very good at deleting Ubuntu and installing Windows, so you might be better off there. ;-)
    – Fabby
    May 28 '15 at 16:48
  • possible duplicate of Help with reinstall Windows XP instead of Ubuntu
    – guntbert
    May 28 '15 at 20:09

You can just wipe your harddisk. There are many tools free or paid for that, you can google it.

But I'm gonna here give you two choices:

  1. Use Gparted Live CD then delete all partitions
  2. Use Ubuntu Live Cd and write zeros to the HDD using dd command

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

Replace X with yours

  • Then i try and delete the partitions using Gparted, it doesnt let me delete the partitions as the delete function is blacked out. Please help! May 28 '15 at 18:12
  • you should unmount the partition before. you have to do that from Gparted Live Cd not just from the application, then unmount the harddisk do you can do what you want
    – Maythux
    May 29 '15 at 5:25
  1. Create an Ubuntu live USB stick or DVD. I'm assuming you know how to do this already because you managed to install Ubuntu in the first place.

  2. Boot up your computer to the USB stick/DVD, choosing 'Try Ubuntu', and open the program 'Disks' from the dash.

  3. Click your hard drive on the left hand pane.

  4. For each partition listed in the box: in the bottom left, if there is a black square, click it. If there is a black triangle, leave it as-is.


  5. Click the menu button in the top right corner of the window.

  6. Choose 'Format' and choose Don't overwrite... and Compatible with all systems....

  7. When this is done, your hard drive will be empty, and you can install Windows.

N.b. this will not wipe the hard drive completely, so choose Overwrite all existing data if you are going to sell your computer.

  • When I try to boot up the PC with a usb, nothing happens and it just loads Ubuntu as it normally does, I have changed the BIOS to boot the USB first. Please help! May 28 '15 at 18:11
  • What manufacturer makes your computer? May 28 '15 at 18:14
  • Its made by Packard Bell. May 28 '15 at 18:31
  • Press F2 while booting to enable the boot menu (find the option in the settings), and then press F12 to bring it up when booting. More info: packard-bell-scandic.custhelp.com/app/answers/detail/a_id/6814/… May 28 '15 at 18:33
  • prntscr.com/7agxjn I have changed the boot menu to that. So if I'm correct that should boot up using the USB right? But it doesn't it just loads the other copy of ubuntu which is already on the PC. Help? May 28 '15 at 18:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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