LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-09-2004, 05:02 PM   #1
FnkDrSpok
LQ Newbie
 
Registered: Sep 2004
Location: Maryland
Distribution: (Work) RH ES 3/AS 3, FreeBsd, Debian (Pleasure) Gentoo 2004.2
Posts: 8

Rep: Reputation: 0
Noob ?: Format Clean Hardrive


Ok, in my years of computer experience I may know the answer to this question already but right now I can't think of it. I am remotely installing Gentoo to my home computer from work using a livecd full install. I currently use Gentoo at work so I am familiar with the install and stages. But for some reason the computer at home is giving me disk full errors. So I know if I was home I would just pop in WDClean and wipe the disk clean like it was brand new. (It did have windows on it beforehand.) But I'm not home, what command can I issue to clean this disk in it's entireity and start from scratch?

FnkDrSpok
 
Old 10-10-2004, 07:55 AM   #2
joe83
Member
 
Registered: Sep 2003
Location: Kennesaw GA
Distribution: Slackware-current , Slack81Zip, Smoothwall v2
Posts: 427

Rep: Reputation: 31
Talking

Try:
fdisk /dev/hda (hda is the first hdd, b the second etc )
at the prompt enter "p"
this will show the current partitions, delete as needed. This is for IDE drives, for scsi, the drive names are different (your manual will have the info) but the procedure is the same.



Ahh caffeine just kicked in. For SCSI drives, the names are sda , b etc.

Last edited by joe83; 10-10-2004 at 07:59 AM.
 
Old 10-10-2004, 07:03 PM   #3
FnkDrSpok
LQ Newbie
 
Registered: Sep 2004
Location: Maryland
Distribution: (Work) RH ES 3/AS 3, FreeBsd, Debian (Pleasure) Gentoo 2004.2
Posts: 8

Original Poster
Rep: Reputation: 0
See, I did that already and whenver I tried to restart my installation I kept getting disk full write errors. Fdisk does not get rid of the data on the disk. I just sets up the partition tables. I ended up doing:

dd if=/dev/random of=/dev/hda

and it worked, I think, it didn't give me any errors as of yet. Thanks for the help tho.

FnkDrSpok
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM
How do I format my single, clean hard drive to Linux? deanh2nd Linux - Newbie 2 06-26-2006 10:24 AM
Redo Linux Partitions & Clean Format Thanatos Linux - General 2 12-22-2004 01:05 PM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 12:03 AM
Format Problems Saving Star Office Docs in Word Format kkempter Linux - Software 4 08-27-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration