All questions relating to LUKS (the disk-encryption specification) for Linux

learn more… | top users | synonyms

2
votes
5answers
749 views

encrypted 13.10 will not reliably boot

EDIT: SOLVED! see http://askubuntu.com/a/403876/212688 i re-installed ubuntu 13.10 x64 on my vaio pro, in legacy, bios mode. the installation is lvm/luks encrypted and thus asks me for the encryption ...
1
vote
1answer
260 views

How to update cryptsetup till version 1.6.1?

Hello current version of cryptsetup is not capable working with truecrypt partitions. Versions after 1.5.x are capable.(http://code.google.com/p/cryptsetup/wiki/Cryptsetup160) So here is the latest ...
0
votes
2answers
2k views

mounting logical volume from .img containing a luks encrypted volume group

I'm having some trouble restoring a back-up I made of a encrypted filesystem. The back-up is a .img file containing a single disc partition. This partition is a luks container in which a logical ...
7
votes
2answers
726 views

Suspend to RAM and encrypted partitions

Normally I don't shutdown my notebook any more in favour of using suspend-to-RAM. The downside is that my encrypted home partition is completely accessible after resume without entering the ...
26
votes
0answers
921 views

How do I enable Ubuntu to suspend the machine using LUKSsuspend during sleep/hibernate

I'm on Ubuntu 14.04 using full disk encryption (LVM on top of LUKS). I would like to incorporate luksSuspend into the suspend procedure (and later use luksResume) so that I can suspend to RAM without ...
-1
votes
0answers
25 views

Encrypted lvm partition not accessible

I had Fedora installed on a LVM & had my /home & another file systems in it encrypted. ( i remember the passwords but forgot the cipher protocol used ) I installed Ubuntu without ...
1
vote
1answer
32 views

LUKS hdd encryption: Maximum maximum password length?

Is there any maximum lenght of the passphrase in the hardrive encryption option on ubuntu (luks)?
-1
votes
1answer
39 views

Luks Disk Encryption

I have setup disk encryption with 'LUKS' and configure it to auto mount when the system boots up. So now as it supposed, it prompts me a passphrase when the system boots up. If i enter the correct ...
0
votes
0answers
31 views

Password to unlock LUKS volume requested multiple times even after correct password is given

Please help! There is win7 on separate logical volume. Then installed Ubuntu on a encrypted LVM (it is contains of two encrypted PV's). Everything's fine, but LUKS password asked for 5-8 times when ...
2
votes
0answers
125 views

Add second disk to encrypted laptop [duplicate]

I have installed cleanly 14.04 AMD64 onto my laptop which has two (SSD) disks. I used the default install with full disk encryption option on the first disk. However I'd now like to add a second disk ...
7
votes
3answers
10k views

Can I disable full-disk encryption?

I recently installed Ubuntu 12.10 and it requires a passphrase to boot up (I installed it with an encrypted file system). Do I have to reinstall to change to a standard unencrypted file system?
6
votes
3answers
9k views

How secure is an encrypted LUKS filesystem?

I recently installed 11.10 on a fresh disk using entire disk encryption. Can someone tell me how secure the encryption algorithm is? Has there been any recent breaches with said algorithm? I use a ...
0
votes
0answers
27 views

Unable to log in after full disk encryption + separate Encfs encryption of home directory

I followed this (german) guide to set up an encrypted ubuntu system. However I wanted to have my home directory on a separate disk and also encrypted, but using encfs. So I chose a partition on ...
0
votes
0answers
17 views

How to mount encrypted home directory in an encrypted LVM with username/password

I mounted the LVM to ~/recover The private home folder is now here ~/recover/home/eshwar$Access-Your-Private-Data.desktop I tried ecryptfs-recover-private but it appears that the login passphrase is ...
0
votes
1answer
82 views

No Swap Partition!

I'm in dire need of help. My system has become incredibly laggy and hardly usable. I have realised that this is because for some reason I'm running without virtual memory (this is not intentional). ...
0
votes
1answer
64 views

Creating a swap partition on an SSD with full encryption

Much to my surprise I recently found myself to lack a swap partition. Since (as is evident from the output of df, which I hereby repost) that I am running off a single encrypted volume, I was ...
1
vote
1answer
82 views

Dual boot w/ UEFI and LUKS - What do I need to know/do?

I want to rebuild my mobile workstation (HP EliteBook 8560w) to dual boot CentOS 6.5 and Ubuntu 14.01LTS. I would like to protect both instances with LUKS. In my research I have come across a few ...
2
votes
1answer
80 views

Expanding an encrypted xfs volume

I am working on expanding a currently attached volume to one of my Ubuntu Amazon AWS servers, but I am having some problems. I already created a new volume from a snapshot, then attached the newly ...
2
votes
3answers
802 views

Cannot mount LUKS encrypted USB on boot after 12.10 upgrade

I use a USB disk to backup my Ubuntu machine and store the video files I work with. It is formated to ext4 and uses LUKS encription. When I was using 12.04 it was working flawlessly and would mount ...
1
vote
1answer
46 views

Encryption of hard disk [closed]

Is it possible to encrypt the hard disk without formatting in ubuntu. if yes so,please tell me with full description.
0
votes
0answers
65 views

how to decrypt a LUKS partition?

i checked the LUKS encryption while installing ubuntu 14.4. now i cant access windows partition. how can i decrypt that? i tried cryptsetup luksRemoveKey it just removed the key itself. is it even ...
0
votes
0answers
124 views

How to make luks partition auto-mounted at start-up?

What I have: 1st HDD (/dev/sda) with luks crypt partition (/dev/sda5) with LVM in it (/dev/mapper/sda5_crypt). LVM contains system root (/dev/mapper/TS1--vg-root) and swap ...
0
votes
0answers
64 views

Open multiple LUKS partitions at boot

I have a setup where I have 4 LUKS partitions that need to be mounted at boot time in order to assemble a RAID10 btrfs partition holding the root partition of my system. I was able to finalize the ...
4
votes
4answers
3k views

How to check if TRIM is working for an encrypted volume?

You can easily check if TRIM works for a "normal" ext4 partition: http://askubuntu.com/a/19480/5920. How to do that for a LUKS-encrypted one? Let's assume the default LUKS setup made by 12.04 ...
12
votes
1answer
10k views

How can I install Ubuntu encrypted with LUKS with dual-boot?

Ubuntu 13.04 installation disk has an option to install Ubuntu encrypted using LUKS. However, there is no option to perform an encrypted installation along-side existing partitions for a dual-boot ...
2
votes
0answers
625 views

ubuntu 14.04 not booting, update-initramfs “nothing to do, exiting”

I did a mess while installing ubuntu 14.04 on my XPS 15 (9530 haswell) and I need help to rebuild boot partition. My computer has one miniSATA SSD 32 GB and a 1TB HDD. I crypted both with LUKS with ...
0
votes
1answer
51 views

Cannot mount partition with cryptsetup

I have a spare drive. I've attempted to format it and encrypt it. But even though the process appears to succeed and I can open the crypt, I cannot mount the newly mapped device. Here is the output of ...
2
votes
0answers
392 views

Mount LUKS encrypted hard drive at boot

I have Xubuntu 14.04 on a SSD device (the HOME was encrypted correctly during intallation), additionally I have a HDD with a encrypted partition with extra data which I would like to mount in ...
0
votes
0answers
65 views

How to fully encryped ubuntu on the Beaglebone Black

... or at least access LUKS partitions from a unencrypted system. In the past my BBB crashed during file copying on encryted SDHC that actually did mount. In the later versions from ...
0
votes
0answers
12 views

Different behavior of 2 encrypted LVMs

recently i created ext4 on top of luks on top of lvm. about 20gb. i also have similar configuration (900gb) created long time ago - i don't remember how exactly i created it. both are not mounted on ...
8
votes
3answers
16k views

How to change LUKS passphrase?

Having installed Ubuntu 11.10 with whole disk encryption and LVM, I need to provide a way for users to easily change LUKS passphrase. Preferably, this should be done using GUI tools, thus, enabling ...
0
votes
0answers
92 views

cryptsetup-encrypted disks failing after restart (mb solved?)

I am using cryptsetup/luks (ETA: On 12.04) to encrypt partitions on external hard drives. Several times now, I've had disks fail to mount after an apparently normal restart (often a kernel upgrade, ...
0
votes
0answers
239 views

Unlocking Encrypted Root (LUKS on LVM) with “hidden” USB Keyfile

I have a Ubuntu Server 13.10 machine. Its root partition is encrypted with LUKS, which is then stored in a logical volume. On boot, the LV is mounted and then cryptsetup requests my passphrase; once ...
0
votes
1answer
215 views

LUKS and LVM install: no boot (gave up waiting for root device)

I just finished installing 12.04 on my system, configuring it with LUKS and LVM. I can open the encrypted position just fine in a recovery disk, but I just can't seem to get it to boot. It waits ...
1
vote
1answer
356 views

Cannot mount encrypted LUKS drive with “x-gvfs-show” option

I've used Linux Mint 16 Petra's Disks utility to format my external drive as an encrypted LUKS ext4 partition. The problem is that I can't mount it if I use the option "Show in user interface", that ...
1
vote
0answers
191 views

“No key available with this passphrase”

Error unlocking /dev/sdc1: Command-line `cryptsetup luksOpen "/dev/sdc1" "luks-a4726230-7903-4378-b7bc-c87472426a5f" ' exited with non-zero exit status 2: No key available with this passphrase. This ...
1
vote
0answers
1k views

device-mapper: remove ioctl on luks-xxxx failed: Device or resource busy

While I was away from my computer, my encrypted USB drive got accidentally unmounted somehow (although it was still physically connected at the time). I haven't been able to recover (haven't tried a ...
0
votes
2answers
1k views

Encrypted disk won't unlock anymore: Not authorized to perform operation (udisks-error-quark, 4)

In 2012 I used Ubuntu's gnome-disks utility to encrypt an external drive. Last year I was still being able to unlock it. But today I tried again on Ubuntu 2012.04 and gnome-disks says: Error ...
0
votes
1answer
46 views

How can I hide encrypted volumes from Unity users?

Basically I want to make sure that users cannot mount or attempt to decrypt and mount local volumes. I figured for unencrypted volumes it is sufficient to create a noauto fstab entry that points to a ...
0
votes
0answers
276 views

luksFormart error Failed to setup dm-crypt key mapping for device

I'm trying to format a disk with LUKS and when I try the command cryptsetup luksFormat /dev/loop0 I put the passphrase and then this error message appear: device-mapper: reload ioctl on failed: ...
1
vote
0answers
94 views

LUKS decryption step missing during boot after upgrade

I upgraded my 12.10 installation that was residing on an LUKS encrypted EXT4 root partition. I did that with the 13.10 Iso standard on a DVD. I booted into the Test System, successfully mounted the ...
1
vote
1answer
75 views

/etc/crypttab timout option

I have created an encrypted flash drive named 'LUKSFlash'. I have tested with the following: $ sudo cryptdisks_start LUKSFlash /dev/mapper/LUKSFlash now exists $ sudo cryptdisks_stop ...
0
votes
0answers
80 views

cryptsetup passphrase prompt disappears too quickly (LUKS)

My problem is the passphrase prompt at boot (which is set up by cryptsetup) is disappearing too quickly. During boot the passphrase prompt is displayed for about 5 seconds and then the console ...
0
votes
1answer
765 views

cryptsetup luksAddKey pipe

I hope this is the correct place to make this question. Anyway... I was trying to create a script to add a passphrase by piping it to the command luksAddKey with a script. When i try to pipe the "old" ...
7
votes
2answers
10k views

How to configure LVM & LUKS to autodecrypt partition?

I have recently installed ubuntu server 11.04 with the full lvm encryption(installed from the setup) . I wish now to use a key file to do automatic unlock. I have tried to follow this guide ...
10
votes
2answers
1k views

How do I get passwords from the keyring in the terminal for usage in scripts?

When you have a LUKS encrypted drive in your computer, Nautilus or Nemo will show it under Devices as a drive with a little lock on it. When you click it, you need to enter a password. If you choose ...
0
votes
1answer
383 views

Terrible Luks/dm-crypt performance on 13.10 (Asus Zenbook, SSD, AES-NI supported)

I have a Laptop (Asus Zenbook UX31A) with 124GB SSD. I installed Ubuntu on a encrypted partition and started facing moments of temporary or permanent unresponsiveness. I suspected I/O and did some ...
1
vote
2answers
287 views

Can I add LUKS/LVM to an already installed Ubuntu system?

I know how to install a LUKS/LVM Ubuntu system using the alternative CD. Is it possible to do this with an already installed normal system? Meaning that I have an unecrypted system now and don't want ...
2
votes
1answer
165 views

Merge LUKS-partition with partition on another HDD

I just bought a 2 TB hard disk because the home partition on the old one is almost full. What I want to do is to extend the home partition on hard disk 1 (sda2) to also include all the space on the ...
0
votes
0answers
37 views

Lost encrpytion passphrase for external HD

So I encrypted my external HD using the "LUKS + Ext4" type on ubuntu 13.04, on this computer and on this account, a couple of weeks ago. I know the point of encryption is that you cannot retrieve the ...