# \#cryptsetup

**URL:** https://discussion.fedoraproject.org/tag/cryptsetup/1132.md

[Latest](https://discussion.fedoraproject.org/latest.md) · [Categories](https://discussion.fedoraproject.org/categories.md) · [Tags](https://discussion.fedoraproject.org/tags.md)

---

## [After upgrade of f44 server boot is failing - crypttab processing changed by systemd](https://discussion.fedoraproject.org/t/after-upgrade-of-f44-server-boot-is-failing-crypttab-processing-changed-by-systemd/193418)

<div class="topic-metadata">

**Author:** [@barryascott](https://discussion.fedoraproject.org/u/barryascott)\
**Replies:** 4\
**Last updated:** [July 1, 2026, 6:27am UTC](https://discussion.fedoraproject.org/t/after-upgrade-of-f44-server-boot-is-failing-crypttab-processing-changed-by-systemd/193418 "2026-07-01T06:27:25Z")

</div>

Today I updated my f44 server and it failed to reboot successfully. The reasons as far as I can tell is that it’s not unlocking all the luks encrypted volumes. I have 3 luks volumes / /var /shares - my SMB shares stuff. I can edit the config of the system to investigate and fix what’s wrong. F…

---

## [How-To automatically unlock and mount an encrypted USB partition on attach](https://discussion.fedoraproject.org/t/how-to-automatically-unlock-and-mount-an-encrypted-usb-partition-on-attach/189279)

<div class="topic-metadata">

**Author:** [@tocoda](https://discussion.fedoraproject.org/u/tocoda)\
**Replies:** 5\
**Last updated:** [April 30, 2026, 9:28pm UTC](https://discussion.fedoraproject.org/t/how-to-automatically-unlock-and-mount-an-encrypted-usb-partition-on-attach/189279 "2026-04-30T21:28:16Z")

</div>

I use a usb thumb drive with several partitions in order to share my personal data among machines. Each partition is (bitlocker) encrypted. I am looking for a solution to automatically unlock and mount the partitions at some dedicated location. This is what I tried so far: Using a script collecti…

---

## [Encrypted boot fails sometimes on Fedora 42](https://discussion.fedoraproject.org/t/encrypted-boot-fails-sometimes-on-fedora-42/152696)

<div class="topic-metadata">

**Author:** [@theta-sigma](https://discussion.fedoraproject.org/u/theta-sigma)\
**Replies:** 21\
**Last updated:** [January 11, 2026, 8:40pm UTC](https://discussion.fedoraproject.org/t/encrypted-boot-fails-sometimes-on-fedora-42/152696 "2026-01-11T20:40:05Z")

</div>

Problem After typing passphrase for encryption at the disk encryption screen, the boot is forever stuck on the Fedora logo splash screen with the spinner. Hitting Esc to hide the splash screen shows that systemd-cryptseup fails. The weird thing is, this only happens sometimes, once for every few…

---

## [Can't open cloned encrypted partition on new machine | File Recovery |](https://discussion.fedoraproject.org/t/cant-open-cloned-encrypted-partition-on-new-machine-file-recovery/127031)

<div class="topic-metadata">

**Author:** [@urilabob](https://discussion.fedoraproject.org/u/urilabob)\
**Replies:** 5\
**Last updated:** [November 19, 2025, 2:51am UTC](https://discussion.fedoraproject.org/t/cant-open-cloned-encrypted-partition-on-new-machine-file-recovery/127031 "2025-11-19T02:51:22Z")

</div>

I originally installed Fedora on my old computer about F24, using an encrypted partition. I’m pretty sure I just used the corresponding F24 usb creator to build the system, and ticked the appropriate spot to encrypt the disk. It has always worked perfectly. However the old computer is now almost dea…

---

## [F42 KDE asks for encryption passphrase twice and freezes](https://discussion.fedoraproject.org/t/f42-kde-asks-for-encryption-passphrase-twice-and-freezes/155843)

<div class="topic-metadata">

**Author:** [@fedrun](https://discussion.fedoraproject.org/u/fedrun)\
**Replies:** 3\
**Last updated:** [August 28, 2025, 11:14am UTC](https://discussion.fedoraproject.org/t/f42-kde-asks-for-encryption-passphrase-twice-and-freezes/155843 "2025-08-28T11:14:31Z")

</div>

There is a known issue (which I can’t seem to find again to link here) where the screen for the encryption passphrase flashes again for a few seconds before continuing to the KDE user login screen. My issue seems similar or related, but the second prompt doesn’t leave the screen regardless of how l…

---

## [Can't boot into encrypted Fedora 42 install](https://discussion.fedoraproject.org/t/cant-boot-into-encrypted-fedora-42-install/155857)

<div class="topic-metadata">

**Author:** [@tashelonchik](https://discussion.fedoraproject.org/u/tashelonchik)\
**Replies:** 1\
**Last updated:** [June 16, 2025, 8:42am UTC](https://discussion.fedoraproject.org/t/cant-boot-into-encrypted-fedora-42-install/155857 "2025-06-16T08:42:58Z")

</div>

Problem Can’t boot into my new Fedora 42 install. After entering my encryption password I get error message like in this issue, then it timesout and drops me into emergency shell. I had Fedora 42 installed on this exact hardware before and didn’t have any issues similar to this one. Causes Might be…

---

## [How do I mount encrypted drives automatically?](https://discussion.fedoraproject.org/t/how-do-i-mount-encrypted-drives-automatically/148064)

<div class="topic-metadata">

**Author:** [@rumentaio](https://discussion.fedoraproject.org/u/rumentaio)\
**Replies:** 9\
**Last updated:** [April 5, 2025, 8:18pm UTC](https://discussion.fedoraproject.org/t/how-do-i-mount-encrypted-drives-automatically/148064 "2025-04-05T20:18:32Z")

</div>

I accomplished this on my laptop a few months ago, but I can’t figure it out again and I can’t find guides I used at the time. Here is what I vaguely remember from my work on the laptop. I used some command that gave me a line of code for the encrypted partition. I used that code to avoid using t…

---

## [F40 kernel fails to boot due to device-mapper after LUKS2 password](https://discussion.fedoraproject.org/t/f40-kernel-fails-to-boot-due-to-device-mapper-after-luks2-password/119957)

<div class="topic-metadata">

**Author:** [@nkn123](https://discussion.fedoraproject.org/u/nkn123)\
**Replies:** 12\
**Last updated:** [February 25, 2025, 8:04am UTC](https://discussion.fedoraproject.org/t/f40-kernel-fails-to-boot-due-to-device-mapper-after-luks2-password/119957 "2025-02-25T08:04:20Z")

</div>

Problem description The boot process halts on Fedora 40 after the user enters the disk decryption password. Note: Some details are redacted (\[...\], \[partition device name\], etc). Boot logs The following is a transcription of logs displayed on-screen during the boot sequence: Please enter passphra…

---

## [LUKS cryptsetup error on each reboot/shutdown](https://discussion.fedoraproject.org/t/luks-cryptsetup-error-on-each-reboot-shutdown/67040)

<div class="topic-metadata">

**Author:** [@fasulia](https://discussion.fedoraproject.org/u/fasulia)\
**Replies:** 2\
**Last updated:** [February 25, 2025, 7:59am UTC](https://discussion.fedoraproject.org/t/luks-cryptsetup-error-on-each-reboot-shutdown/67040 "2025-02-25T07:59:11Z")

</div>

I have my system set up with LVM on LUKS. On every reboot or shutdown, journalctl shows this error: systemd-cryptsetup: Device luks-\[UUID\] is still in use. systemd-cryptsetup: Failed to deactivate: Device or resource busy lsblk NAME MAJ:MIN RM SIZE RO T…

---

## [Two Fedoras, one hard drive, zero GRUB menus](https://discussion.fedoraproject.org/t/two-fedoras-one-hard-drive-zero-grub-menus/144769)

<div class="topic-metadata">

**Author:** [@fluhus](https://discussion.fedoraproject.org/u/fluhus)\
**Replies:** 4\
**Last updated:** [February 17, 2025, 1:30am UTC](https://discussion.fedoraproject.org/t/two-fedoras-one-hard-drive-zero-grub-menus/144769 "2025-02-17T01:30:22Z")

</div>

Hello! I had Fedora 41 Cinnamon installed on my hard drive, and I decided to install Fedora KDE alongside it (dual boot). So I created some space and installed it. Everything worked, except that I don’t have a GRUB menu anymore. It automatically runs the new KDE installation. Not even the kernel ve…

---

## [Cryptsetup won't open container after update](https://discussion.fedoraproject.org/t/cryptsetup-wont-open-container-after-update/131318)

<div class="topic-metadata">

**Author:** [@soconfused](https://discussion.fedoraproject.org/u/soconfused)\
**Replies:** 1\
**Last updated:** [September 15, 2024, 3:54pm UTC](https://discussion.fedoraproject.org/t/cryptsetup-wont-open-container-after-update/131318 "2024-09-15T15:54:18Z")

</div>

I upgraded Fedora recently to F40. My cryptsetup no longer would open a container created on an earlier Fedora release (F38, for example).

---

## [Disk I/O operations with dm-crypt very blocking, system unresponsive](https://discussion.fedoraproject.org/t/disk-i-o-operations-with-dm-crypt-very-blocking-system-unresponsive/130353)

<div class="topic-metadata">

**Author:** [@soconfused](https://discussion.fedoraproject.org/u/soconfused)\
**Replies:** 3\
**Last updated:** [September 3, 2024, 12:07pm UTC](https://discussion.fedoraproject.org/t/disk-i-o-operations-with-dm-crypt-very-blocking-system-unresponsive/130353 "2024-09-03T12:07:22Z")

</div>

I have some dm-crypt’ed partitions. And when I copy files between those partiions, I get major blocking going on especially if it involves the system’s encrypted root partition - the terminal becomes unresponsive, things like that. But it affects any partition involved in the i/o operation in a bloc…

---

## [LUKS2 encrypted boot on Fedora - how to set up correctly?](https://discussion.fedoraproject.org/t/luks2-encrypted-boot-on-fedora-how-to-set-up-correctly/126933)

<div class="topic-metadata">

**Author:** [@ovaloakpost](https://discussion.fedoraproject.org/u/ovaloakpost)\
**Replies:** 8\
**Last updated:** [July 26, 2024, 4:41pm UTC](https://discussion.fedoraproject.org/t/luks2-encrypted-boot-on-fedora-how-to-set-up-correctly/126933 "2024-07-26T16:41:20Z")

</div>

Hi all, I’m in the process of setting up current Fedora with LUKS2 encrypted boot and root partition on my Framework 13 AMD. But I always end up with the problem when entering the second passphrase (for the root partition) it doesn’t accept the (correct) passphrase anymore and I’m stuck on the GRU…

---

## [Unable to upgrade my server on Silverblue](https://discussion.fedoraproject.org/t/unable-to-upgrade-my-server-on-silverblue/124036)

<div class="topic-metadata">

**Author:** [@froggy23](https://discussion.fedoraproject.org/u/froggy23)\
**Replies:** 21\
**Last updated:** [July 15, 2024, 10:46am UTC](https://discussion.fedoraproject.org/t/unable-to-upgrade-my-server-on-silverblue/124036 "2024-07-15T10:46:03Z")

</div>

Bug report Hi, Since arround 09/06/2024, I can’t upgrade my Fedora Silverblue 40 server. The logs I have told me that : 2024 06 24 11 51 06 742 — Postimages Does some of you have an idea? If I try to boot the 09th june version, everythings works but if I try to boot a more recent one, it fai…

---

## [Encrypted file system not mounted on boot? cryptsetup issues? Known issue in SELinux-policy - Please check existing bug report before filing a new one](https://discussion.fedoraproject.org/t/encrypted-file-system-not-mounted-on-boot-cryptsetup-issues-known-issue-in-selinux-policy-please-check-existing-bug-report-before-filing-a-new-one/120341)

<div class="topic-metadata">

**Author:** [@py0xc3](https://discussion.fedoraproject.org/u/py0xc3)\
**Replies:** 0\
**Last updated:** [June 17, 2024, 4:06pm UTC](https://discussion.fedoraproject.org/t/encrypted-file-system-not-mounted-on-boot-cryptsetup-issues-known-issue-in-selinux-policy-please-check-existing-bug-report-before-filing-a-new-one/120341 "2024-06-17T16:06:05Z")

</div>

Currently, there is an issue in the package selinux-policy that was introduced with the update to 40.22-1 (at least on F40). If you experience issues with regards to SELinux denials, primarily with encrypted file systems that are not mounted on boot (or cryptsetup issues in general), please check i…

---

## [F40, cryptsetup-refresh nowhere to be found](https://discussion.fedoraproject.org/t/f40-cryptsetup-refresh-nowhere-to-be-found/117841)

<div class="topic-metadata">

**Author:** [@josevillani](https://discussion.fedoraproject.org/u/josevillani)\
**Replies:** 1\
**Last updated:** [May 23, 2024, 1:49pm UTC](https://discussion.fedoraproject.org/t/f40-cryptsetup-refresh-nowhere-to-be-found/117841 "2024-05-23T13:49:43Z")

</div>

Hi, After modifying my /etc/cryptab like that and ran dracut (sudo dracut --regenerate-all --force), I have no indication that the workqueue parameters are in effect. $sudo cat /etc/crypttab luks-\*\*\*\*\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*\*\*\*\*\*\*\*\* UUID=\*\*\*\*\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*\*\*\*\*\*\*\*\* none discard,no-write-…

---

## [LUKS2 dm-crypt cryptsetup - Opal SSD Hardware Encryption](https://discussion.fedoraproject.org/t/luks2-dm-crypt-cryptsetup-opal-ssd-hardware-encryption/117585)

<div class="topic-metadata">

**Author:** [@bluetrend](https://discussion.fedoraproject.org/u/bluetrend)\
**Replies:** 7\
**Last updated:** [May 22, 2024, 10:18am UTC](https://discussion.fedoraproject.org/t/luks2-dm-crypt-cryptsetup-opal-ssd-hardware-encryption/117585 "2024-05-22T10:18:02Z")

</div>

Hi everyone! After I read this: https://www.phoronix.com/news/Cryptsetup-Lands-OPAL-Encrypt, I’m trying to figure out how can I know, if in the Fedora Installation, with the encryption box enabled, I get this new features. I’m currently running Fedora, but before intalling it, I followed this guide h…

---

## [Fedora 38. Cryptsetup does not remember the passphrase](https://discussion.fedoraproject.org/t/fedora-38-cryptsetup-does-not-remember-the-passphrase/89619)

<div class="topic-metadata">

**Author:** [@andreas574](https://discussion.fedoraproject.org/u/andreas574)\
**Replies:** 12\
**Last updated:** [September 13, 2023, 12:21am UTC](https://discussion.fedoraproject.org/t/fedora-38-cryptsetup-does-not-remember-the-passphrase/89619 "2023-09-13T00:21:00Z")

</div>

Hi all, that’s an annoying problem. I recently bought an HP laptop that came with windows11. As there still are a few things I do on Windows, I decided to install Fedora 4 on an external USB4 SSD drive (Thunderbolt as well). Everything went fine, but Cryptsetup does not remember the passphrase, s…
