Did forcefsck leave you with a read-only filesystem?

Did you have some drive problems on your linux system and want to run fsck at boot time only to find that your system stays in eternal fsck-reboot mode? When you try to remove the forcefsck file in single user mode, you discover that you can’t because the filesystem is in read-only mode?

Here’s what worked for us.

Interrupt the fsck and you’re in single user mode.

mount -o remount, -rw /dev/hda1 /

Now you can rm forcefsck

Replace hda1 in the line above with the appropriate device for your root filesystem. It may /dev/sda1 or /dev/hda2

More details to follow. I just wanted to blog about it before I forgot what we did.