LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 08-11-2004, 10:21 PM   #1
Dunadan1821
Member
 
Registered: Aug 2004
Posts: 38

Rep: Reputation: 15
bash cant find format or mkfs command


I am trying to format my secondary hd through terminal. I looked on the web and every thing I could find said to use the "format" comand. I also read about mkfs to format a single partition. When I try to use them I get the message "bash doesnt recognize the command. Maybe I need a specific flag? any help would be great!
 
Old 08-11-2004, 10:31 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
First of all: What distro are you using? Which
filesystem do you want your partition to have?
Are you root when trying to run mkfs?


Cheers,
Tink
 
Old 08-11-2004, 10:32 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
Re: bash cant find format or mkfs command

Quote:
Originally posted by Dunadan1821
I am trying to format my secondary hd through terminal. I looked on the web and every thing I could find said to use the "format" comand. I also read about mkfs to format a single partition. When I try to use them I get the message "bash doesnt recognize the command. Maybe I need a specific flag? any help would be great!
That would be mkfs.ext3 /dev/hd?? or mkfs.reiserfs /dev/hd?? you have to add the file system you want used to the end of the mkfs command. You would of course replace the ?? with the drive letter and partition number of the partition to be formatted. If the drive is unpartitioned then you are looking for the cfdisk (cfdisk /dev/hd? replacing the question with the drive letter to be partitioned) command to partition the drive then you have to format.
 
Old 08-12-2004, 01:27 PM   #4
Dunadan1821
Member
 
Registered: Aug 2004
Posts: 38

Original Poster
Rep: Reputation: 15
im using fedora core 1. I will try those commands as soon as I am back at the computer, thanks
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble with find command in bash vrdhananjay Linux - Newbie 3 10-30-2004 11:37 PM
Mkfs Vfat Command Not Found johnnyICON Linux - General 4 09-10-2004 07:51 AM
bash connot find the command Dunadan1821 Linux - Software 9 08-30-2004 08:04 AM
Is this a valid command? find ./ -name bash.bashrc | cat davidas Linux - Newbie 11 04-06-2004 02:16 AM
same find command not working in bash script, quotes? QuakerOatz Linux - Software 1 07-14-2003 12:04 PM


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

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