Currently I'm running 18.04. I remember there was an update this morning, and I thought everything was fine when I shut it off. I turned it on this evening, and for some reason everything's got a padlock on it now.
I tried rebooting, but nothing was happening so I forced shutdown. When I tried again, it went back to the black screen that says:
/dev/sda4 contains a file system with errors, check forced.
Inodes that were part of a corrupted orphan linked list found.
/dev/sda4: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda4 requires a manual fsck
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.2) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
Looking around online, some posts said it might have been related to an update.
I tried running fsck
as suggested in the black screen, but it's no good. Everything still goes back to read-only after about a minute. I don't want to run fsck again because I tried fixing an external drive with a similar error with a similar method, and it made the problem worse.
They also said my hard drive might be failing. I'm using an ASUS X445LF and it's been my only computer for about three years.
UPDATE: Running from a live USB then attempting a fix using fsck
works, but only for a short while. Almost by the next reboot, files are changed back to read-only again.
fsck
should respect the boundary between partitions and operate only on the partition that you instruct it it - in your case/dev/sda4
. I can only tell you that I've had to do it myself on occasion (using an Arch boot USB no less) and have had success with the procedure. – Charles Green Apr 22 '19 at 14:22smartctl
? – WinEunuuchs2Unix Apr 29 '19 at 23:41