Skip to main content

Questions tagged [cryptsetup]

cryptsetup - setup cryptographic volumes for dm-crypt (including LUKS extension). cryptsetup is used to conveniently setup dm-crypt managed device-mapper mappings.

1 vote
0 answers
115 views

unlocking LUKS root partition with FIDO2 Yubikey (and ideally without dracut)

I enrolled my FIDO2 Yubikey device as a way to unlock my encrypted partition: /etc/crypttab dm_crypt-0 UUID=78768999-69dd-44ba-8858-dd0c2ecbc2b5 none luks dm_crypt-0 UUID=78768999-69dd-44ba-8858-...
bluppfisk's user avatar
  • 781
0 votes
0 answers
71 views

cryptsetup unlock skips pressed keys - first attempt fails

I have a strange problem. When I try to unlock my LUKS volume at boot, the first unlock attempt almost always fails, even though I enter the correct password. It turns out some key presses are not ...
user1768761's user avatar
-1 votes
1 answer
172 views

Going from full encrypted system to unencrypted /boot and encrypted / - how to be asked for the passphrase?

I had a fully encrypted system with /boot and / on the same device (/dev/sd8 is root). / contained a keyfile under /etc/luks/ so that I only needed to enter a passphrase when GRUB started, not ...
Ph Sei's user avatar
  • 11
0 votes
0 answers
129 views

cryptsetup not recognizing `tries` option from `/etc/crypttab`

I've successfully set up Ubuntu (Kubuntu 22.04, to be more precise) as a secondary OS, next to Windows 10, on a LUKS-encrypted drive. (Single BTRFS partition in LUKS container) I've not done this ...
Zak's user avatar
  • 111
0 votes
1 answer
2k views

Is there a way to enable or configure Full Disk Encryption (LUKS) after installing Ubuntu?

Is there a way to enable or configure Full Disk Encryption (LUKS) after installing Ubuntu?
ASA's user avatar
  • 11
1 vote
1 answer
592 views

Change keyboard layout for full disk encryption login

My work recently installed Ubuntu 22.04.3 LTS on a laptop of mine with full disk encryption using cryptsetup (I would have preferred to install it myself, but I wasn't given the choice...). The ...
David M. Kaplan's user avatar
0 votes
1 answer
921 views

Prompted for luks encryption password on boot despite specifying a keyfile

I have a working installation of Kubuntu 22.04 on a LUKS encrypted ext4 partition of device nvme0n1. When I boot up my computer, it prompts me for the encryption password before proceeding to boot ...
Max's user avatar
  • 113
0 votes
0 answers
91 views

LUKS Container lost due to partitioning by Windows?

I plugged a HDD with a LUKS container on it into Windows and opened the Disk Manager. A dialog appeared where I clicked "Format as GPT", not knowing what I was doing. Apparently Windows wasn'...
Philipp Murry's user avatar
0 votes
0 answers
104 views

ecryptfs-setup-swap made a swap that is in clear text to root

I am running Ubuntu 22.04 LTS on a MacBook Air, SSD, using LVM without encryption. The original swap was mapped to /dev/dm-1. After running ecryptfs-setup-swap, the new swap was mapped to /dev/dm-2 ...
user1757959's user avatar
1 vote
0 answers
313 views

I've deleted cryptsetup-initramfs

I'm running Ubuntu 20.04 (5.15.-10088.98) with LUKS LVM and have done something stupid. I've tried sudo apt upgrade and get the following problem: I: The initramfs will attempt to resume from /dev/dm-...
Lio Steinbacher's user avatar
0 votes
1 answer
489 views

Ubuntu encryption during installation

For the first time while installing Ubuntu 23.04 I clicked the button for encryption. For bad luck the installation got stuck, so now I have an encrypted Lenovo laptop and I can't decrypt mmcblk0 even ...
Blackwebstudio's user avatar
0 votes
0 answers
1k views

How do I install Ubuntu 23.04 on an encrypted Btrfs filesystem?

I currently use an encrypted Btrfs filesystem (cryptsetup+luks), which I could set up easily using the Ubuntu 22.10 setup. With Ubuntu 23.04, I only managed to install it on an encrypted LVM+ext4 ...
Torsten Bronger's user avatar
0 votes
2 answers
1k views

Preventing Ubuntu from asking for password for encrypted data partition at startup (Ubuntu 20.04)

I'm using Ubuntu 20.04. I have a (LUKS) encrypted partition that I do not want to be prompted to mount on startup (at minimum, not providing a password for it on startup should not block the system ...
davidgo's user avatar
  • 127
0 votes
0 answers
509 views

Kubuntu update-initramfs results in: ERROR: Couldn't resolve device /swapfile

Lately, I did a fresh install of kubuntu (coming from linux mint) where I also encypted the drive and swapfile. During booting I got the error: Cryptsetup waiting for encrytped source device /...
Vincentvd's user avatar
0 votes
0 answers
546 views

LUKS full disk encryption fails from boot but live-CD is able to unlock partition - Kubuntu 22.04.1 LTS

When trying to boot with Kubuntu I can't get the root to decrypt. That is an old installation that worked for months. I can't remember what was updated before it stopped working. I've verified that it ...
blueSTAR's user avatar

15 30 50 per page
1
2 3 4 5
11