LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-09-2007, 04:09 PM   #1
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
root filesystem read-only: can't reboot!


Hi -

We have an ancient version of Redhat 7.0 running a legacy app.

Last night, the disk max'ed out to 100%. I was able to clear up space ... but a side effect was that the system is no longer able to reboot.

I'm able to do this:
a) go into single user mode (Ctl-X, "linux emergency")
b) run fsck on all partitions (all had shutdown problems; all "fsck'ed" cleanly)
c) mount all the disk partitions (all partitions re-mount cleanly, including the one that reached 100% ... and from which I've successfully deleted several 100 MB)

... but ...

d) "reboot", "init 6" or any similar command hangs:
Quote:
ERROR:
init: cannot create /etc/initrunlvl
e) rdev shows "/dev/hda7 /", and I tried this:
Quote:
rdev -R /dev/hda7 0
"Rdev -R .. 0" didn't give any errors ... but it didn't fix the problem, either. I still get the same errors: "shutdown" hangs (because of the read-only root filesystem), and normal reboot (to init 3) fails.

f) I don't have the original Redhat 7.0 CD

g) I'm not able to make a boot floppy (because /dev/fd0 happens to be on a read-only filesystem)

Quote:
QUESTIONS:
1. Does anybody have any suggestions for how I can get this RedHat system booted again?

2. Does anybody know what happened to "http://www.linuxiso.org": it appears to be down

3. Does anybody know where else I could find a bootable .iso for Redhat 7.0?
Thank you *very* much in advance .. PSM

Last edited by paulsm4; 04-09-2007 at 04:12 PM.
 
Old 04-09-2007, 04:44 PM   #2
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
try remounting your root partition rw

mount / /dev/yourharddiskpartition -o rw remount
 
Old 04-09-2007, 05:19 PM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
mount -remount worked!

Hi, x_terminat_or_3 -

Thanx! That worked like a champ! The exact syntax was:
Quote:
1. <Ctl-X> at initial splash screen
<= bypass normal boot

2. linux single
<= Boot to single user mode, at the "boot: " prompt

3. mount /dev/hda7 -o rw,remount /
<= the device name goes first; comma-separated "-o" options next; mount point "/" last
I'm still working on getting the system back up (alas, more problems!) but you definitely helped me make progress! Thank you!

Sincerely .. PSM

PS:
http://www.linuxisos.org has apparently been down for awhile now. Here is an alternative:

http://www.planetmirror.com

Last edited by paulsm4; 04-09-2007 at 05:24 PM.
 
Old 04-10-2007, 02:50 PM   #4
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
Glad to help
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I have: Root has Read-Write, user has read only for the boot filesystem? xmrkite Linux - Software 6 10-16-2008 05:31 AM
Root filesystem mounting as Read-Only paddyjoy Linux - Newbie 11 03-21-2006 04:32 PM
Filesystem set to read-only after reboot (RHEL3 ES) FishR Red Hat 7 02-17-2006 07:38 AM
fsck on root filesystem without reboot? Barx Linux - General 3 03-29-2005 04:55 AM
Read-only root filesystem at the boot karimson Linux - General 0 03-20-2003 06:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration