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

learn more… | top users | synonyms

0
votes
1answer
13 views

Ubuntu 16.04 LUKS passcode does not appear

I installed an encrypted version of Ubuntu on my PC. If I start my computer appears this login screen: I'm unable to type in the passcode. Nothing appears. Also if I type in the correct passcode and ...
12
votes
4answers
35k 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 ...
3
votes
0answers
43 views

Why does Ubuntu's full disk encryption require no time?

As far as I understand, the "Encrypt the new Ubuntu installation for security" option in the Ubuntu installer is meant to provide full disk encryption. However, when using that option, it seems like ...
0
votes
1answer
40 views

Ubuntu16.04 suddenly boots to a text-only (initramfs) prompt, restoring superblock doesn't fix it

So I thought I had faced the typical problem of getting a superblock corrupted (which I think happened because of an intended hard/unclean reboot). However after following the guide in the first ...
4
votes
2answers
2k views

How do I get dropbear to actually work with initramfs?

Bounty Bounty Bounty Bounty! So I'm trying to unlock a headless server running an encrypted version of Ubuntu 14.04. It is a virgin 14.04.2 install with all updates as of writing. I went thtrough ...
0
votes
0answers
51 views

Can initramfs mount multiple partitions?

We're using dm-crypt to encrypt a data disk and would like to use Mandos to facilitate unattended boot. Unfortunately, I'm to understand that: Mandos depends on the keyscript feautre of crypttab, ...
0
votes
0answers
14 views

Ubuntu not showing LUKS Encrypted SD card anywhere

I am running Ubuntu 16.04 LTS, and wanted to encrypt a new sd card for keeping my files safe and private. I used the built in disks tool to format it to LUKS format, and set the password and ...
0
votes
1answer
16 views

How to mount a luks encrypted partition at boot

I have been given a task to creat a LUKS encrypted partition and then mount it, here are the steps I followed: 1. Create partition for encrytion: sudo fdisk /dev/sda 2. Reboot 3. Format the ...
0
votes
2answers
123 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
2answers
713 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
18 views

LVM encrypted LUKS on SSD - issue reverting to snapshots

Ubuntu 14.04.4 LTS SSD is only drive (/dev/sda) /dev/sda1 is boot partition /dev/sda5 is encrypted LUKS partition logical volumes sit on top of the LUKS partition Reverting to snapshots seems to ...
0
votes
1answer
17 views

My file system in gparted says crypt-luks is not mounted, could this be effecting my wifi prob?

How can I fix this dilemma and will this fix my wifi driver problem as well? Maybe? It says in the warning box 'Linux Unified Key Setup encryption is not yet supported.'
1
vote
1answer
34 views

When is LUKS encrypting my data?

Assuming I have a partition encrypted with LUKS, which I mount and read from and write to. My question is when is the data encrypted? When I write it or when I unmount the partition? Also, what ...
0
votes
1answer
53 views

How to get Plymouth working with LUKS encryption after NVIDIA driver installation?

When I first set my computer up with LUKS encryption, during boot, right after Grub2, Plymouth takes over and you get a nice graphical screen with the prompt to enter the passphrase. And that screens ...
0
votes
2answers
106 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
2answers
54 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 ...
3
votes
2answers
7k views

GRUB2 failed with 'No video mode activated'

I've installed Ubuntu-Alternate 11.04 to use the encrypted feature. All works fine, but rebooting the system ended up in an error-message: Error: No video mode activated' Reading some threads I ...
0
votes
0answers
75 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
10 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
1answer
222 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
63 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
38 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
69 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
0answers
45 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 ...
2
votes
2answers
2k views

Encrypting a non-linux partition with LUKS

I have a non-Linux partition I want to encrypt with LUKS. The goal is to be able to store it by itself on a device without Linux and access it from the device when needed with an Ubuntu Live CD. I ...
1
vote
1answer
774 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 ...
6
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
51 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 ...
12
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
879 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 ...
11
votes
4answers
11k 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
151 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
0answers
42 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
17 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
32 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
1k 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
446 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
167 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
22 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
47 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
128 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
419 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 ...
16
votes
4answers
20k 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 /mnt/hdd....
30
votes
1answer
27k 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
55 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 ...