I have installed Windows 8 on my laptop and i want to completely "delete" my HDD. I want it to be blank just the way i bought it. Because i want to install Linux on a blank HDD. Could anybody help me ?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
You can make an Ubuntu Live CD and boot into it. Choose "Try Ubuntu without installing". Then, open Gparted Partition Editor and choose the hard drive you want to format. You can see the list of hard drives you have in the top right corner.
After choosing the hard drive, you will see a list of partitions you have on the Hard disk. Right click on every one and choose
Delete. After you finish, all you have is
Now you have a blank HDD on which you can install Ubuntu. Before actually "applying" these changes, let's go ahead and create our Ubuntu partitions. We need at least 2.
Right click the unallocated space and choose
New. First, create a swap partition of type
linux-swap that is at least the same size as your RAM. Again, create another partition but this time of type
ext4 and the size you want. Set the mount point to
After you finish, click the green checkmark to
Apply all Operations.
Finally, close Gparted and choose
Install Ubuntu from the desktop. Enjoy Ubuntu :)
This post can also help.
You don't need to wipe your drive prior to installing Ubuntu, but if you would like to here's one way to do it.
This will remove all data from you drive
I suggest having no other drive attached to the computer except the on you wish to wipe.
Boot the liveCD or liveUSB you would install Ubuntu with but select "Try Ubuntu" instead of installing.
Open gparted and find the name of the device you want to wipe, it is probably
/dev/sda but make sure you have the right one.
Open the terminal and run the following command to wipe out your data.
dd if=/dev/urandom of=/dev/<device> (this step is overkill for what your going for but I figured I would include it).
Go back to gparted; Format the drive to ext4.
Now you have a clean drive to install Ubuntu on.
1 - First, download UNetbootin on your PC from here. UNetbootin is a program to enable you to burn most Linux operating systems to a USB, CD/DVD, or hard disk.
2- Open it up, you should get something like this, but instead in the
Drive section you should find the drive name of a USB device plugged in like
3- Choose Ubuntu in the
Select Distribution section, and Daily_Live in the
Select Version section to choose the latest version of Ubuntu (14.04 at the time of writing this post)
4- Choose the USB drive or CD you wish to install Ubuntu from in the
5- Click OK, and wait until UNetbootin finishes working
6- When it finishes, reboot your system with the USB or CD in, when the bootloader shows up choose to boot from the USB or CD (using F2 or F12 to bring up boot options I think, it should be written in the left corner of the screen)
7- In the menu that shows up later choose
8- Follow the instructions of the installer, and if asked, choose to overwrite or replace the current operating system (Windows 8)
If anything's uncorrect, correct me, I'm only 12. Just trying to help
To securely wipe your hard drive, I recommend using Secure Erase
To securely wipe data on magnetic (including MO) or solid state media (e.g.: USB Keys, SSD), you can just use the simpler DBAN (Darik's boot and nuke). It's a bootable live disk that does a FIPS/DoD erase on your drive.
I would not recommend this for vmware/virtualbox drives. For vmware/vbox drives just use "shred -zvu " for *nix HOST systems, including BSD. Under windows HOSTs I believe the command is "sdelete -z" if you download the "SysInternalsSuite" (as of this writing SDelete v2.0).
Might be a little OT: using these commands on virtual machine clients may help when exporting (e.g.: OVA), or minimizing the physical footprint of the virtual disk.