RHEL: Remount root directory in file system recovery

Posted on April 27, 2009


It happened that one of my Linux server file system, which was not the root partition, crashed. When the system reboot it went directly to file system recovery as it tried to check the failing file system. Retrying to reboot the system into either single-user mode or rescue mode didn’t seem to help since the system still tried to mount the failing file system.

fsck.ext3: Is a directory while trying to open /ns10 [FAILED]

***An error occured during the file system check
***Droping you to shell, the system ill reboot
***when ou leve the shell.
***warning -- SELinux is active
***Disabling security enforcement for system recovery.
***Run 'setenforce 1' to reenable

Give root Password for maintenance
(or type Control-D to Continue):

Providing the root password will let the system boot into Linux with read-only root partition. So, to be able to write changes into the root partition, in order to fix the issue, the root partition has to be remounted.

# mount -o remount, rw /

In the end, I saved my new /etc/fstab file and I was able to boot to my Linux to mount a replacement disk.

Posted in: MyWay, Technology