Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have deleted /etc/fstab file in RHEL5
tried to boot the system in single user mode and emergency mode
unable to edit the file and the file is missing , cannot create it, as i am loggged in as read only mode ,
tried to run mount -o remount,rw /dev/sda
but issue is not resolved
please suggest
Have you got a live CD you can boo the system with? If not, I would suggest you get a copy of Knoppix. It will boot most systems. The partitions on the drives will show up as icons on the desktop. They can be mounted, at first that will be read only mode. You can change that to read write mode.
Then you can create a new fstab file to get you started.
I don't know your partitioning information, or what file systems you have. Edit the ext3 file to the correct file system. I think you only need the root and home partitions to boot.
thanks for the replies
my boot partition is on sda3 and i do not have the live cd
i wanted to edit the fstab file while logging on to single user mode is this possible , without a cd .
Last edited by miteshpant; 09-22-2009 at 12:52 PM.
yes iam on the same distro
first i tried to edit /etc/fstab in single user mode
it denied doing coz of read only mode
then i tried to run mount -o remount,rw /
it give me the following error
warning : can't open /etc/fstab : No such file or directory
mount: can't find / in /etc/fstab or /etc/mtab
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.