LinuxQuestions.org
Visit Jeremy's Blog.
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 10-10-2007, 05:42 AM   #1
prasanta.82
Member
 
Registered: Aug 2006
Posts: 31

Rep: Reputation: 15
Fstab


Dear all

Pls help me.In my pc RHEL 4 WS is loaded.My /etc/fstab file is miising and my system is not booting.

Regards
prasanta
 
Old 10-10-2007, 07:34 AM   #2
LlNUX
Member
 
Registered: Oct 2007
Location: Sydney, Australia
Distribution: Debian
Posts: 63

Rep: Reputation: 15
Hi,

can you tell us more about... how your /etc/fstab file got missing?

thanks
 
Old 10-10-2007, 08:26 AM   #3
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
Here is a fairly generic fstab from RHEL 4
Code:
/dev/VolGroup00/LogVol00 /                      ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                   swap    defaults        0 0
/dev/hdc                /media/cdrecorder       auto   pamconsole,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,exec,noauto,managed 0 0
But, finding out why you don't have one now would be good
You might need to change device names, but the labels should be okay if you didn't do a custom disk setup.
 
Old 10-10-2007, 11:42 PM   #4
prasanta.82
Member
 
Registered: Aug 2006
Posts: 31

Original Poster
Rep: Reputation: 15
Dear

I try to create fstab file but the file can not save giving an error message "/etc/fstab" E212: can't open file for writing.
 
Old 10-11-2007, 05:15 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Try creating it as root.
 
Old 10-11-2007, 06:30 AM   #6
prasanta.82
Member
 
Registered: Aug 2006
Posts: 31

Original Poster
Rep: Reputation: 15
I am trying it as root...................
 
Old 10-11-2007, 06:42 AM   #7
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
Do a "df -h", your disk might be full.
 
  


Reply

Tags
fstab, rhel4



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
HAL, and fstab, I want my old fstab back thllgo Linux - Server 2 08-10-2007 10:11 AM
Suse won't boot after fstab changes - fstab not editable baking-a-77 Linux - Newbie 10 06-02-2007 10:51 AM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM

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

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