[plug] HELP! servers boots in ro mode only

Andrew Barbara andrewbarbara at bigpond.com
Tue Jun 11 20:28:18 WST 2002


yes that is correct, you may be able to run fsck under the linux on the
floppy and fix the problem, not sure.

-----Original Message-----
From: sol [mailto:sol at autonomon.net]
Sent: Tuesday, 11 June 2002 7:37 PM
To: plug at plug.linux.org.au
Subject: Re: [plug] HELP! servers boots in ro mode only


Thanks for your reply Andrew, this could be a lifesaver. I just wanted
to confirm that what I need to do is to boot using a floppy (or
something like Tom's Tiny Linux) and then edit the line in /etc/fstab

/dev/hda3    /    ext3    defaults, errors=remount-ro

becomes:

/dev/hda3    /    ext3    defaults, errors=remount-rw

Will this make the system reboot in read-write mode? Should I fsck
whilst I've got the system booted from floppy?


Thankyou,
sol

Andrew Barbara wrote:

>I the /etc/fstab there is a switch to remount the filesystem in read only
>mode on filesystem errors, maybe you need to boot into a linux floppy disk
>or even the Linux install CD (I know the RH boot CD works) and change the
>file this way, or you may be able to run fsck this way.
>
>Andrew
>
>-----Original Message-----
>From: sol [mailto:sol at autonomon.net]
>Sent: Tuesday, 11 June 2002 4:50 PM
>To: plug at plug.linux.org.au
>Subject: [plug] HELP! servers boots in ro mode only
>
>
>I've got a nasty problem I don't know how to solve. I've got a PC
>running as a network server that boots in read-only mode. There are
>certainly errors in some of the blocks. (I think this problem was caused
>by two power outages in quick succession, the second whilst the machine
>was rebooting.) It has an ext3 filesystem and e2fsck doesn't seem to
>work. If I could just get it to mount in rw mode I'd be able to fix
>everything else I think. I've tried:
>mount -t ext3 rw /dev/hda2    #the boot sector
>mount -t ext3 rw /dev/hda3     #the root partition
>But nothing on the hard drives seems to mount. Have I done something
>wrong here? Or am I on the wrong track?
>
>In conjunction with this I was wondering (because "rm" didn't seem to
>work and there was no way to log onto gnome, yet "ls" and "less" did
>work) what executables work? Is it apps that involve reading only, or is
>it apps in /bin or /sbin or something like that?
>
>Any help greatly appreciated.
>
>sol
>
>
>





More information about the plug mailing list