You are not logged in.
Pages: 1
Topic closed
I hope this is the right place for this post. I have been struggling for a few days now to understand and fix some problems with my encrypted drives at start up. I used the guided installer and chose full disk encryption. When booting I get asked for a passphrase to unlock the root partition, as expected, but I am asked for a passphrase to open the /home partition, as well. Given that a key file was placed in /etc/cryptsetup-keys.d/ and the crypttab references it I presume the home partition is meant to unlock on its own, but that does not occur.
When checking the systemd units the unit
systemd-cryptsetup@home.service
fails. When checking its status I get this:
systemd-cryptsetup@home.service - Cryptography Setup for home
Loaded: loaded (/run/systemd/generator.late/systemd-cryptsetup@home.service; generated)
Active: failed (Result: exit-code) since Mon 2025-05-05 20:48:41 EDT; 19min ago
Invocation: 1dfff4ed36d64ac782067002c88ddb24
Docs: man:crypttab(5)
man:systemd-cryptsetup-generator(8)
man:systemd-cryptsetup@.service(8)
Process: 1139 ExecStart=/usr/bin/systemd-cryptsetup attach home /dev/disk/by-diskseq/1-part3 (code=exited, status=1/FAILURE)
Main PID: 1139 (code=exited, status=1/FAILURE)
Mem peak: 1G
CPU: 30.564s
May 05 20:48:21 archlinux systemd[1]: Starting Cryptography Setup for home...
May 05 20:48:32 archlinux systemd-cryptsetup[1139]: Set cipher aes, mode xts-plain64, key size 512 bits for device /dev/disk/by-diskseq/1-part3.
May 05 20:48:41 archlinux systemd-cryptsetup[1139]: Cannot use device /dev/disk/by-diskseq/1-part3 which is in use (already mapped or mounted).
May 05 20:48:41 archlinux systemd-cryptsetup[1139]: Failed to activate with specified passphrase: Device or resource busy
May 05 20:48:41 archlinux systemd[1]: systemd-cryptsetup@home.service: Main process exited, code=exited, status=1/FAILURE
May 05 20:48:41 archlinux systemd[1]: systemd-cryptsetup@home.service: Failed with result 'exit-code'.
May 05 20:48:41 archlinux systemd[1]: Failed to start Cryptography Setup for home.
May 05 20:48:41 archlinux systemd[1]: systemd-cryptsetup@home.service: Consumed 30.564s CPU time, 1G memory peak.
Also the decryption process is slow as it is waiting for a Start Job on Cryptography Setup for Home.
I have tried making a new keyfile and adding it to the LUKS header, setting the keyfile in crypttab to none, and both specifying and removing keyslots from from the crypttab. All lead to (nearly) identical results.
I am able to log into the system, but I would like to understand why the problem is occurring and, if possible, fix it.
Thank you for any help
Offline
While you likely didn't do anything "wrong", I would recommend you redo the install using the officially supported Installation Guide, not the guided installer. The guided installer is more for automating installations on multiple machines, not for doing your first Arch installation. Especially since you are (rightfully) concerned with understanding WHY things work or don't work, the Installation Guide will get you there, even though it might take longer.
If you're still interested in addressing this Guided Installer build, click the "Report" button on your original post and ask a mod to move it to the Guided Installer forum.
Offline
While you likely didn't do anything "wrong", I would recommend you redo the install using the officially supported Installation Guide, not the guided installer.
That would probably be best. However, given I am strapped for time at the moment I may have to settle for something else and return to Arch when I can.
I have used EndeavourOS for a while and with a new computer I thought I would make the transition, but given I also need to move and have a new job I doubt I will have the time to fix whatever problems may arise, unfortunately. Thank you though.
Edit: Also, I am unsure what should be done with this post at this point, so I will leave it as is until further instruction.
Last edited by argusarrest (2025-05-06 22:49:15)
Offline
Mod note: it's unclear if you are persisting with this install or switching back to EndeavourOS, (or something else), but moving to archinstall subforum for now.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Mod note: it's unclear if you are persisting with this install or switching back to EndeavourOS, (or something else)
Apologies for the lack of clarity. I will be switching to something else for the foreseeable future.
Offline
Thanks for clearing that up. I'll go ahead and close this for now.
Mod note: Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed