LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2006, 03:53 AM   #1
mMeggie
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Rep: Reputation: 0
I can't find FSTAB?!


Just installed Linux on my PC, but I can't find FSTAB?!
I'm a total newbie to Linux, and it's like I was trying to mount the floppy drive. And through many websites. I finally followed one.

According to the indications of a certain website.
I typed 'find / -type f -name fstab'

It states 'find: WARNING: Hard link count is wrong for /proc: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched. /etc/fstab

Then I continued with 'cat /path_to_fstab/fstab'

It states 'No such file or directory'

Can anyone give me a clue on what had actually happened?
Thanks alot.
 
Old 06-08-2006, 04:16 AM   #2
spirit receiver
Member
 
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424

Rep: Reputation: 33
It's "/etc/fstab" (and that's actually what your find command reported, apart from that warning). You probably don't need to care about that warning here.
 
Old 06-08-2006, 04:21 AM   #3
mMeggie
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I'm sorry, I still don't get it.
 
Old 06-08-2006, 04:33 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What don't you get? find found the file in /etc (again, that's where it should be), so that's all you need to be concerned with.
 
Old 06-11-2006, 02:09 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 06-11-2006, 02:14 PM   #6
roclok
LQ Newbie
 
Registered: Jun 2006
Posts: 16

Rep: Reputation: 0
How about
# suassword
# mount /mnt/floppy ?????????

or
# locate fstab (# updatedb must be run if this is first tiem you used locate)
 
Old 06-11-2006, 02:18 PM   #7
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Quote:
I'm a total newbie to Linux,
You have to start some where.

I wrote a little bit about the Linux file system. It doesn't go into too much detail, but it might give you an idea about the file system hierarchy. File System
 
Old 06-11-2006, 04:06 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by mMeggie
I'm sorry, I still don't get it.
I suggest asking more specific questions....

the file named "fstab" is normally found in the directory named "/etc". That's what find was telling you when it returned "/etc/fstab"

to read the file (from anywhere) type: "more /etc/fstab"
From the GUI, just go to /etc, find fstab and double-click.
 
Old 06-11-2006, 04:27 PM   #9
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Quote:
Originally Posted by mMeggie
I'm sorry, I still don't get it.
perhaps you should read up on the linux filesystem hierarchy.....
Quote:
/etc : Host-specific system configuration
Purpose

The /etc hierarchy contains configuration files. A "configuration file" is a local file used to control the operation of a program; it must be static and cannot be an executable binary.
http://www.pathname.com/fhs/pub/fhs-...MCONFIGURATION
 
Old 06-13-2006, 11:04 PM   #10
mMeggie
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany

to read the file (from anywhere) type: "more /etc/fstab"
From the GUI, just go to /etc, find fstab and double-click.
i can actually find it in the CLI, but in GUI, i cant find my fstab in /etc.
 
Old 06-13-2006, 11:05 PM   #11
mMeggie
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
actually i noticed a problem, i've finally mounted the floppy thanks to everyone's help. but, there is this floppy disk which when i mount would state 'please specify filesystem type, does this mean that the diskette is not formatted?
 
Old 06-14-2006, 02:03 AM   #12
mMeggie
LQ Newbie
 
Registered: Jun 2006
Posts: 5

Original Poster
Rep: Reputation: 0
alright, error found, something's wrong with the diskette. thanks.
 
Old 06-14-2006, 07:12 AM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by mMeggie
i can actually find it in the CLI, but in GUI, i cant find my fstab in /etc.
Open the file manager and go up to the root level--often called "filesystem". You will see directories like /bin /home /boot /usr and a bunch more. One is /etc. double-click to open, and fstab will be there.
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab timalan SUSE / openSUSE 24 08-20-2005 09:41 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
fstab can't find a file system fdisk can rharvey@cox Linux - Hardware 1 06-02-2004 08:36 PM
cant find /etc/fstab thus cant boot zenji Slackware 6 12-12-2003 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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