Questions tagged [luks]
Questions specific to LUKS (Linux Unified Key Setup) disk-encryption specification in general, such as setup questions or questions about how LUKS works. Use this tag if your question directly involves the LUKS disk encryption; do not use it if you just happen to be using an encrypted LUKS disk and your question is about a specific Linux configuration.
864 questions
-1
votes
2
answers
103
views
Our server has been luks encrypted on its own
We have a customer oracle 8 server that has been running for over 5 years. We received a call that there was an issue, we could not remotely access the server so we did a physical visit and found this ...
7
votes
2
answers
576
views
df with a given filename return a filesystem name which is not in the list of all filesystems given by df without any parameter
When I execute the df command without parameters, I get the following list of file systems:
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 8112420 0 8112420 0% ...
4
votes
1
answer
305
views
LUKS keyslot damaged?
I have two LUKS-encrypted SSDs in my laptop: one is the system SSD (nvme0n1), which contains my Home folder encrypted with eCryptfs, and the other is a Data SSD (nvme1n1), which is fully LUKS-...
3
votes
2
answers
324
views
Correct permissions for a LUKS key file
journalctl -b
shows:
systemd-cryptsetup[1807]: Key file /some-path/keys/sda1.luks is world-readable. This is not a good idea!
…
systemd-cryptsetup[1807]: /some-path/keys/sda1.luks has 0644 mode that ...
0
votes
0
answers
37
views
How to set up dual boot with Pop!_OS and Arch Linux on encrypted partitions?
I currently have Pop!_OS 22.04 installed on an unencrypted ext4 partition. I want to set up a dual boot system where both Pop!_OS and Arch Linux use encrypted partitions.
Current setup:
nvme0n1p1: ...
1
vote
1
answer
78
views
Can a LUKS volume on a USB drive be opened at boot?
I have a new install of Debian 13 with a LUKS-encrypted hard drive (/dev/sda) with LVM. I am trying to add another encrypted drive to the LVM volume group as a new physical drive. For this, I am ...
-2
votes
1
answer
134
views
What things can i do with a gpu? [closed]
Is there a way to use a NVidia GPU for:
Compress/Decompress a .rar Archive?
Create and open a LUKS Device?
Compile Code with GCC?
Or for what computationally intensive tasks can i use a gpu with linux?...
3
votes
3
answers
575
views
cryptsetup block size preventing from using it
I used cryptsetup to encrypt a disk. I followed this tutorial, which uses the default values. Afterwards I used the disk with no issues and backed up my data.
Now I connect it again and returns error ...
1
vote
0
answers
124
views
Can I automatically unlock a user's personal luks partition on login and lock on logout?
On a multi-user desktop system, having users alice and bob, each has their own encrypted partition /dev/sda1 and /dev/sdb1 that need to be mounted to /home/alice/data and /home/bob/data respectively.
/...
0
votes
1
answer
85
views
How to configure grub to boot from encrypted lvm partition
I try to install Grub manually after Devuan installation, but I guess there is an error in configuration.
/etc/default/grub
GRUB_CMDLINE_LINUX=”cryptdevice=/dev/sda5:devuan-root:allow-discard”
...
1
vote
1
answer
78
views
How to install a second GNU/Linux in dual boot, with the first distribution already installed and full-disk encrypted with LUKS?
This is not a duplicate of How to install two GNU/Linux in dual boot with one under LUKS and the other not?, since it assumes newly installing both distributions.
I have a Linux distribution installed ...
1
vote
1
answer
337
views
Archlinux not booting after update, root partition full, (luks) device not found, fsconfig failed, can't lookup blockdev, emergecy shell
After updating with pacman -Syu system fails to boot.
ERROR: device '/dev/lvmSystemXXX/volRootXXX' not found. Skipping fsck.
mount: /new_root: fsconfig() failed: /dev/lvmSystemXXX/volRootXXX: Can't ...
2
votes
0
answers
72
views
Why is password requested repetitively to mount encrypted USB drive?
I have a USB drive, encrypted with LUKS cryptsetup, that I use for regular backups.
When I plug in the drive, I am prompted for a password, just as expected. But then the drive gets mounted, an icon ...
0
votes
0
answers
67
views
resize luks encrypted xfs on lvm partition to extend root with additional space
i have a ~200GB luks encrypted partition on a dual boot setup and i've just shrunk my windows partition by a bit so i can use the unallocated space on my root partition which is xfs. how would i go ...
0
votes
0
answers
59
views
How to add init script with decrpt LUKS Logic in Initramfs without disturbing poky source?
Here is quick description what im trying to achieve, building this mender yocto image for raspberry pi want to encrypt the root partition, while secure boot, need to add the init script which can ...