LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 02-27-2005, 12:09 PM   #1
G_Freeman76
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
How can I format my hard drive within Red Hat 9?


Hey all

How do I totally erase EVERYTHING (all partitions) on my hard disk using Red Hat Linux 9? I managed to kill my windows installation when I attempted a dual-boot and want to wipe the slate clean again.

If it's not possible to erase everything, how do I erase individual partitions?

Any help would be greatly appreciated.

Thanks
 
Old 02-27-2005, 12:17 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
You can erase the entire drive with:
dd if=/dev/zero of=/dev/hda

Assuming it is hda you want to erase. You could also just remove the partitions with fdisk, recreate them and put a filesystem on them. That should be a little quicker and easier.
 
Old 02-28-2005, 07:45 AM   #3
apenguinlinux
Member
 
Registered: Dec 2004
Distribution: debian
Posts: 91

Rep: Reputation: 15
u can use cfdisk and manully erase ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot see USB hard drive in Red Hat 9 hunter694 Linux - Newbie 1 09-30-2004 10:17 AM
I cannot get Red Hat 9 installed on my new hard drive? jennirh9 Linux - Software 20 08-19-2004 03:06 PM
Installing Red Hat 9.0 from the hard drive OS_Volcano Red Hat 2 08-30-2003 02:02 PM
How can I install Red Hat from my Hard Drive? kkempter Linux - General 2 05-27-2003 01:49 PM
Red Hat 7 install on hard drive using ULTRA100 drive fbwr75215 Linux - Software 4 04-15-2001 10:26 PM


All times are GMT -5. The time now is 05:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration