You are not logged in.

#1 2023-03-16 10:26:14

Watson
Member
Registered: 2022-12-11
Posts: 7

I cannot proceed after GDM following encryption with LUKS.

I encrypted my existing /home and /root directories using cryptsetup's LUKS2 with

My partition configuration looks like this.

/dev/sdd1    /boot
/dev/sdd2    /
     └root_decrypt
/dev/sdd3    /home
     └home_decrypt

However, I accidentally formatted the root directory. So, I restored the files excluding the home and boot directories from a backup three months ago using rsync. Then, I used chroot from Archiso to update the system and configure automatic mounting during boot, such as crypttab.

When I started up, I was prompted for the passphrase of the encrypted root directory first. After entering it, the kernel loaded, and in the middle of loading, I was asked for the passphrase of the home directory. After entering that, GDM appeared, and I was able to confirm my account. However, even after entering the account password, it stays in the loading state and eventually enters the suspend state.

I tried to login from the console by pressing

control + alt + F2

, but it returned to the screen where the kernel was loading and asked for the passphrase of the home directory again. However, this time, there was no response even after entering the correct passphrase. (Could the keyboard input not be accepted?)

Would it work properly to mount and use a different root directory and home directory with different time settings?

Could someone please advise me on this?

Offline

Board footer

Powered by FluxBB