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:
Boot from the Ubuntu Installer/Live CD
Choose “Try Ubuntu” and it’ll show you the Live Desktop
Open a terminal by using “ctrl+alt+T”
Now, in your terminal,
sudo dd if=/dev/zero of=/dev/sda bs=1M count=8 && sync
Shut-down it, by typing “shutdown now” in your terminal.
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