LUKS (Linux Unified Key Setup) is a disk-encryption specification.

learn more… | top users | synonyms

6
votes
0answers
566 views

forgot to luksClose usb persistent partition, is this a problem?

Following the Kali Linux documentation for "Adding USB Persistence with LUKS Encryption", I created a persistent partition and encrypted the volume with: cryptsetup --verbose --verify-passphrase ...
4
votes
0answers
284 views

How to use a samba login to mount a luks container?

Our server has an (dm-crypt/LUKS) encrypted project directory which is currently mounted via SSH before its samba share can be accessed - and obviously no one remembers to unmount it afterwards. (...
3
votes
0answers
20 views

LUKS: Change master key

I've already read this SE question, but it's somewhat old now. How can I reencrypt a LUKS partition using a different master key? I have a cloned VM image that needs to go into production, but it's ...
3
votes
0answers
157 views

adding encrypted /home in LVM/LUKS

I installed a new (debian) system to an SSD device. After standard install I want to mount /home on the internal HDD. To be able to ask the question, some details: On install I (manually) generated /...
3
votes
0answers
147 views

Replicate a complex partition structure with LUKS and LVM volumes

I have two external hard discs on an OpenSUSE 13.1 system. On one I have created a partition structure: An encrypted LVM partition (LUKS) Several volumes (10) on this LVM partition, some formatted ...
3
votes
0answers
650 views

Creating an encrypted file container as a non-root user

Linux kernel 3.2.0-64-generic here (Ubuntu LTS if someone is wondering about kernel options / modules). I have some file space on this Linux server (~ 24 GB). I would like to use this space as an ...
3
votes
0answers
252 views

TPM passwordless boot

I'm trying to create device with CentOS6, encrypted disk (with LUKS), TPM module and TrustedGRUB to boot securely and without interaction. I'm following instructions from https://github.com/shpedoikal/...
2
votes
0answers
19 views

Reboot without having to decrypt LUKS partitions?

Is there a way to kexec reboot a running kernel without having to decrypt an encrypted LUKS root filesystem? I'd imagine not, but I'm not sure if there's a workaround for this.
2
votes
0answers
33 views

LUKS decryption at boot: using an nfs mount to store the key

I've been through this site for a number of LUKS related questions. I've seen methods for storing the LUKS key in plaintext on the root filesystem or on a USB key. My question is: Is there a way ...
2
votes
0answers
119 views

Mounting LUKS from the command line

When in nautilus or caja I click on the icon of an encrypted disk and enter my password, the underlying block device gets mapped to /dev/mapper/luks-$UUID and it gets mounted at/media/$USER/$DISK, no ...
2
votes
0answers
408 views

Unable to boot with dracut and luks: '/dev/resume' : file exists

I am installing gentoo and have performed my first reboot after configuration and installation within my chroot environment. I am using LUKS and LVM to manage encryption of my drives. I am encrypting ...
2
votes
0answers
2k views

Accessed a TrueCrypt container without TrueCrypt. What dangers await?

I've got a TrueCrypt volume. In light of the unexpected demise of TrueCrypt, I've been trying to figure out what to do (reading lots of HOWTO websites). I'd like something that is simple and can work ...
2
votes
0answers
275 views

expanding boot, moving LUKS root

GPT > Partition2 > LUKS > btrfs I need some additional space for my boot volume, so far I did: Shrink my btrfs volume by 250MB. btrfs resize -250M / Shrink the LUKS root volume cryptsetup ...
2
votes
0answers
122 views

luks single signon

I've got LUKS (Linux Unified Key Setup) running on a couple of my Linux boxes. I've looked online but haven't seen anyone document how to make it work in a single signon option, but was hoping ...
1
vote
0answers
6 views

How can I tell if a encrypted (LUKS) device is already open?

Is there a way to tell, given a path to a LUKS block device, and not knowing the passphrase, whether the device is already open (decrypted)? What about knowing the path to the decrypted device?
1
vote
0answers
11 views

How to configure device mapper name of encrypted root partition with Grub2?

I would like to have my encrypted root partition mapped to the device mapper name system, i.e. it should eventually appear under /dev/mapper/system. My operating system is Fedora 24 Workstation Linux ...
1
vote
0answers
45 views

How to reboot a server with a LUKS encrypted partition

I have a CentOS 6 VM on which I used the following shell script for installing and configuring MongoDB to use a secondary LUKS (dm-crypt) encrypted disk for its database files: #!/bin/bash -e # Set ...
1
vote
0answers
42 views

Encrypt casper-rw file for use with Easy2Boot

I have created an Easy2Boot multiboot USB drive. Currently it contains two ISOs - Kali Linux 2016 and Linux Mint. I have created persistent ext2 filestore for both ISOs and configured them using the ...
1
vote
0answers
37 views

UUID of LUKS changes when cloned

I am trying to install Centos 7 (under LUKS) on a virtual machine in Fedora 23 using virt-manager and after that to clone that image to multiple USB drives. The problem is that the virtual machine ...
1
vote
0answers
50 views

Debian boot with encrypted disks: RAID is not assembled

Situation I am running Debian 8 on my machine. The disk setup is as follows: # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 55.9G 0 ...
1
vote
0answers
32 views

Dictionary attack GPG symmetric encrypted LUKS keyfile

I remember typing in a long phrase for the password. I wrote all the words I could have possibly used into a plain text file, combining the words I know were used in a certain order. I might have ...
1
vote
0answers
99 views

Initramfs in debootstrap chroot of fully encrypted system

I'm working on a script to create a fully encrypted washable system from debootstrap. It's doing some good, but the initramfs image that comes out does not pick up the cryptroot properly. After ...
1
vote
0answers
56 views

Make changes to busybox/initramfs that are persistent?

I am in the process of recovering my 32-bit Debian Jessie box with a lvm+LUKS disk. I am coming back from a system that had a root partition but no boot partition. Grub executes, but either vmlinuz or ...
1
vote
0answers
87 views

Kernel 4.1.18 doesn't support aes-xts-plain64

My root partition is under a luks crypt and when I type in my password it tells me to make sure my kernel supports aes-xts-plain64 and to check syslog for more info. Obviously I can't check syslog ...
1
vote
0answers
12 views

How can I change the password of a LVM setup in Fedora?

Using CLI, how can I change the password of a LUKS/LVM setup in Fedora (2x), where x can be 1,2, or 3? Note: The physical LVM2 volume spans over two partitions on two drives (/dev/sda3 and /dev/sdb1)....
1
vote
0answers
116 views

ArchLinux: Error installing grub on encrypted lvm partition(lvm on luks)

I am trying to install Arch Linux on an encrypted partition (LVM on LUKS). I followed the relevant Arch Wiki guide, but when I do: grub-install --recheck /dev/sda it gives me this output: grub-...
1
vote
0answers
61 views

Udisks2, LUKS and btrfs

I just bought a portable USB HDD,on which i put 2 partitions : a LUKS one, which contains a btrfs fs and a fat32 one, in case I'd have to use a system which doesn't support LUKS or btrfs I use ...
1
vote
0answers
94 views

Encrypted boot drops to shell, how to set LVM crypttab consistently? 'ALERT! {logical volume path} does not exist'

I used Luks to encrypt my whole hard drive, and created that sda drive as a physical volume. Under that volume, I create a volume group vg00 with my 3 logical volumes lv00_root, lv01_home, and ...
1
vote
0answers
728 views

Grub cryptdevice with changing device names?

I feel this is a stupid question. I have an encrypted Arch setup (without LVM) were a single disk (sdc) contains an unencrypted boot partition and the encrypted root partition. Below the output of ...
1
vote
0answers
65 views

/etc/crypttab for anyusb?

On my LUKS-encrypted machine, I have edited my /etc/crypttab to inform the system that a keyfile is on a pendrive. I did this by adding a line in /etc/crypttab, using the UUID of my encrypted HDD, and ...
1
vote
0answers
335 views

Difference between cryptopts and crypttab

I'm setting up an encrypted root fs, which I've done before, but this time I'm using a PGP-encrypted keyfile with a symmetric password to familiarize myself with the process. There are two places ...
1
vote
0answers
174 views

How to create separate usr partition during arch install?

How do I modify and add the hooks needed in mkinitcpio to have a separate usr partition? Also, am I mounting the other partitions correctly? http://imgur.com/Rxt6o1g Basically I'm using UEFI with GPT,...
1
vote
0answers
177 views

Unlock LUKS volume without root access - how does that work?

It seems I am trying to do the same as the user who asked this question: Unlock LUKS partition using keyfile without root access? The answer from frostschutz explains that this is impossible. I am ...
1
vote
0answers
86 views

Automatically prompt to decrypt external LUKS filesystem in GNOME session?

I have a LUKS filesystem on a USB hard drive and I'd like to have the system generate a GUI prompt whenever the device is connected to the computer to provide the decryption password, then mount the ...
1
vote
0answers
42 views

opening old external encrypted partition: error

I have an encrypted hard disk with luks encryption. When I try to open it via: cryptsetup luksOpen /dev/sdc1 backup It prompts me for a password, but then errors out on me: device-mapper: ...
1
vote
0answers
27 views

Is there a distribution with an installer that can automatically do LVM over LUKS with everything aligned as needed?

http://www.void.gr/kargig/blog/2012/01/11/linux-ssd-partition-alignment-tips/ talks about aligning SSD partitions and LVM physical volumes. http://rainbow.chard.org/2013/01/30/how-to-align-partitions-...
1
vote
0answers
249 views

LUKS - changing passphrase with /dev/mapper/fedora-root

I would like to change my passphrase in LUKS, so I started with typing mount | grep 'on / '. The result was /dev/mapper/fedora-root on / type ext4 (rw,relatime,seclabel,data=ordered). So next as usual ...
1
vote
0answers
44 views

How do I encrypt the main partition of a SIFT (Ubuntu 9.10 variant) install?

I've got SIFT (based on Ubuntu 9.10) installed on a work laptop. We're trying to encrypt the entire installation (root partition and swap), which is apparently doable using LUKS, but I'm having some ...
0
votes
0answers
28 views

Booting via grub (Ubuntu) with encrypted LVM

I've been obliged to install Ubuntu with ~everything encrypted (not just the home partition). Machine is a laptop with a single drive (/dev/sda) which I've partitioned thus: /dev/sda1 = FAT32, ...
0
votes
0answers
13 views

Why is EXT4 on LUKS on MD-RAID6 not detected by openSUSE's YaST

For maximum control over the storage configuration I've got two MD-RAID6 devices pre-configured as follows from openSUSE's Rescue system before rebooting the computer into openSUSE's installation ...
0
votes
0answers
27 views

Changing Debian installer default parameters

I wanna change the default parameters used by the Debian installer, specifically dm-crypt's key size and KDF iterations. "twofish" + "xts-plain64" supports 512bit keys on ArchLinux, so I wanted to ...
0
votes
0answers
86 views

Can I make grub go back to the menu when I get the cryptomount passphrase wrong?

I have GRUB 2 (EFI) booting my system, which is dual-boot between Debian 8.2 and Windows 10. The Debian system is on an encrypted partition, which is unlocked using cryptomount. This all works fine ...
0
votes
0answers
74 views

Combine grub2 + GPT partition + LUKS + LVM (grub overwrites LUKS header)

I'm trying to configure system to boot from one GPT encrypted LVM partition. But when I set partition type to 8300 grub-install complains on warning : this GPT partition label contains no BIOS boot ...
0
votes
0answers
95 views

why can't I partition a LUKS mounted partition?

A CentOS 7 server has to have LUKS encryption for everything but /boot and /boot/efi. And the large LUKS encrypted remainder partition (1.8 TB) will then need to be partitioned further. I was able ...
0
votes
0answers
18 views

LVM Mapper can't be found

I'm getting the error below. If i write "lvm vgchange -ay", "exit" i can go on and system boots. But why is this happening? I don't want to write this commands EVERY boot. What can i do for this?
0
votes
0answers
39 views

Zenity, how to manage cryptsetup prompt?

With Zenity, I display a progressBar and install/config many stuff on a Linux Mint (Debian) computer. I had to avoid any prompt. But one step prompts Enter a passphrase:, this is cryptsetup ...
0
votes
0answers
229 views

Install Arch Linux when LVM on LUKS keyfile on USB and bootloader on USB

I am trying to install Arch Linux in the following way: LVM is installed on LUKS when the LUKS key is image stored on USB the bootloader is also on additional USB For some reason, even though I ...
0
votes
0answers
62 views

Recover LUKS file/container that was lost during accidental reformat?

I created a LUKS file and was using it to store family pictures as well as backups for my Linux system. It was on a 1TB external HD. I accidentally dd'd the HD with a Debian iso image. I panicked and ...
0
votes
0answers
431 views

Systemd config for later mounted encrypted volume with services working on it

Hi everyone, I am working on a Banana Pi with Arch Linux and i am currently trying to accomplish the following: After someone mounted the encrypted keyfiles for my external storage systemd shall use ...
0
votes
0answers
677 views

Problem installing ArchLinux on LVM on a LUKS setup via archboot

I've used archlinux before, and I've decided to have it enccrypted. I use BIOS. I used the latest vesion of archboot. I made an LUKS setup, then made lvm volume group and two ext4 partition in it for /...