Can't reach my system on the encrypted disk

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
JanK
Posts: 64
Joined: Sat Jun 22, 2019 11:12 am

Can't reach my system on the encrypted disk

#1 Post by JanK »

Hello!

I can't reach my MX OS on the encrypted disk. Or even files on it through live-CD.

I don't know if it is connected, but previously i had a problem with proprietary Nvidia driver as described here ->>, so i had to switch to an open-source driver.

Some time after that i had begun to experience problems with different browsers from Chrome to Firefox. They freezed and force quit didn't help, sometimes whole the system got stuck and i had to press restart button.

I was going to reinstall the system in the nearest future, but today i can't even login.

After the browser freeze, system got completely freeze too. I had to manually restart the computer. And i cant go further the encrypted disk login screen.

After the GRUB options, when i choose MX, i see the blue encrypted disk login screen. Which is fine. But after i enter the passcode (it is correct, i checked) i see only the slow growing progress bar, i wait minutes and minutes and then it stuck on the 100%.

If i press arrows or insert i see the "recovery journal" message (see the attached picture).

I have tried to access the encrypted disk through LIVE-CD, but i got the following error:

Code: Select all

"An error occurred while accessing '82.0 GiB Encrypted Drive', the system responded: The requested operation has failed: Error mounting /dev/dm-0 at /media/demo/homeMX: can't read superblock on /dev/mapper/luks-aec966e2-775e-4b9d-8c0a-ac2d51a2a149 "
I hope i will somehow at least get access to the files on encrypted disk...

I have an MX KDE21 with systemD and... gnome.

Can't give you full system info, as i can't work in Linux now.

It is rather basic build with Intel i5 and Nvidia 1050. Dual-boot with Windows.

1)SSD - Windows partition

2) SSD - Linux partition (/home encrypted) + small NTFS disk

3) HDD for storage

Image Image Image

User avatar
JanK
Posts: 64
Joined: Sat Jun 22, 2019 11:12 am

Re: Can't reach my system on the encrypted disk

#2 Post by JanK »

Anyone have ideas?

I guess the problem is with the encrypted disk itself... Is there a chance to get access to the data on it?

User avatar
j2mcgreg
Global Moderator
Posts: 6937
Joined: Tue Oct 23, 2007 12:04 pm

Re: Can't reach my system on the encrypted disk

#3 Post by j2mcgreg »

@Jan K. wrote:
Can't give you full system info, as i can't work in Linux now.
Boot into a live session and run the QSI from there.

You have stated that you can't access your encrypted disk, but you haven't said why. Forgotten password? Hardware failure? Something else?
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
Adrian
Developer
Posts: 9014
Joined: Wed Jul 12, 2006 1:42 am

Re: Can't reach my system on the encrypted disk

#4 Post by Adrian »

"recovery journal" -- that usually show when there was un forced shutdown (or some other problem). Does it get stuck there?
You could also boot to the Live environment on a USB flashdrive, mount the drive from there and recover your stuff and run chkdsk on the partition to see if it finds any errors, you could even chroot and run commands inside your installed system running the Live environment. Depending what the problem is it might be better to save your stuff and reinstall (check disk for problems before doing that)

User avatar
JanK
Posts: 64
Joined: Sat Jun 22, 2019 11:12 am

Re: Can't reach my system on the encrypted disk

#5 Post by JanK »

j2mcgreg wrote: Wed May 17, 2023 7:08 am You have stated that you can't access your encrypted disk, but you haven't said why. Forgotten password? Hardware failure? Something else?
Hi, thank you for your reply. Because i don't know why. At first i thought that maybe the problem is with something else, maybe even with a video driver. But i think, as far as i can't access it via LIVE-CD, this is a problem with the disk itself/encryption. Probably i didn't make it clear: my whole home folder is encrypted, so i can't even login (see the pictures above).

Now i tried to login and saw the following:

Image
When i tried to access the disk through the LIVE-CD i got an error again, as described above:

Image


The problem is not with the password, i remember it, and i guess if it was the problem errors would be other. I don't think that it is a hardware failure, because other drives on this SSD work fine.
Last edited by JanK on Wed May 17, 2023 8:48 am, edited 1 time in total.

User avatar
JanK
Posts: 64
Joined: Sat Jun 22, 2019 11:12 am

Re: Can't reach my system on the encrypted disk

#6 Post by JanK »

Adrian wrote: Wed May 17, 2023 8:16 am "recovery journal" -- that usually show when there was un forced shutdown (or some other problem). Does it get stuck there?
Yes, there was forced shutdown. Yeah, it stuck.
You could also boot to the Live environment on a USB flashdrive, mount the drive from there
I tried. It gives me an error:

Code: Select all

"An error occurred while accessing '82.0 GiB Encrypted Drive', the system responded: The requested operation has failed: Error mounting /dev/dm-0 at /media/demo/homeMX: can't read superblock on /dev/mapper/luks-aec966e2-775e-4b9d-8c0a-ac2d51a2a149 "

User avatar
Adrian
Developer
Posts: 9014
Joined: Wed Jul 12, 2006 1:42 am

Re: Can't reach my system on the encrypted disk

#7 Post by Adrian »

You can try to recover the superblock... but not sure how likely is that:
https://www.linuxbabe.com/desktop-linux ... lock-error

User avatar
JanK
Posts: 64
Joined: Sat Jun 22, 2019 11:12 am

Re: Can't reach my system on the encrypted disk

#8 Post by JanK »

Adrian wrote: Wed May 17, 2023 8:50 am You can try to recover the superblock... but not sure how likely is that:
https://www.linuxbabe.com/desktop-linux ... lock-error
Oh... Didn't know that hard reset can be so dangerous ( I will try, thank you.

So, the problem is NOT with encryption?

User avatar
Adrian
Developer
Posts: 9014
Joined: Wed Jul 12, 2006 1:42 am

Re: Can't reach my system on the encrypted disk

#9 Post by Adrian »

It's probably a problem with the file system, but if you have a problem with the file system encryption doesn't makes thing easier...

User avatar
j2mcgreg
Global Moderator
Posts: 6937
Joined: Tue Oct 23, 2007 12:04 pm

Re: Can't reach my system on the encrypted disk

#10 Post by j2mcgreg »

@Jan K. wrote:
So, the problem is NOT with encryption?
It still could be. Your system has a few possible points of failure and we have try to narrow things down to the specific one. @Adrian's suggestion above should be the first step.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

Post Reply

Return to “MX Help”