LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-22-2003, 03:07 PM   #1
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Rep: Reputation: 31
mke2fs problem


Hello,

I am running fedora 1. I created a partition with cfdisk but when i run "mke2fs /dev/sda4", I get a bash error. I am assuming that this means I do not have mke2fs. I tried a locate and it was nowhere to be found. How do I get this?

Thanks in advance!
 
Old 11-22-2003, 03:19 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
what is the *exact* bash error?
 
Old 11-22-2003, 03:20 PM   #3
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Original Poster
Rep: Reputation: 31
[root@fedora /]# mke2fs /dev/sda4
bash: mke2fs: command not found
[root@fedora /]#
 
Old 11-22-2003, 03:22 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
pretty self explanatory really.... mke2fs normally lives in /sbin...

and PLEASE use correct forums, this is clearly nothing to do with the LFS distribution...
 
Old 11-22-2003, 03:46 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Moved: Not LFS related. Moved to our Fedora forum. Yes, we have a Fedora forum.
 
Old 11-22-2003, 03:49 PM   #6
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Original Poster
Rep: Reputation: 31
Hello!

I am assuming this is lfs related becaues I am following the lfs 5.0 guide for creating your own linux from scratch. If this is not the case please let me know.
 
Old 11-22-2003, 04:02 PM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
try
/sbin/mke2fs /dev/sda4
 
Old 11-22-2003, 04:10 PM   #8
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Original Poster
Rep: Reputation: 31
Thanks that worked!
 
Old 11-22-2003, 04:46 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
Quote:
Originally posted by cuco76
Hello!

I am assuming this is lfs related becaues I am following the lfs 5.0 guide for creating your own linux from scratch. If this is not the case please let me know.
well you never *SAID* you were doing LFS 5... we just got as far as Fedora.... we're not psychic!
 
Old 11-22-2003, 06:06 PM   #10
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Fedora, and RedHat before it have profiling built now so that when you su to root you keep joe user's path, so /sbin and /usr/sbin are not in your path. In order to su and get root's full path (and avoid annoying hastles like the above), "su -"

Cheers,

Finegan
 
  


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
about mke2fs -j -O dir_index kpachopoulos Linux - General 1 11-12-2005 08:30 AM
accidental mke2fs sarahan Linux - General 1 11-15-2003 04:58 AM
problem with mke2fs tasadar Linux - Software 5 07-26-2003 11:31 PM
mke2fs appler Linux - Newbie 2 03-04-2003 05:54 PM
mke2fs problem vaibhavk Linux - General 2 01-15-2002 09:55 PM


All times are GMT -5. The time now is 10:32 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