20% OFF Dedicated Servers for the first 12 months of service!

USE COUPON CODE: Q22018

Ends June 30, 2018

*T&C Apply

Linux Server : Fixing [Error writing fstab: Read-only file system]

If you’ve accidentally screwed your /etc/fstab file and rebooted, you might run into some issues while trying to make changes to fix it, i.e.

 

Error writing fstab: Read-only file system

Fixing Error writing fstab: Read-only file system

In order to fix this issue, you will need to remount the affected mount-point with read / write options.

This can be done by issuing the mount command:

mount -o remount,rw /

Where / indicates your root mount point, change accordingly if you have borked a different mount point.