Skip to main content

All Questions

Tagged with
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
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
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
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
1 vote
0 answers
341 views

How to unlock encrypted drives on a headless server?

I'm planning a homemade NAS-build with the following features: Standard Ubuntu server installation with SSH server Two Btrfs RAID1 drives on encrypted HDDs with dm-crypt NFS shared folders from ...
Prototype700's user avatar
2 votes
1 answer
3k views

How can I rebuild etc crypttab?

tldr: My /etc/crypttab went missing and I do not know how to rebuild it. I tried to upgrade from 20.04 to 22.04 and something wrong. When booting I just landed in initramfs. Never heard of that. After ...
MDoe's user avatar
  • 115
2 votes
2 answers
1k views

LUKS/Cryptsetup possibly corrupted after hard shutdown

My laptop is a a Dell Precision 5560 running Ubuntu 20.04.3. It has LUKS disk encryption set up on it. About a week ago, it completely froze (I'm not sure why) such that my only recourse to get it ...
hasc's user avatar
  • 25
0 votes
1 answer
907 views

How to encrypt a partition and protect the key file

A Linux machine has a partition with sensitive data. The goal is to prevent one from booting up from a live usb and mounting the machine's hard drive and copying the data. The partition is encrypted ...
afar's user avatar
  • 21
7 votes
2 answers
7k views

Configure Ubuntu 22.04 (ZFS) for automatic LUKS unlock on-boot via USB drive

I've freshly installed Ubuntu 22.04 and used the ZFS+LUKS full drive encryption option from the installer. I've been searching around on the web for a way to configure the drive to unlock ...
Bob Arezina's user avatar
1 vote
0 answers
1k views

Problem : Custom linux kernel and crypto

I followed this topic to build the new kernel 5.15 on my laptop dell with Ubuntu 20.04.3 and its kernel 5.14.0-1008-oem. Unfortunately, I have some difficulties to build my new kernel because of my ...
Matthmatth03's user avatar
1 vote
1 answer
2k views

cryptsetup: Waiting for encrypted source device after the motherboard has been replacement

I have a dell xps laptop: the ram was faulty and the motherboard has been replaced. The problem: My hard drive was encrypted and now I am not able to recover it. I am using Ubuntu 20.04. Booting ...
Quantum_Something's user avatar
1 vote
0 answers
126 views

Recover my data from an encrypted luks disk, error while analyse

I tried to encrypt my external hard disk with LUKS but the disk header is buggy. So I followed the method described here https://unix.stackexchange.com/questions/281349/mount-error-when-automounting-a-...
Maxime Luce's user avatar

15 30 50 per page
1
2 3 4 5 6