Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old January 6th, 2003, 06:15 PM
DigitalDomino DigitalDomino is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 10 DigitalDomino User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to DigitalDomino
format hard drive using linux

I have linux on my computer. how do I go about formatting my hard drive?

Reply With Quote
  #2  
Old January 6th, 2003, 10:08 PM
Cerbere Cerbere is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 25 Cerbere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
To format in the ext2 (Linux native) filesystem,

mke2fs /dev/hdX#

is the command you're looking for if you have IDE drive(s). Where X is a letter indicating which hard drive, and # is a number indicating which partition.

If you have SCSI, then

mke2fs /dev/sdX#

But either of these will only work if your partition is already designated as ext2. Use

fdisk -l

to get a listing of your hard drive(s) and the partition(s) it (or they) contain.

Do some research before you use this command, as it can easily hose your system if you use it on (for example) your root partition.

Enjoy,
--- Cerbere

Reply With Quote
  #3  
Old January 7th, 2003, 12:01 AM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
Please don't use ext2, unless you plan on immediately updating to ext3 (it's a one command deal once you have the ext2 filesystems made, but if you're making the filesystems fresh, just make ext3 to begin with). Or choose some other journaling filesystem. There's really no reason not to use a journaling filesystem these days, be it ext3 (my choice), reiserfs, XFS, or JFS...
__________________
Debian - because life's too short for worrying.
Best. (Python.) IRC bot. ever.

Reply With Quote
  #4  
Old January 7th, 2003, 11:22 AM
DigitalDomino DigitalDomino is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 10 DigitalDomino User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to DigitalDomino
Thanks for the help


Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > format hard drive using linux


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway