Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-27-2003, 10:43 PM   #1
Darick Ang
LQ Newbie
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
Question my linux error : Couldn't open /dev/null (read-only filesystem)


I got a serious problem, i suspect my linux is crash. when i boot up my linux server, it show a lot of failure due to the reason of 'couldn't open /dev/null (read-only filesystem)'. then it prompt me to key in the password of press CTRL-D to continue. i did key in my password and login successfully, then it show 'Repair filesystem:' instead of 'root:', and the whole partition is read-only, i can't change any single file. is anyone see this problem b4, please help me on this.

Old 10-28-2003, 09:46 AM   #2
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
Have you done fsck? That's the first step of repairing the file system.
Old 10-28-2003, 01:00 PM   #3
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
yea, when you put in the password, do this:

fsck /

if you have /usr /var/ or /home on different partitions, do the same for those:

fsck /usr
fsck /var and so on.

after u run fsck and repair the filesystem, the computer should be able to boot normally. if all goes well.
Old 10-28-2003, 02:27 PM   #4
Registered: Aug 2003
Location: here
Distribution: suse 8.2
Posts: 169

Rep: Reputation: 30
Depending on the file system you are using, you may have to use different forms of fsck. I should have mentioned this earlier. 'man fsck' should lead you in the right direction.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 01:46 PM
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 09:34 PM
mv c:\WINDOWS /dev/null; mount /dev/hda treehead Member Intro 5 10-19-2004 09:53 AM
reoccuring /dev/null error on bootup mehesque Linux - Newbie 3 01-13-2004 05:48 PM
unable to change tty /dev/tty1 Read-only filesystem behmjose Linux From Scratch 1 01-02-2004 09:55 PM

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