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

learn more… | top users | synonyms

0
votes
0answers
4 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 passphrase and this ...
2
votes
1answer
20 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
0answers
28 views

Dual Boot Encryption (Windows 10 & Ubuntu 14.04 LTS) [on hold]

I've been struggling to find a dual boot encryption guide on-line that is up to date and was wondering if someone smart could point me in the right direction. I'm using a fairly common dual boot ...
0
votes
0answers
16 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
24 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
0answers
12 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
11 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 ...
-1
votes
0answers
27 views

Automounting non-root LUKS LVM on boot?

So using the following I made it so Ubuntu would not boot, although I was able to remedy this by booting into Ubuntu recovery, dropping to a root shell, and putting fstab back as it was: HOWTO: ...
0
votes
0answers
9 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) ...
1
vote
0answers
17 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
1answer
22 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 ...
0
votes
0answers
20 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 ...
0
votes
0answers
18 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
81 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: ...
0
votes
1answer
72 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 ...
0
votes
1answer
28 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
0answers
127 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 ...
1
vote
1answer
31 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
42 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 ...
0
votes
0answers
93 views

Slower than advertised SSD performance

I've just assembled new machine: Asrock AM1H-ITX, AMD 5350 with AES-NI, 8GB RAM, Samsung 850 EVO 120GB SSD Elementary OS based on Ubuntu 14.04 Advertised read/write of the SSD is something around ...
0
votes
1answer
32 views

How to chain Ubuntu bootloader with openSUSE bootloader with LUKS?

I have an openSUSE Tumbleweed setup in LUKS with LVMs on /dev/sda2, and the bootloader is stored in /dev/sda1. I would like to install Kubuntu 14.04 to a separate hard-drive (in this case /dev/sdc). ...
3
votes
1answer
96 views

LUKS encrypted device gone missing

The 2TB disk that I use as an encrypted backup, is now reported by Ubuntu as being just free space. The encryption was setup as a LUKS encrypted device. The output of sudo fdisk -l reports: Disk ...
0
votes
0answers
22 views

crypt luks disc full, ubuntu account unusable

the last time I logged in to my ubuntu account, it did complain of limited free space available (~25MB), and I added/upgraded some package which must have pushed free space to 0. I powered off the ...
0
votes
0answers
39 views

Restart after install taking 'forever'

I just installed Ubuntu 14.04.03 from a custom cd with just a couple extra programs plus firewall configuration. Before I started the install, I installed the system76 driver and nvidia graphics card ...
0
votes
0answers
33 views

After upgrading of a kernel from the **3.19.0-15** to the **3.19.0-26** it shows me color lines on boot

CPU: Intel Core i7-4770. GPU: NVIDIA Corporation GK104 [GeForce GTX 760] (rev a1). Ubuntu 15.04 with LVM on LUKS: sda 8:0 0 111,8G 0 disk ├─sda1 8:1 ...
0
votes
0answers
93 views

Xubuntu 15.04 post install encryption

I have just installed Xubuntu 15.04 with /boot, /root, /home and swap all on different partitions, however the out of the box installer only gave me the option to encrypt /home. I want to encrypt ...
2
votes
1answer
148 views

Getting “Disk /dev/sdX doesn't contain a valid partition table” on LUKS external drive

Wanting to make sure I'm doing this right. I get the warning on both /dev/sdX and "/dev/mapper/luks-xxxx-xx. . ." when I run fdisk -l. This is what I did to encrypt it: cryptsetup -y -v luksFormat ...
0
votes
0answers
115 views

LUKS + LVM at Install Time

I am trying to use the Ubuntu 14.04.3 LTS installer to create a disk layout that logically looks like this during installation: /dev/sad | +-- /dev/sda1 (/boot) | +-- /dev/sda2 (LUKS) ...
0
votes
1answer
56 views

How to change file text content only with Shell Script commands?

In a file, there is: sd5_crypt UUID=1337 none luks,discard I'd like to change it to: sd5_crypt UUID=1337 /dev/disk/by-label/MON_LABEL_ICI:/keyfile luks,keyscript=/lib/cryptsetup/scripts/passdev ...
0
votes
1answer
80 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 ...
3
votes
2answers
496 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: ...
0
votes
0answers
52 views

Problems to mount a crypto-luks in ubuntu

I have a drawback of novice person, I encrypt my hard drive with crypto - luks in ubuntu and now I can not access my data , I have tried everything I seen but always gives a different error , please ...
1
vote
2answers
60 views

Mask my Desktop for my ubuntu-based Wifi hotspot/router

I used Ubuntu to build a Wifi HotSpot. You can join the Wifi and access Internet. It is used in some area without lots of Internet access in Africa, Island and Greenland. Since we're responsible for ...
0
votes
0answers
87 views

