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

learn more… | top users | synonyms

0
votes
2answers
37 views

How safe is luks?

I constantly think about encryption, and how safe it might be. The general information I have tends to be secured by passwords that range in the hundreds with random key combinations in between random ...
0
votes
0answers
43 views

Custom encrypted partitions using 16.04

I have installed Ubuntu 16.04 Desktop using this guide. I have an unencrypted boot partition and a separate LVM partition which contains my root, home and swap partitions. If I boot from a live USB, I ...
0
votes
0answers
7 views

Migrate crypt-luks disk with also encrypted home

I have Ubuntu 14.04.4 on my machine and used crypt-luks to encrypt the harddisk. Plus (I now know that was not the best idea) my encrypted home-directory. I now bought an additional SSD drive and ...
0
votes
2answers
52 views

14.04.3 LTS + xenial kernel upgrade + nvme SSD - won't boot

I have a 14.04.3 LTS system that won't boot after upgrading to 4.4.0-24 kernel (xenial kernel image packages). It has an NVME SSD, and with the 4.4 series kernel, it can't seem to see the NVME. The ...
0
votes
1answer
115 views

Won't boot (drop to busybox) after kernel upgrade (with encrypted disks)

I have two systems - a 14.04.03 LTS and 16.04 LTS, both of which are not booting after recent kernel upgrades. Any help would be appreciated - I'm no expert, but it seems to me like the new kernel ...
0
votes
0answers
50 views

Encrypted drive boot failure - root and/boot not mounted

I've got an Ubuntu 14.04 system with two LUKS encrypted disks fortuantely the older disk is bootable, because as of today the newer one isn't. After some updates, including initramfs-tools, boot now ...
0
votes
0answers
33 views

No free space on luks encrypted disk - Ubuntu 16.04 LTS

disk properties Hello, As you can see in the screen shot, even though I have free disk-space, I still can't copy files to the disk, if I do, I get "disk is full" message. "df" command shows the ...
0
votes
0answers
32 views

Open LUKS encrypted disk with only password

My PC has 2 disks: SSD: Ubuntu with LUKS encryption HDD: My files with LUKS encryption (same password) I installed new Ubuntu on SSD and now I want to open my HDD in it but when I enter password ...
0
votes
0answers
37 views

Can't boot into ubuntu with LUKS. System hangs at “cryptsetup: sda5_crypt set up successfully”"

I've looked at a couple methods but this is all new territory for me. Workflow: I boot up my machine, then I'm asked for my pass phrase, I successfully enter it and I get the "cryptsetup: sda5_crypt ...
0
votes
1answer
38 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 ...
0
votes
0answers
40 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
15 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 ...
2
votes
0answers
30 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 ...
-1
votes
1answer
113 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 Lubuntu-...
0
votes
2answers
96 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 ...
0
votes
0answers
21 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
38 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
106 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
55 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
148 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 ...
1
vote
1answer
49 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 ...
0
votes
0answers
36 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
62 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
89 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
38 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
71 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
14 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
0answers
27 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
30 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 done?...
0
votes
1answer
48 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
47 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
30 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
274 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
2answers
581 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
63 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 ...
1
vote
0answers
354 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
48 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 /media/adrian/...
0
votes
1answer
89 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
155 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
40 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
232 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
28 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
54 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
37 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
147 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
213 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 /...
1
vote
0answers
205 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
85 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
129 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 ...
4
votes
3answers
797 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: ...