r/pop_os • u/MistahTeddy • 13d ago
Help Crypt Passphrase Error
So, been using this pc for a year now. And suddenly yesterday had an error when typing my passphrase for the crypt. Yes, I typed in the correct passphrase.
Is there a way to change the passphrase, or downright remove it? Without me losing my data on the drive the OS is installed on of course.
[SOLVED]
RAM was causing the issue. There are other things that can also cause this issue, one of which is the SSD the OS or encryption is installed on. But this time it was RAM.
Luckily, it wasn't a physical problem, thank God. It was an error caused by EXPO/XMP. I've ran my RAM at full speed, 6000, since I've built the PC a year ago, and it worked fine.
But it recently suddenly started outputting errors. 2nd and 3rd loops returned as FAILED on the 16 bit part.
The solution was simple, turn off EXPO/XMP and set the read speed to auto. Ran the test again and it passed all three loops.
The test used the terminal. Command memtester Xg B. X being the amount of RAM you're going to allot for the test, and B being the amount of loops you want it to run.
Hope you try this if you ran into the same encryption passphrase problem before doing a Clean Install like I did, and losing most of my data.
1
u/frogtd129 12d ago
If you use a live usb you can open the disk in Disks and type in the password that way. If you do not remember the password, your data is gone.
0
u/MistahTeddy 12d ago
Many thanks for answering. I looked up online on how to change or decrypt and all that. Too much work and too complicated. If it wasn't complicated I would've done so even if it was tedious. But complexity makes it that I might make a mistake somewhere, which might make things more difficult.
So i just decided to nuke the thing and do a clean install. All those files be damned.
Again, thanks for trying to help.
2
u/RandomChain 12d ago
Sorry you lost your data. To avoid getting locked out again, you can add another slot(s) with a key file, and not just use a passphrase (and obviouly keep that file somewhere safe but not on that encrypted drive). You can also backup the LUKS header so you can try to restore it if it gets corrupted.
1
u/MistahTeddy 12d ago
Thanks for the tips.
I got in a few times by either sheer luck and through a cold start. But the process of doing any of the things you mentioned had, complications.
I tried changing the encryption passphrase, it asked for the current passphrase. Which even though I was in a live session, still won't accept my original passphrase.
Same issue with trying to add a new passphrase. Still asked for the current passphrase, and still won't accept it.
So I just nuked everything. Did a Clean Install, this time without an encryption.
1
u/MistahTeddy 6d ago
[SOLVED]
TL;DR.
I did a Clean Install, but it didn't fix the problem outside of just installing a fresh OS without encryption. Games still crashed. Games or updates on Steam couldn't be downloaded or unpack.
The issue I found out after testing was, the RAM. To be exact XMP/EXPO.
I had it running at full cap 6000 since I built the pc, but it recently suddenly began putting out errors. Mainly around the 2nd and 3rd loops of testing using memtester 8G 3 command in the terminal.
Disabling XMP/EXPO and setting the read speed to auto fixed the issue. RAM no longer output errors in any loops, games and updates can be downloaded and unpack just fine. Luckily the physical sticks were fine.
Hope this thread helps anyone who might come across the problem in the future.
And yes, apparently RAM problems can caused encryption to fail to accept your passphrase. So you might want to give this a try before deciding to do a Clean Install and losing your data.