Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 06-29-2004, 07:02 PM   #1
LQ Newbie
Registered: Jun 2004
Location: Seattle Washingont
Distribution: Red Hat Enterprise 3, Mandrake 10
Posts: 7

Rep: Reputation: 0
read-only filesystem

Recently we had an idiot at our co-lo provider flip some power switches and we lost an install fo Red Hat Enterprise Server 3. I am sitting at the console and the server boots automatically into single-user mode. This is because it determines that /dev/null is mounted on a read-only filesystem.

Ok so simple enough right? just

rm -f /dev/null
mknod -m 0666 /dev/null c 1 3

right? Well the problem is that because the OS thinks that /dev/null is mounted on a read-only fs, it will not allow me to remove it. So I also tried to run fsck agains the partition. Again no luck because the OS thinks it is ro. Specifically erroring out on /dev/null.

So what are my options at this point? Boot off the CD into repair mode? LOL hadn't thought of that until just now as I was typing.

But if you have any additional suggestions I would appreciate hearing them.
Old 06-29-2004, 11:27 PM   #2
LQ Newbie
Registered: Dec 2002
Location: Pune
Posts: 21

Rep: Reputation: 15
You can remount the partition in read and write mode. Just run this command
mount /dev/hdax -o rw,remount
And reboot ur system, u should be able to read and write that partition
/dev/hdax is ur partition which u want to mount in read write mode
Just check whether it can help u.


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
read-only filesystem karunesh Linux - General 1 09-30-2005 10:04 AM
read only filesystem ONLY greg108 Linux - General 3 08-26-2004 06:11 PM
read only filesystem lardino Linux - Newbie 17 08-11-2004 06:22 AM
Read-only filesystem neillans Linux - General 2 06-11-2004 01:27 PM
how do I change the filesystem from read-only to read-write? les_chow Linux - Newbie 5 05-26-2004 03:14 PM

All times are GMT -5. The time now is 01:46 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