All Questions
Tagged with encryption luks
365
questions
0
votes
0
answers
18
views
encrypt the filesystem of non-encrypted drive with luks
I have a partition non-encrypted. It has files and is ext4. Is it possible to encrypt it? First it will require map to luks name. For that the cryptsetup command informs current ext4 will be erased. ...
-1
votes
0
answers
43
views
USB flash stick with LUKS encryption... somehow stopped being a LUKS
I've made USB stick with LUKS+ext4 by standard Ubuntu's Disks app and used it 1-2 years, everything was fine. But one day Files (Nautilus) hang, after few tries of ejecting / unmounting USB stick I've ...
0
votes
0
answers
29
views
Automount encrypted Luks USB device when connected
how can I automount an encrypted USB device (e.g. USB stick) via key file, when connected.
What I did so far
It works during boot time. The device will be encrypted via keyfile and mounted in /mnt/usb,...
0
votes
0
answers
20
views
How can I retrieve (or replace) one LUKS password, given a second one
The good news is that I can unlock my LUKS encrypted home partition. Keyslot 1 ties to a file on a USB stick that my /etc/crypttab uses to automatically unlock. And so as long as a cheap USB stick ...
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-...
0
votes
0
answers
30
views
Booting into recovery mode turns my screen into "Braille" hieroglyphs?
I am running a Ubuntu 22.04 with LUX full disk encryption in a VM. I just finished configuring GRUB to require a password using this answer, and to only require a password when changing settings using ...
0
votes
1
answer
192
views
How to encrypt partition using LUKS-2?
I have an empty partition (say /dev/sda1) that I want to encrypt with LUKS-2 and be able to open it with passphrase from commonly used file managers (Dolphin, PCManFM-Qt, etc). I prefer a GUI like KDE ...
9
votes
3
answers
5k
views
Ubuntu 24.04 installer not showing encrypted lvm partitions (luks)
I want to replace my ubuntu 22.04 install which is in an encrypted lvm with new Ubuntu 24.04.
I unlocked to crypted partition :
sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt
password: ok
...
0
votes
0
answers
22
views
Move LUKSHeader from /dev/sdx1 to /dev/sdx
I've got a machine running ubuntu 23.10 with some LUKS-Encrypted disks attached. Unfortunately I think I made some mistakes when creating the Filesystems, as some of the luksHeaders are in /dev/sdX ...
0
votes
1
answer
121
views
Do not ask for LUKS password at boot
LUKS is used on a Ubuntu 22 PC to encrypt the whole disk.
So, each time the PC is booted, 2 passwords are requested: LUKS password to decrypt the disk, then the login password to log in.
Is it ...
1
vote
0
answers
118
views
How to recover a deleted LUKS partition
I have created a LUKS encrypted pen drive with the gnome-disks tool, but a time ago I have accidentally formatted the disk, losing the partition.
I tried to recuperate the partition stored on sda1 ...
0
votes
0
answers
48
views
Inaccessible Data after LUKS2 encryption
I tried to encrypt a HDD with an exisiting EXT4 partition on it using Luks2.
First I made room for the LUKS2 header (probably the issue I assume...):
resize2fs / dev/sdc1 2929710000
Then I started ...
0
votes
0
answers
81
views
Move Ubuntu 22.04 to hardware hp p410i RAID1 with encrypted volumes on BIOS
I have an old hp n40l microserver with Ubuntu 22.04 on board with quite old BIOS as of 2012.
Now my SSD 256GB disk is split to 2 partitions: /boot/efi and /.
I've bought hp p410i RAID card, and 3 more ...
1
vote
0
answers
96
views
Is there a manual process to reseal TPM FDE keys based on current system measurements in Ubuntu 23.10?
There are a couple similar questions out there, but here is what I'm trying to figure out... In Ubuntu 23.10, if you change the system config or firmware, then unsealing the TPM isn't going to work, ...
0
votes
0
answers
265
views
My ubuntu 22.04.2 wont boot after successful LUKS decryption
my disk is encrypted using LUKS and everytime I open my pc I always need to provide the write password before I can log in into my device, so as usual I open my pc ready to work, and as usual I was ...