Fix: Read-only file system Linux

Sometimes if your Linux filesystem gets corrupted and when you run any command you get: Read-only file system. This usually happens wen some error are found in the / filesystem.To fix this run: sudo fsck.ext4 -f /dev/sda1 assuming that sda1 is your partition name.Then click y until the program finishes.Then reboot your system. If this does not fix the issue you have to proceed with Disaster recovery and restore a backup.

  • permissions, filesystem
  • 0 Users Found This Useful
Was this answer helpful?