How To Wipe Drive

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

How To Wipe Drive

Postby borgward on Sat Jan 26, 2013 1:26 pm

I am returning my HDD to seagate. How do I wipe the drive before I send it off?
borgward
Level 1
Level 1
 
Posts: 37
Joined: Mon Dec 17, 2012 10:18 pm

Linux Mint is funded by ads and donations.
 

Re: How To Wipe Drive

Postby thegreatgazoo on Sat Jan 26, 2013 1:53 pm

Using any live CD
1. Open the terminal
2. Find the hard drive by typing this command: fdisk -l
3. Assuming that the drive is labeled "SDA", type the following command: dd if=/dev/zero of=/dev/sda bs=1M

This will wipe your drive by writing zeros from the beginning to end. This will take a long time and no progress will be shown, when it is done it will return you to the command prompt.

Alternatively, you can download Darik's Boot n Nuke, and use that utility to wipe your disk.

with both of these methods it is very important to pick the right disk . if at all possible make sure it is the only disk in your computer.


Sent from my Nexus 4 using Tapatalk 2
thegreatgazoo
Level 3
Level 3
 
Posts: 109
Joined: Wed Aug 22, 2012 3:18 pm

Re: How To Wipe Drive

Postby MHull on Mon Jan 28, 2013 4:36 am

I seem to have two disks on my EeePc 1000 and I have managed to install Linux Mint 13 32 on both of them and now I need to start over again. My computer seems to only use the smaller of the disks which leads to memory problems.

I am looking at gParted on my system and it would appear that I have 2 hard disks...it says: icon (for hard disk) /dev/sda (9.52 GiB) and under that I have another identical icon /dev/sdb (30.06 GiB) and then under that what I assume is my 8GB usb stick since it says /dev/sdc (7.45 GiB)

How do I change all of this to give me access to the larger disk for my working disk?
MHull
Level 1
Level 1
 
Posts: 32
Joined: Sat Apr 14, 2012 12:08 pm

Re: How To Wipe Drive

Postby Pierre on Mon Jan 28, 2013 4:46 am

if, as per the heading of this topic, that you want to wipe/erase either drive,
then - from the live cd - click on the install icon & when prompted by the installer -
use the option 'erase-the-whole-disk' & allow the installer to proceed onwards.

probably best to select sda - as the drive to erase . . .
User avatar
Pierre
Level 5
Level 5
 
Posts: 637
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: How To Wipe Drive

Postby MHull on Mon Jan 28, 2013 7:10 am

I did that before but chose overwrite all versions and ended up with the Linux installed on both drives but the computer only seems to use the smaller one which appears to still have the first version I installed on it. Any ideas on how to make the larger drive the main one?
MHull
Level 1
Level 1
 
Posts: 32
Joined: Sat Apr 14, 2012 12:08 pm

Re: How To Wipe Drive

Postby marsh20 on Mon Jan 28, 2013 9:57 am

Hiya,

I would uplug the drive you don't wish to use, instal then once working reattached the smaller drive.
Think about the "undo" before you "do".
User avatar
marsh20
Level 3
Level 3
 
Posts: 115
Joined: Thu Dec 15, 2011 5:44 am
Location: UK

Re: How To Wipe Drive

Postby MHull on Mon Jan 28, 2013 10:33 am

Ummm, both of these disks are internal on my little EeePc 1000. I don't have anything external to unplug. Unless there is some procedure you can recommend to do it? Also I'm wondering if these are really different drives or are they the famous partitions you all keep talking about? Although when I have a look at both of them, they both seem to have 3 different partitions on them. I'm still at square one I think....
MHull
Level 1
Level 1
 
Posts: 32
Joined: Sat Apr 14, 2012 12:08 pm

Re: How To Wipe Drive

Postby usbtux on Mon Jan 28, 2013 12:29 pm

If you use Drak it will wipe all connected drives...
http://goo.gl/DXKgM useful tutorials for installing mint on USB drives.
http://www.usbtux.hostzi.com/
http://goo.gl/WFu0u Installing Mint - the screen cast videos.
linuxcounter #368850
Image
User avatar
usbtux
Level 5
Level 5
 
Posts: 549
Joined: Tue Dec 28, 2010 10:37 am

Re: How To Wipe Drive

Postby thegreatgazoo on Mon Jan 28, 2013 2:50 pm

Hi, it looks like you have 2 different questions here. Was your original question on how to wipe a drive for a return answered?

About your eeepc. They came with 2 ssd drives. 1 small one soldered into the motherboard, and a larger drive that can be removed.

If you are looking to start from scratch and erase both drives, using the smaller one for your install and the larger one for your personal files do the following.

Boot up a live USB of your choice
Open gparted and find the smaller drive
Delete any existing partitions
Create 1 partition formatted to ext4
Do not create a swap ( the drive is to small for it)
Hit apply
Now find the larger drive
Delete everything any existing partitions
Create a 2GB swap partition
Create a ext4 partition with the rest of the free space
Hit apply

Run the Linux Mint installer
When it comes time to choose a disk, select custom or " something else"
Double click on the smaller partition and select " use as /"
Now double click the largest partition and select " use as /home/"

There is a selector for the boot loader. Make sure it's the same as the smaller drive that your system is going to get installed on. (Example SDA)

Continue on with the installation.
thegreatgazoo
Level 3
Level 3
 
Posts: 109
Joined: Wed Aug 22, 2012 3:18 pm

Re: How To Wipe Drive [SOLVED]

Postby MHull on Mon Jan 28, 2013 4:59 pm

THANK YOU THANK YOU THANK YOU!!!! I seem to have managed to do everything in your instructions and so far so good! I haven't shut down yet and restarted but the restart following installation went perfectly. YAY
MHull
Level 1
Level 1
 
Posts: 32
Joined: Sat Apr 14, 2012 12:08 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Google Adsense [Bot] and 44 guests