I've been operating ubuntu 18.04 for over a year. It was running smoothly until recently I ran into a problem. It keeps saying Read Only file system
When I try to cd into any directory and tap Tab for auto complete it says:
cd bash cannot create temp file for here-document: Read-only file system
I use windows-10 along with it, so when I switched back to windows it seemed to be working fine, the issue is only with ubuntu.
Okay, what I've done so far in an effort to fix this?
I tried to reboot the system and it seemed to be taking forever to reboot. So I force shutdown the system and restarted in recovery mode. There in the busybox intramfs terminal it was saying:
/dev/sda6 contains a file system with errors, check forced. Inodes that were part of a corrupted orphan linked list found. /dev/sda6 unexpected inconsistency: Run FSCK MANUALLY fsck exited with status code 4 done. Failure File system check of the root filesystem failed The root filesystem on /dev/sda6 required a manual fack
Then I ran this command:
fsck.ext4 /dev/sda6 and after it's automatically fixing errors with my choosing (Y) each time it asked i rebooted the system.
It seemed to be fixed until it started saying Read-only file system again and eventually stops working. then I have to force shutdown again. NB: I have run this fsck command for several times. Each time it worked (only for a moment)
Is there any way around this to fix this. I would very much appreciate any help. Thanks.