LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-18-2001, 09:19 PM   #1
marksstroud
LQ Newbie
 
Registered: Sep 2001
Location: Irving,TX
Distribution: Suse 7.1 Pro
Posts: 25

Rep: Reputation: 15
Unhappy I'm stuck once again!


While trying to mount my Zip250 parallel drive,I think I put a bad line in fstab.I'm stuck!After that last line,I get the following messages:

bad format on line 16 /etc/fstab

fsck.ext2 oun/dev/hda7 fail status 8

root file system is currently mounted read only ...remount to read-write

bash# mount -n -o remount,rw /

I enter my root password and enter the command above and get this:no final new line at the end of /etc/fstab

What is wrong?
 
Old 10-18-2001, 11:05 PM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You need to edit the /etc/fstab file and put a new line at the end of the file. Just start up your favorite editor and load the fstab file. Then move your cursor to the end of the last line in the file and hit the <ENTER> key and save your changes and then reboot. That should do it.

When you run the command mount -n -o remount,rw /, replace the ' / ' with the actual root partition.
Example: mount -n -o remount,rw /dev/hda3. Replace the ' hda3 ' with the correct root partition. That way you shouldn't get the error about the fstab file.
 
  


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
Need help....stuck yauser Linux - Laptop and Netbook 1 11-28-2004 06:14 AM
Stuck with C++! jeebas_13 Linux - Newbie 2 05-30-2004 09:36 AM
Stuck in X !! ewto Linux - Newbie 3 11-17-2003 02:00 PM
I'm Stuck, so Stuck. basttrax Linux - General 3 11-14-2003 10:59 PM
Help! I'm stuck! terryr97 Linux - Newbie 3 10-17-2003 10:58 PM

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

All times are GMT -5. The time now is 09:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration