Fix: Read-only file system Linux Print

  • permissions, filesystem
  • 3

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.

Was this answer helpful?

« Back