LUKS encrypted: 2 keys, a passphrase and a keyfile, how to priorize keyfile?

I have installed Linux the LUKS way. I provided the passphrase. Later, I made a keyfile (with a random key) and added it to /etc/crypttab specifying its path. I get something like: # <target ...
2
votes
1answer
102 views

Boot folder on external USB pendrive, how to boot to?

My machine is LUKS-encrypted and boot works a charm (asking the passphrase at launch). I want to use a keyfile on a USB pendrive, thus the user has a dongle that the user must plug to launch Linux ...
0
votes
0answers
27 views

boot folder on my USB pendrive

I copied my boot folder onto a USB pendrive. (My FS is LUKS encrypted, I put the keyfile on the dongle, I want the pendrive to be plugged if a user wants to use the machine) I did it: put whole ...
0
votes
0answers
75 views

LUKS encryption + USB dongle keyfile = if not plugged, disallow passphrase prompt?

My laptop is LUKS-encrypted. I put boot & keyfile on a USB dongle: if the dongle is not plugged at boot, you cannot enter linux. But when I dont plug the USB dongle (which contain the keyfile), ...
0
votes
0answers
69 views

Nested crypto(luks) partitioning in ubuntu preseed

It is easy to define nested luks partitioning in ubuntu environment using following commands cryptsetup luksFormat /dev/sda(i) {entering passphrase: xxxxx} cryptsetup luksOpen /dev/sda(i) some_name1 ...
0
votes
0answers
56 views

mount encrypted disk with right permissions

I encrypted an external drive on my desktop computer, and I can conveniently mount/unmount it from Nautilus just entering the password. The problem is that when I mount it on my notebook (from ...
0
votes
0answers
107 views

LUKS encryption, switch from passphrase to keyfile

Using LUKS encryption, I set it during the Ubuntu installation. I entered a passphrase. But now I want to use a keyfile and I dont manage to find the right process to. How can I make the switch ...
3
votes
1answer
279 views

LUKS encryption, header on a dongle USBdrive?

I am going to install Linux the LUKS/LVM way, in order to have an encrypted disk. In addition, I would like to put the header and passphrase in a USB Key. Thus, instead of entering the passphrase, I ...
2
votes
1answer
204 views

cryptsetup luksAddKey throwing 'Maximum keyfile size exceeded' error - fix? 14.04

I am attempting to add a homekey entry to my /etc/crypttab in order to prevent entering a 3rd pass upon login on a 14.04 install w/ LUKS (root/swap/home). When I attempt to add the key using ...
0
votes
0answers
48 views

Unlocking at boot time Luks LVM

This is my first question, but let me start by saying how much of a big fan I am up this site. Every question I ever had over the last 4 years has been answered here and I am so grateful for the help ...
0
votes
2answers
1k views

Mounting encrypted LUKS partition from Live CD

Error to begin with, can't boot I had to do a hard reboot of my computer, and when booting up it (initramfs I think) gave an error: mount: mounting /dev/mapper/ubuntu--vg-root on /root failed: ...
0
votes
0answers
132 views

Unlocking luks encrypted partition automatically Ubuntu 14.04

I've been trying to resolve an issue unlocking a luks encrypted partition on boot using Ubuntu 14.04. I've set it up to automatically unlock after the root partition's password has been entered by ...
0
votes
1answer
324 views

Mount external hard drive with LUKS Encryption + LVM

I recently switched to a bigger Hard Drive by running dd if=/dev/old of=/dev/new However now I am trying to get some files that changed after copying, so I connected the old Hard Drive over USB. The ...
1
vote
0answers
42 views

Thunderbird Profile on LUKS Encrypted flash drive not working

I want to store my Thunderbird profile on an encrypted USB flash drive and run it from there because I often switch between two computers with identical setups: Ubuntu 14.04 with the same user ...
0
votes
0answers
23 views

How do I encrypt my HDD and combine with my other encrpted HDD

I am trying to combine 2 HDD's. One of them is already encrypted and is my boot drive. The other one is not encrypted and Linux doesn't see it as more disk space. Could someone explain me how to do ...
1
vote
0answers
43 views

LUKS partition lost?

I'm starting to getting desperate about a partition encrypted with LUKS which is not recognized anymore. Here's what happend: Tried to resize partitions on sdb5 (lvm1 in crypt-container1). Made a ...
0
votes
0answers
155 views

Can't mount encrypted usb stick

I had a truecrypt encrypted usb stick, which I decided to reencrypt in LUKS through disk-utilities. I encrypted it, tested if I can mount it and put all my files on it. However, after a reboot I can't ...