in Redhat, Server_doc

RedHat Linux Enterprise Recover Fstab Repair File System

Sometime we can misconfiguration when configurating the /etc/fstab,  this is the way how to fix the fstab:

Enter the Root password of the OS and it the “Repair filesystem” prompt appear..

We need to delete or change the misconfiguration line inside the /etc/fstab, it’s readonly file.. we need to :

Repair filesystem # mount -w -o remount /

after remounting the “/” , now try to edit the /etc/fstab by using vi editor

Repair filesystem # vi /etc/fstab

Change the line you need and save the file with “:wq!“, and the reboot the system.