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.
20
questions
3
votes
1
answer
2k
views
Ephemeral error message: "cryptsetup: unknown fstype, bad password or options?"
I activated disk encryption for my Ubuntu 15.10 64bit installation and get every time after entering the (correct) password the error message:
cryptsetup: unknown fstype, bad password or options?
...
101
votes
7
answers
195k
views
How to change the password of an encrypted LVM system (previously alternate Installation, now advanced feature)?
I installed Ubuntu 11.10 with the alternate CD and encrypted the whole system (except boot) with the encrypted LVM. Update 2020: Encrypted LVM can be selected at the Installation type step of the ...
27
votes
3
answers
62k
views
Problems with cryptsetup during update
I think I was installing a bunch of updates, and after what seemed like an hour or so, I finally got this message in the Terminal window:
cryptsetup: WARNING: failed to detect canonical device of ...
7
votes
1
answer
4k
views
cryptsetup: waiting for encrypted source device /swapfile, fstab empty
On the bootscreen I get the message:
cryptsetup: waiting for encrypted source device /swapfile...
which then leaves me hanging for about 2 minutes followed by
Initramfs unpacking failed: Decoding ...
5
votes
1
answer
2k
views
Encrypted swap partition does not show up in /dev/mapper
I followed these steps to convert my normal swap on /dev/sda4 (UUID 5da9c956-e544-47e3-bb8e-fe18d9531b2f) into an encrypted swap partition on 16.04:
Disable old swap partition and overwrite it with ...
3
votes
1
answer
9k
views
I can't unmask a service on Kubuntu Wily 15.10
I'm using Kubuntu Wily 15.10 (fully upgraded). It already had installed the cryptsetup package.
I'm trying to start the cryptdisks service but I get this:
$ sudo service cryptdisks start
Failed to ...
11
votes
3
answers
763
views
Will an external HDD encrypted with 17.10 be accessible with 18.04 after an upgrade?
I'm currently on 17.10 and don't use encryption on my internal drives
but have an external USB disk which is encrypted. I use it for backups.
Because I am was not sure whether I use ecryptfs or ...
10
votes
4
answers
8k
views
Setting correct size for "cryptsetup: WARNING: Option 'size' missing in crypttab for plain dm-crypt mapping root" message
I have a full disk encryption using ecryptfs, after upgrading to 18.10 a warning message started to appearing at boot:
cryptsetup: WARNING: Option 'size' missing in crypttab for plain
dm-crypt ...
7
votes
2
answers
6k
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 ...
6
votes
1
answer
12k
views
Full System encryption with LUKS on headless server - unlock with dropbear and busybox. How?
I encrypted a headless server with cryptsetup/LUKS.
2 HDDs with 512 MB /boot on /dev/md0 and 1,61 TB LUKS encrypted /dev/md1 with LVM containing /, swap, and others.
I installed dropbear (and busybox ...
5
votes
2
answers
16k
views
How to fix a not booting Ubuntu setup with encrypted root disk?
Ubuntu is not booting but printing weird things, either
/run/lvm/lvmetad.socket: connect failed: No such file or directory
or /sbin/cryptsetup not found
then falls back to busybox after a few ...
3
votes
2
answers
1k
views
Cryptsetup failure after interrupted upgrade to 16.04
My computer was interrupted while upgrading from 14.04 to 16.04. Afterward I rebooted and ran
sudo dpkg --configure -a
and rebooted again. Now, when prompted for my password on startup, nothing I ...
2
votes
2
answers
2k
views
Cryptsetup does not accept passphrase after installation
I used the xubuntu 13.04 installer and selected german keyboard layout. Afterwards i checked that I want to install with encryption via LUKS on a LVM. There I entered my passphrase and the setup ...
2
votes
0
answers
585
views
Ubuntu 13.04 does not boot after update [closed]
as a complete newbie to Linux, I just installed a brand new Lenovo ThinkPad X230 with Ubuntu 13.04 from USB stick. Downloaded the installer from ubuntu.com and put it on a stick. No issues. Next day (...
2
votes
0
answers
259
views
Ubuntu 16.04 Encrypted USB Disk key not showing up in seahorse
I just noticed that I'm having a problem:
I have a external SSD with a encrypted partition on it.
At some point I must've accidentally enabled the "Remember forever" function for the password on my ...
2
votes
1
answer
9k
views
Ubuntu 20.04 kernel upgrade -> encrypted Volume group cannot be found + crypttab empty
I updated today, then rebooted. The outcome is that the volume group cannot be found and it drops out to BusyBox.
I tried:
"vgchange -ay" out from the busybox -> did nothing.
Booting ...
1
vote
1
answer
2k
views
Ubuntu GNOME display fails to start on boot
I have made a fresh Ubuntu GNOME 16.04.1 install through USB and there were no problems during the first boot. Booting my OS a second time throws me immediately to tty1. Here is what I have tried:
...
0
votes
0
answers
40
views
Is there a way to check if the Cryptsetup vulnerability patch is already installed? [duplicate]
Is there a way to check if we already have the patch for the Cryptsetup vulnerability that's in the news recently?
http://hothardware.com/news/linux-vulnerability-found-by-holding-down-enter-key-for-...
0
votes
1
answer
581
views
I broke encrypted swap partition. How do I bring it back?
I installed Kubuntu 15.04 a while ago with encrypted home and swap partitions. Everything worked as a charm, but today I decided to install Kali Linux on another partition as well (no encryption ...
0
votes
1
answer
894
views
Encrypted drive cloning - resizing partitions problem
I'm trying to clone my SSD to a larger device so I will have a bootable backup in anticipation of doing a system upgrade on several desktop clients. I also want to model a known-correct procedure to ...