https://connectnc.com/wp-content/uploads/2015/08/CNClogo3.png 0 0 ConnectNC https://connectnc.com/wp-content/uploads/2015/08/CNClogo3.png ConnectNC2011-03-30 10:31:102011-03-30 10:31:10Did forcefsck leave you with a read-only filesystem?
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.