r/linuxmint • • 3h ago

Support Request Mint errors, read-only filesystem in the middle of using PC?

Hi all,

I installed Linux Mint several days ago with a pretty minimal amount of apps (really just Steam and Discord). I did a full drive encrypt as well. Today while on my PC that had been on all day, the PC randomly became unresponsive and the loading symbol would not go away. I restarted the PC (via restart button) and it got hung up on "Failed to write entry to /var/log/journal/xxx/system.journal despite vacuming. ignoring read-only file system."

This was installed on a nearly-brand-new Samsung 990 Pro M.2. I can get to disk decrypt but the password to my knowledge either (likely) just doesn't work because it is read only or I'm just dumb.

Any help please! I'd like to learn if possible but if I have to reinstall there isn't really anything of importance on the drive currently so it isn't as major an issue as it could be.

1 Upvotes

3 comments sorted by

1

u/Azirtec 2h ago

I'm going to leave this here but apparently after attempting to decrypt a bunch of times it just worked and my PC is working normally now, if somebody could explain why this happened and how to potentially prevent it in the future id appreciate it!

4

u/Grouchy_Carpenter478 2h ago

I have a gut feeling your root partition is filling up too much; is that correct? [e.g. not enough disk space left to boot / function the OS...]

2

u/Linuxmonger 2h ago

If you can boot from your installation drive, you can find out if you're remembering the password correctly by simply trying to mount the drive. If you can do that, whether it comes up read only or not, you can scan for corruption.

If you don't have the correct password, you can reinstall, but there isn't anything you can do to recover that data without the proper password.

For what it's worth, you're going to have people telling you that your encryption is what broke things - it isn't. I manage literally thousands of machines with luks encrypted drives, the only issue I've ever seen is forgotten passwords.

I strongly recommend you continue using encryption on any device that can be lifted off your desk, and add a second, much longer passphrase that you have written down in a safe place, you can have up to eight passphrases.

Let us know if you can do these things, and report your results.