LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-27-2003, 09: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)


Hi,

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.

thanks
 
Old 10-28-2003, 08:46 AM   #2
misophist
Member
 
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, 12:00 PM   #3
Robert0380
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, 01:27 PM   #4
misophist
Member
 
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.
 
  


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 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 12:46 PM
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 08:34 PM
mv c:\WINDOWS /dev/null; mount /dev/hda treehead LinuxQuestions.org Member Intro 5 10-19-2004 08:53 AM
reoccuring /dev/null error on bootup mehesque Linux - Newbie 3 01-13-2004 04:48 PM
unable to change tty /dev/tty1 Read-only filesystem behmjose Linux From Scratch 1 01-02-2004 08:55 PM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration