LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2004, 03:25 PM   #1
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Rep: Reputation: 15
Formating a harddrive in linux


OK i have a harddrive just for files (hdd5), i would like to compleetly format this harddrive to a fat FS.

Please could some one fill me in on how to do this.

cheers, Nick.
 
Old 05-16-2004, 03:54 PM   #2
mbegovic
Member
 
Registered: Nov 2003
Location: Vancouver, Canada
Distribution: Currently FC3
Posts: 342

Rep: Reputation: 30
You mean you have a hard drive partition called hdd5? You can use fdisk to do it from the terminal. Go:
Code:
fdisk /dev/hdd
This gets you into fdisk. From there you can use p to list your partition table, m for help, I think t to change the type of the partition. You should use l to find out what the numeric code for the partition type is. Once you're done with fdisk, write the changes and quit. Then go:
Code:
mkfs -t type /dev/hdd5
That's it.
 
Old 05-16-2004, 04:26 PM   #3
mbegovic
Member
 
Registered: Nov 2003
Location: Vancouver, Canada
Distribution: Currently FC3
Posts: 342

Rep: Reputation: 30
Sorry, I forgot a few things. After you do what I said above, you should mount the partition with:
Code:
mount /dev/hdd5 /directory
Then you should edit your /etc/fstab file to reflect the changes you made to the partition table and the mount points.
 
  


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
formating linux partition inspectah Linux - Newbie 4 07-02-2005 10:07 AM
i installed linux first.. how to install windows without re-formating ? qwijibow Linux - General 6 02-20-2005 04:53 PM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 09:33 AM
Formating C drive after installing Red Hat Linux 9 fahadumer Linux - General 3 02-24-2004 03:06 AM
Formating a Linux hard-drive to FAT32 Sliz Linux - Hardware 9 07-20-2003 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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