Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-20-2005, 02:06 PM   #1
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Rep: Reputation: 30
help, terrable problems about read-only mounting when starting my system

Hi, i have been getting errors for a few days now when i logged into my server, something about "/dev/null". i just rebooted my server and it wont even boot! it says that its mounting read only so i cant even edit anything! it stops booting 1/2 way through and says "press ctrl + D to boot normally or enter root password to enter the system now" if i enter root password i cant do anything because its all read only, and if i boot into the system i cant even log in.

im running a hardened gentoo system.

i really dont know what to do!, can anyone PLEASE help me?

Thank you so much, Ben.
Old 01-20-2005, 02:52 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
yea, you need to boot into it using a "Live-Cd" like knoppix........
and do whatever permission changes to /ect/fstab.......and/or
filesystem directories.........
Old 01-20-2005, 10:16 PM   #3
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
i dont have the first clue whats wrong or what i need to change
Old 01-21-2005, 02:25 PM   #4
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
I hope you have a backup because your file system could be toasted.

Too bad you didn't provide the exact error messages. That could have helped, but here are a few guesses.

Try booting from a rescue disk and try mounting the root partition at a mount point. Look around for obvious things, like directories it won't let you into or ls displays strange results. Check the files grub.conf (or lilo.conf if you use lilo), your /etc/fstab, inittab, etc.

So far, none of these checks will harm anything. If it appears that the file system is badly damaged, then unmount it and run fsck on it. This WILL write to the disk!!! (You might try it with the "-N" parameter first and it will do a read-only scan.) Fortunately, fsck is very smart and is your friend. After it gets done, you MIGHT be missing a lot of files it couldn't recover. Some of these MIGHT be critical for booting and you will be left with a trashed system. Remember, the damage was probably already done before fsck ran.

A lot of this snooping around could have been done while you were logged in with a read-only file system, but you would be using tools -- including "cd" and "ls"-- that could themselves be corrupt.

Good luck!

One more thing... If somebody tries to tell you that "/dev/null" is full and has to be emptied out, they are trying to pull your leg. /dev/null is the bit bucket.

Last edited by wpn146; 01-21-2005 at 02:30 PM.


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
Mounting windows xp file system, creates mnt point, however, cant read files in share cmd0a0 Linux - Networking 10 04-16-2005 01:28 AM
Gnome 2.6 Right click mounting and the mounting system Acetylcholine Linux - Hardware 0 07-25-2004 08:34 AM
Mounting problems in local file system svyshna Linux - General 3 08-06-2003 11:58 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM
Read only files system and starting up martin_fortmann Linux - General 9 06-05-2001 07:35 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 PM.

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