Skip to main content

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.

3 votes
2 answers
305 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 ...
Clément's user avatar
  • 410
0 votes
0 answers
35 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: ...
aadesh tikhe's user avatar
1 vote
1 answer
76 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 ...
cseprog's user avatar
  • 361
-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?...
Banana's user avatar
  • 241
3 votes
3 answers
555 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 ...
Geid's user avatar
  • 41
1 vote
0 answers
117 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. /...
bitmask's user avatar
  • 1,256
0 votes
1 answer
80 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” ...
normal_max's user avatar
1 vote
1 answer
77 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 ...
Omaro_IB's user avatar
  • 123
1 vote
1 answer
305 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 ...
alex's user avatar
  • 1,043
2 votes
0 answers
70 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 ...
Peter Bill's user avatar
0 votes
0 answers
65 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 ...
peregrinator's user avatar
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 ...
URegal's user avatar
  • 1
0 votes
2 answers
393 views

Unlocking the Debian root partition with keyfile from an encrypted boot partition

This may sound similar to this question, except the circumstances are different where the boot partition is encrypted. I do not want to store the keyfile in the initramfs as that is not my intention. ...
horsey_guy's user avatar
0 votes
1 answer
211 views

How to debug why I get no boot prompt to decrypt LUKS volume containing root filesystem? [systemd-cryptsetup]

I am currently using Rocky 9 + Linux kernel 5.14.0 + security / stability patches. I have two GPT partitions that contain multiple LVM filesystems. One partition is encrypted (LUKS), and one is not. ...
Juan's user avatar
  • 934
0 votes
1 answer
211 views

Why does do-release-upgrade complain about /boot/efi?

I'm trying to set up an Ubuntu server, that has an encrypted root partition (in raid1) that can automatically unlock itself via mandos on a reboot. I have two identically sized drives, both of which ...
fbence's user avatar
  • 517

15 30 50 per page
1
2 3 4 5
58