Questions tagged [encryption]
Questions about encryption such as home folder encryption, partition encryption and file encryption.
2,662 questions
0
votes
1
answer
12
views
Automate mounting a Truecrypt partition on removable medium with cryptsetup
I have a 3TB Truecrypt partition on a 3,5'' portable USB hard drive. Currently, to mount the partition I have to
plug in the USB drive
run veracrypt
select the right volume
tick "truecrypt ...
0
votes
1
answer
25
views
Getting the unencrypted root partition of an encrypted operating system into grub
I have the following setup:
Disk 1: Windows
preinstalled windows with 5 partitions all created during the windows installation
EFI FAT partition with these folders
EFI
Boot
Microsoft
ubuntu
.......
-1
votes
1
answer
47
views
Adding an encrypted LUKS disk to a LUKS+LVM root filesystem?
I have the following problem:
How can I add storage to a machine already using LUKS+LVM without being asked for a passphrase for every added disk?
Goal:
Add space to the logical volume (LV) lv-var ...
0
votes
1
answer
69
views
how to add setid or nohup or similar to initramfs?
I try to follow this tutorial:
Headless Root Filesystem Encryption on RPi 5 and Ubuntu Server 24.04 LTS
but I want to be able to close the ssh session. so I'd need a way to have the setup work in the ...
-1
votes
1
answer
167
views
Has anyone had any success with TPM encryption?
I got a new Framework laptop and expected the TPM to be able to trigger the full disk encryption, however on installing Ubuntu 25.10 I could not select the TPM option. Does anyone know of a good guide ...
1
vote
0
answers
84
views
Kubuntu 24.04: Full Disk Encryption key no longer asked for, boot splash shows "Ubuntu 24.04" - how to mount my filesystem again at boot?
I guess the root cause for the behavior that I'm about to describe might be a massive installation that I recently did: I found ubuntustudio-* packages, which seemed to simply be placeholders for a ...
0
votes
1
answer
103
views
systemd automount idle-timeout doesn't unmount encrypted drive
I have a spare, encrypted, internal HDD that I use for backups. I use cryptsetup and x-systemd.automount to automatically mount the drive on startup. I also set x-systemd.idle-timeout=15min to put the ...
0
votes
0
answers
33
views
dm crypt password was changed from under me
I am new to Ubuntu and i put it on a surface pro7+ but it was working great till one day the password no longer worked I am locked out of my own laptop and can get minimum grub access. I just was ...
0
votes
0
answers
95
views
Restoring a formatted LUKS partition
I accidentally reformatted a drive partition that is encrypted using the standard Ubuntu encryption. The affected partition was incorrectly formatted as NTFS. I did not perform any overwrites when ...
1
vote
0
answers
206
views
Ubuntu 24.04 asks for recovery key on first boot after clean install
Using an HP Elitebook 845 G7. I have attempted several times to perform a clean install of Ubuntu 24.04 with TPM-backed full disk encryption (FDE), but I am unable to get my recovery keys after the ...
0
votes
1
answer
514
views
Installing Ubuntu 25.10 with encrypted /boot btrfs using debootstrap
I am trying to install Ubuntu 25.10 with ESP, encrypted /boot and btrfs on my laptop. All I have found on this topic are outdated/broken instructions.
In the past, I had Arch installed on the same ...
0
votes
0
answers
63
views
USB stick encryption password not remembered by Ubuntu
I am trying to encrypt a USB memory stick through the Disk utility on Ubuntu 24.04.3 LTS. I go on to the Format Volume section, choose "internal disk for use with Linux systems only" plus &...
1
vote
0
answers
121
views
Why is /run/keystore/rpool continuously mounted?
I understand that the purpose of /run/keystore/rpool is to provide the system.key file to ZFS via the keylocation property. However, once this task is complete, why is system.key still mounted? Wouldn'...
0
votes
1
answer
79
views
How can I unlock disks from liveUSB when I only have a recovery key
I setup FDE and backed up recovery keys using snap recovery --show-keys (40 digits 8x5 split by -)
Now I booted using LiveUSB and trying to access data using my recovery keys. I see no way to do it ...
0
votes
0
answers
419
views
How to install Ubuntu 24.04 Desktop with RAID1 and LUKS?
We need to create RAID1 on a server that will have ubuntu 24.04 Desktop version. The disks should be encrypted. After some searching we noticed that there is not an exactly tutorial for this. The ...