How to remove Ubuntu 16.04 LTS or even earlier version completely?

Suppose, you want to remove your Ubuntu version completely because of some reason, and format the drive too where the Ubuntu preserved its partition.

First, you have to know, this method will completely wipe your hard drive. So, if you have any important files then, move it to an external storage.

Simplest Steps for you:

  1. Boot from the Ubuntu Installer/Live CD

  2. Choose “Try Ubuntu” and it’ll show you the Live Desktop

  3. Open a terminal by using “ctrl+alt+T”

  4. Now, in your terminal,

Type:

sudo dd if=/dev/zero of=/dev/sda bs=1M count=8 && sync
  1. Shut-down it, by typing “shutdown now” in your terminal.

  2. Hooray! Now, you can install windows.

Last words: In above context, I supposed that you have not that old computer where it uses IDE cables for the hard drives (wide connector). If yes then, you have to use hda instead of “sda” in step 4.

Published on Nov 1, 2017

Last revised on May 5, 2021