Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 02-27-2005, 11:09 AM   #1
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.

Old 02-27-2005, 11:17 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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, 06:45 AM   #3
Registered: Dec 2004
Distribution: debian
Posts: 91

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


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

All times are GMT -5. The time now is 06:22 AM.

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