Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-06-2002, 10:35 PM   #1
Registered: Aug 2002
Distribution: RH 7.x
Posts: 71

Rep: Reputation: 15
Red face messed up my fstab file

I recently was at root login, and ran some stupid command (don't ask me), and it appended the result to my fstab file. I then also forgot to delete that rubbish, and restore the file.
So, on restarting the computer linux says that it can't undestand what's written in fstab, and then it asks the root password for file system maintanance. But it mounts the filesystem read-only, so I was able to open the fstab, but couldn't correct it.
Then I thought I'd boot from linux CD in rescue mode, and then mount my linux partition, and correct fstab.
But on booting from CD in rescue, I found out that the /dev directory didn't have a file named /hda(something). So, I couldn't correct it from there either.
Again, I booted in linux single mode, but didn't get the result.

Any suggestions?
Old 10-07-2002, 12:49 AM   #2
LQ Addict
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Boot into single mode again and try running mount -n -o remount,rw /. If it doesn't work with the ' / ' at the end of the command, try specifying the root partition.
( Ex. mount -n -o remount,rw /dev/hda6 ).


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
Need with messed up fstab. Tiyogi Linux - General 11 03-26-2008 12:57 AM
file system messed up, help! eaglegst Debian 3 08-31-2005 06:14 PM
Messed up my fstab, now wont boot! Help, please. MillyFish Linux - Newbie 11 05-13-2004 07:37 AM
RH9 - won't boot - messed up fstab amanu1 Linux - Newbie 1 05-06-2004 07:52 PM
fstab got messed up after adding cd burner drrnsk8ter4 Linux - Software 3 04-24-2004 05:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration