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

learn more… | top users | synonyms

1
vote
1answer
731 views

How to resize a LUKS partition by moving its start?

I have a LUKS partition (sdb2) on a drive which previously contained another Partition (sdb1). Now that I deleted sdb1, I want sdb2 to use this space, too. All tutorials I could find seem to depend ...
5
votes
2answers
1k views

How do I hide / remove a partition from the Nautilus left panel?

I have a luks setup with encrypted partition. And I don't want everyone on my computer to see that I have such partition. Unfortunately it shows up in the nautilus "devices" panel as "Encrypted ...
0
votes
1answer
23 views

Black screen after grub or at reboot with LUKS encryption

I know this subject was already treated, and I found a "fix" to bypass this black screen thanks to this answer (LUKS encyption part): My computer boots to a black screen, what options do I have to fix ...
11
votes
2answers
5k views

Yubikey Two-factor Authentication Full-disk Encryption via LUKS

I recently acquired a Yubikey Neo - a nifty little hardware second factor authentication device. It's primarily intended for use with One Time Passwords, and the emerging U2F protocol - but since ...
4
votes
3answers
751 views

What is the proper way to install Ubuntu 15.04 with LVM, LUKS, and manual partitioning?

I am trying to install Xubuntu 15.04 with LVM and LUKS, manually partitioning in order to have a separate /home partition. So far I have booted the Xubuntu live CD and went through these steps: ...
9
votes
1answer
3k views

Are there any known vulnerabilities to Ubuntu's full disk encryption feature?

Are there any known vulnerabilities to Ubuntu's full disk encryption feature? I have some storage devices (thumbdrive and a few external hard drives used for backups) that I use with full disk ...
9
votes
4answers
10k 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 ...
-1
votes
1answer
69 views

Lubuntu hangs on blue screen, but not when using VirtualBox

I have a multi disk system. One disk is Windows 10, the other Ubuntu 16.04. When using Windows 10, I often boot the Ubuntu disk using VirtualBox's "physical disk" option on a VM. I installed ...
0
votes
0answers
34 views

Freshly installed Ubuntu boots into initramfs

a few days ago I installed Linux Mint but had no luck getting wifi working so I switched over to Kubuntu. Everything was working fine and finally after some days of tweaking I had everything setup ...
0
votes
0answers
12 views

Convert UEFI to legacy on encrypted disk

I've installed Xubuntu 16.04 with ticking the box "encrypt whole system" (basically LUKS on an LVM) with UEFI boot loader. Now I would like to switch to legacy booting. How can I reconfigure (?) GRUB ...
0
votes
2answers
61 views

Recovering an Encrypted Home Partition Overwritten by LUKS

After aborting a recent installation attempt of Ubuntu 16.04 (which I've since installed without a separate home partition), I discovered that my existing encrypted home partition is no longer ...
2
votes
0answers
26 views

Ubuntu saying “Volume group ubuntu-vg not present” before prompting for password

Ubuntu 16.04 isn't prompting for my luks password. I pressed ctrl+alt+F1, and the output says "Volume group ubuntu-vg not present." Of course not! I haven't been asked for my password! ubuntu-vg ...
0
votes
1answer
890 views

How to resize a crypt-luks partition that takes all hard drive?

I want to shrink the partition to be able to install a windows OS, but i installed ubuntu 15.04 with encryption of the logical volume, gparted doesn't support crypt-luks so what do i do?
0
votes
2answers
2k views

How to reinstall kernels after accidental deletion with a separate boot partition and an encrypted LVM volume?

My installation is a Ubuntu 12.04 64 bits (Classic "legacy" MBR - No EFI/UEFI here) with two partition : A separate boot partition An encrypted LUKS volume that contains the system Logical Volumes ...
6
votes
1answer
5k views

how to mount / with encrypted lvm root during installation?

In order to understand Linux better, I'm trying to manually configure an encrypted root lvm partition . I have already tried this with the Ubuntu server installer by choosing the lvm encrypted option ...
0
votes
4answers
8k 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 ...
1
vote
1answer
427 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 ...
103
votes
1answer
5k views

How do I enable Ubuntu (using full disk encryption) to call LUKSsupend before sleeping/suspending to RAM?

This question is related to another one by @Stefan, but it is not a duplicate of it. The questions are slightly different: the author simply wanted to know if this had been implemented, while I'm ...
1
vote
1answer
154 views

Change the default option to “Forget password immediately” when mounting a Luks usb drive

I would like to do exactly what this poster wants to do: When a LUKS encrypted partition pops up the unlock window it gives 3 options for how to remember the password. The "Remember password ...
0
votes
0answers
17 views

Enlarging luks partition

I'm getting new SSD disk soon and want to dd my old disk to new one. My disk is fully encrypted and using LVM. My new disk will be twice ad big as I have now. I was wondering how to use remaining ...
0
votes
0answers
34 views

Unable to mount encrypted drive at boot time

I am no longer able convince OS to ask me the password of encrypted drive at boot time. The drive in question is at /dev/sdb1 I had it working when I had 32 bit 14.04 installed. I did change the os ...
0
votes
1answer
87 views

Mount LUKS encrypted hard drive at boot (luks key stored in HOME folder which is encrypted by ecryptfs)

This question is regarding the one raised at: Mount LUKS encrypted hard drive at boot I have added my key to home folder and all works as a charm. Thanks guys! However I would like to better ...
1
vote
0answers
302 views

Can't enter password for luks disk encryption after nvidia drivers installed

I've just done a fresh install of 15.10. After installing the nvidia drivers for my quadro 600, I was able to improve the tty resolution by setting: GRUB_GFXMODE=1024x768 GRUB_GFXPAYLOAD_LINUX=keep ...
14
votes
4answers
19k 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 ...
29
votes
1answer
25k 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 ...
1
vote
1answer
45 views

Cloning full-disc-encrypted system unencryptedly onto new disc

Essentially, I'm following this answer to clone the unencrypted content of a system with full-disc encryption to a new (smaller) SSD, from a live stick. I thought that would just consist of mapping ...
1
vote
0answers
49 views

LVM & LUKS manual partitioned but issues with loader/init/grub

I've had some success with manually partitioning and installing LVM & LUKs. The partitions are created - home, root, swap and boot, the pv and vg's were all created and set up correctly. I ...
0
votes
0answers
143 views

Error booting into new kernel?

I cloned the Git tree of the mainline Linux Kernel and compiled it(version 4.5.0-rc1). After compiling with default configuration (make defconfig) I installed it. In the grub menu I can select this ...
0
votes
0answers
34 views

Installing Ubuntu 14.04 along side Win 8 on an encrypted LVM partition without an alternate CD

I wanted to set up an encrypted Linux partition along side Win8 with separate root, home and swap. I read that to retain hibernate I needed to encrypt all three partitions with one pass-phrase and ...
3
votes
1answer
53 views

How do I render Ubuntu unusable by deleting the full disk encryption key?

I have an old computer that I'm ready to get rid of that has been encrypted using LUKS full disk encryption. Is it possible to delete the encryption key from the LUKS metadata so that nobody will ever ...
0
votes
1answer
1k views

Encrypted filesystem shared with Mac OS X

Is there a reliable encrypted filesystem that works under both Mac OS X and Linux? It need not be the boot partition for either Linux or Mac OS X, but I'd like stable reads and writes if possible. ...
0
votes
0answers
83 views

Grub repair for encrypted disk

I previously had Kubutu (14.04 i think) installed with an cryptoLuks encrypted hard disk. I have been trying to install 15.04 on the same drive. The install went ok with no errors but I wasn't able to ...
0
votes
0answers
36 views

LUKS Partition labeled as “Unknown”

I wanted to downsize my LUKS partition for a Windows installation. I followed this tutorial, and after rebooting my Ubuntu installation, It just shows the Ubuntu 15.10 logo without prompting me to ...
1
vote
1answer
114 views

How to disable “Remember forever” option in mounting encrypted disks

Whenever you mount an LUKS encrypted disk, Ubuntu gives you 3 options: Forget immediately Remember for this session Remember forever I wanted to know how to reset this choice after choosing the ...
1
vote
0answers
61 views

Issue dismounting LVM on LUKS system when initial live-USB isn't present

I am having a rather peculiar problem with the Ubuntu half of my system. The TL;DR is that I have Ubuntu 14.04 using an LVM on LUKS setup. /boot lives on an unencrypted partition (/sda3) while swap ...
0
votes
0answers
13 views

Server can't start after SWAP encryption

I'am using an encrypted/server with Dropbear SSH to enter my key. I would like to encrypt SWAP partition in that way : fdisk -l Device Boot Start End Sectors Size Id Type /dev/sda1 ...
0
votes
1answer
121 views

Opening encrypted disk at boot using crypttab and decrypt_gnupg doesn't work

I have a Volume that is encrypted with a GnuPG pass phrase encrypted key. I can open it, using manual commands, like this: gpg -d key.gpg | cryptsetup luksOpen /dev/sdb2 cryptvolume This works ...
0
votes
0answers
23 views

Wrong disk usage reporting in file manage on luks volume, correct on command line

When I mount a Luks encrypted volume (by selecting it in the file manager and providing a password), the disk usage reported in the file manager (when right clicking and opening the properties dialog) ...
0
votes
1answer
43 views

second hard drive, encrypted (LUKS, but mounts separately)

I have two storage devices in my machine. When I installed ubuntu, it offered to format the SSD and install to it, which was what I wanted. I didn't offer to do anything with the second. Fair ...
1
vote
0answers
28 views

How to change “Device” identifier displayed in System Monitor?

System Monitor displays a list of mounted "Devices" under the "File System" tab. I would like to change the identifier that is associated with a "Device" listed in System Monitor. How can this be ...
0
votes
0answers
44 views

What is wrong with LUKS and kernel 4.2.0-19-generic?

My HDD is encrypted using LUKS. It asks for password at boot time. I had to reboot after a crash and I believe I was using kernel 4.2.0-18 from 15.10. When rebooting it tried to boot on the latest ...
1
vote
1answer
8k views

How to encrypt full disk after installing?

I found that we can encrypt full disk with old version of Ubuntu. I want to do the same with Ubuntu 12.10 but I don't understand the scripts that run when starting with initramfs. So anyone is ever ...
0
votes
0answers
27 views

Unable to decrypt two luks volumes post hardware change, simple mistake?

So here's the story I have an Acer R7 which I installed a 120gb evo 840 msata running Ubuntu 14.04 leaving the stock hard drive alone for the time being. In a bit of a rush for some storage space, ...
0
votes
1answer
217 views

cryptsetup: Cannot wipe header on device

I am trying to encrypt an external hard drive on Ubuntu 14.04 followig this guide. I started by formatting to ext4: $ sudo mkfs.ext4 /dev/sde1 mke2fs 1.42.9 (4-Feb-2014) Filesystem label= OS type: ...
2
votes
3answers
6k views

How do I get Grub2 to boot a Truecrypt-encrypted MBR?

Given the following system: /dev/sda1 Windows, encrypted using TrueCrypt /dev/sda2 /boot /dev/sda3 /, encrypted (LUKS or how it is called) I now need GRUB2 to boot my truecrypt mbr ): Any hint on ...
11
votes
4answers
32k 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
1answer
415 views

Resizing LUKS partition when not using LVM

I previously had two partitions on my hard disk, /dev/sdb1 and /dev/sdb2. sdb1 was unencrypted and sdb2 is encrypted with LUKS. I deleted sdb1 and would now like to resize sdb2 to take the space ...
1
vote
1answer
43 views

Any chance of repairing a broken LUKS encrypted SD?

Is there any way of repairing a broken LUKS encrypted SD card? When I try to mount under Ubuntu Gnome 14.04 in Nautilus, it gives me this error message: Error mounting /dev/dm-1 at ...
0
votes
1answer
44 views

Let LVM+LUKS volume grow over new drive or RAID?

I would like to extend the storage capacity on my Ubuntu server by adding more drives. I'm currently using LVM+LUKS on my server so I'm having some difficulty understanding how I may add my new ...
0
votes
1answer
77 views

How to mount LUKS encrypted drive of old system with same VGname

I have two drives, an older and a newer one, both of which contain systems set up using Mint/Ubuntu with full disk encryption. I want to mount the older one on the newer one to copy some of my old ...