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.

Advertisements

Author: drewsymo

Developer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s