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 |
Have you done fsck? That's the first step of repairing the file system.
|
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. |
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.
|
All times are GMT -5. The time now is 01:42 PM. |