Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [luks]

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

0
votes
0answers
22 views

How can Ubuntu 16.04 LTS be set up with LUKS?

Dropbox recently stopped supporting ecryptfs which has been inconvenient to me, to put it lightly. I want to install 16.04 LTS (16.04 is required for our infrastructure; 18.04 is not an option yet) ...
0
votes
0answers
15 views

Use Luks password for login?

I have the same password for my swap encryption and my login as main user. So it would be nifty to take the password from the boot-pw-dialogue to log in. Already the system uses the password to ...
1
vote
1answer
27 views

Does re-installing Ubuntu wipe out the previous LUKS encryption?

While installing Ubuntu 16.04, I had chosen to encrypt the installation. I want to remove it now.I have backed up all data and I donot care about any data loss whatsoever. Will re-installing Ubuntu (...
0
votes
0answers
15 views

Change LUKS passphrase, which device?

I have Ubuntu 18.04 installed on my UEFI machine. I want to change the passphrase of my luks encrypted volume. I already know the commands of how to do this. However I don't know which device I need ...
0
votes
0answers
6 views

External drive encryption passphrase lost despite “remember forever”, LUKS, 18.04.01 LTS

An external drive was encrypted and the passphrase stored "forever". Now the system started to asks for it, after ~6 months of frequent usage. Any ideas where it can be? Thanks.
0
votes
1answer
134 views

Upgrading from lubuntu 18.04 to 18.10 on a encrypted LUKS partition

So i've heard theres some problems with upgrading from bionic to cosmic. One of them was that luks and grub was changed a bit so that some systems wouldn't boot. If it helps, i installed lubuntu using ...
0
votes
0answers
23 views

Can I prevent the root password from being changed?

I found this question through Google. How do I reset a lost administrative password? I'm wondering If I can prevent this by encrypting my HDD with LUKS. How could the system get to /bin/bash if the ...
2
votes
0answers
74 views

Ubuntu 18.04 - cryptsetup fails to recognize passphrase, unlocking from Live USB works

I recently bought a Ubuntu Edition Dell XPS 13 9370. The machine comes without full disk encryption enabled out of the box, but offers to create a recovery USB drive, when booted from that Ubuntu can ...
0
votes
0answers
8 views

How do I set up LUKS on Ubuntu

I have had real problems with ecrypts in the past. Have tried to backup home directory and stop using ecryptfs which resulted in total loss of home directory. How do I set up LUKS on Ubuntu during ...
0
votes
1answer
72 views

How to create LVM via Calamares for Lubuntu 18.10?

This is for an install on a UEFI-based laptop with a GUID partition already in place. There is only one disk I'm dealing with and it has partitions that I can't erase for provisional reasons (non-...
0
votes
0answers
23 views

Change design of full disk encription password window Ubuntu 18.04

It possible change standard design of Ubuntu 18.04 boot window which ask password to access system encrypted by technology of full disk encryption (LUKS, LVM)? For example, change it to simple text ...
0
votes
0answers
175 views

New Ubuntu 18.04 xen 4.9 VM will not boot (LUKS setup) - fails back to initramfs

On a fresh Ubuntu install with Xen (learning Xen, proficient with Ubuntu), I try to create a domU PV VM with LUKS encryption, the whole setup procedure goes smoothly, including creating, unlocking the ...
0
votes
1answer
85 views

How to get grub to boot from a newly encrypted partition

I recently encrypted my root partition (sda7) with luksipc. It worked well, I can unlock the partition and mount it when running from a live USB, but the OS doesn't load anymore. My system has 4 ...
0
votes
0answers
13 views

How to tunnel Plymouth passphrase to other applications?

Plymouth asks me the luks passphrase of my drives. I then want the passphrase to be written to a file or tunneled to a script or even given to the ubuntu login screen. How can that be done? On my ...
0
votes
1answer
44 views

For full disk LUKS encryption, is the swap partition encrypted?

18.04.1 I went with full disk encryption. Does this mean I need to concern myself with the swap partition or is that encrypted also? I was expecting "Full Disk" to mean the whole disk including all ...
0
votes
0answers
17 views

How to mount Luks container in user space with owner and group = $USER

I have a Luks container on a USB device that I mount with following command: udisksctl loop-setup -f container_file Then Ubuntu automatically detects the new device and tries to mount it (via gvfs-...
0
votes
0answers
29 views

Recent instructions for mdadm RAID-1 and LUKS setup on UEFI systems

I have been trying to find a recent document on installing Ubuntu (18.04 preferred) using mdadm RAID-1 mirrors and LUKS underneath mdadm. The main point of using LUKS under the mdadm layer is that ...
0
votes
1answer
37 views

Keep encrypted drive open after key is removed from system

I have an encrypted drive that is mounted at boot time. I have three keys for the unit: Slot1: passphrase Slot2: file1 Slot3: file2 For unattended boot (avoiding typing the passphrase), I have file1 ...
1
vote
1answer
322 views

Ubuntu 18.04 on kernel 4.15.0-34-generic boots to BusyBox

The machine was a fresh install of Ubuntu 18.04.1 and used LVM and LUKS during install. The machine was working fine on kernel 4.15.0-33-generic. The kernel upgraded from 4.15.0-33 to 4.15.0-34-...
0
votes
0answers
23 views

Need help recovering deleted luks partition

After reading various threads for a couple days I noticed a lot of people use Testdisk to recover deleted partitions, the problem I'm having is it's not telling me which particular partitions to ...
0
votes
0answers
94 views

LUKS terrible write performance on SSD

Since I encrypted the partitions of "/" and "/home" with LUKS on my notebook, the overall write speed on my ssd is low. Hardware & Software Intel i3 4010U 2/4 x 1,70 GHz (with AES-NI) Ubuntu 18....
0
votes
1answer
51 views

Wrong keyboard layout during disk encryption passphrase entry

Ubuntu 18.04.1 LTS In GNOME I have two keyboard layouts english and russian while system wide language is set to english. During OS installation I've set LUKS encription with a passphrase in english. ...
2
votes
0answers
53 views

Encrypting a RAIDZ2 pool?

I have Ubuntu Server 18.04 (18.04.1 LTS to be exact) running on my home file server (Dell Precision T3500) and I'm wondering if I can do full-disk encryption on my RAIDZ2 array (NetApp DS4243)? Ubuntu ...
2
votes
1answer
172 views

Luks broken after update from 17.10 to 18.04 [duplicate]

I have a laptop with 17.10, with all updates. It is using full disk encryption I just did the update to 18.04 today. All went well, it asked me to reboot at the end, so did I. Upon boot, I was ...
0
votes
0answers
24 views

System Settings, Change User Password hangs

How long should it take to change the only user's password if there is an encrypted home? This has been running for hours now. It did ask me, after an age, for the keyring passphrase or whatever it'...
0
votes
0answers
167 views

LUKS Encrypted Ubuntu + VeraCrypt Encrypted Windows 10

I managed to install both Windows 10 (encrypted by veracrypt) and Ubuntu (encrypted by LUKS following the directions here https://help.ubuntu.com/community/ManualFullSystemEncryption/) to the same SSD ...
3
votes
1answer
422 views

Ecrypfts to LUKS on ext4 partition

My home directory is encrypted using Ecrypfts (AFAIK). I'm using dropbox service running in the background that syncs local files with the cloud. Starting November '18 dropbox will only support ext4 ...
0
votes
0answers
31 views

Why is full disk encryption faster than home encryption? [duplicate]

Since Ubuntu 18.04 LTS, home encryption is no longer available. The Release Notes state: The installer no longer offers the encrypted home option using ecryptfs-utils. It is recommended to use ...
0
votes
0answers
18 views

Nautilus / LUKS integration

I just upgraded to ubuntu 18.4LTS with more or less a lot of trouble. Got almost everything running again, except the fact that i cant see my luks container in nautilus anymore. Before the update I ...
12
votes
1answer
1k views

Can I view the password of a mounted encrypted volume?

First: yes, this was stupid, I know A couple weeks ago I set up a new Ubuntu 18.04 machine, and included full disk encryption. It's been running since then, just locked at night. Today I was about ...
0
votes
1answer
185 views

Cannot encrypt Ubuntu installation in dual boot

I’m trying to install Ubuntu 18.04.1 LTS on a new laptop alongside Windows 10, however, I want to encrypt the data. In this version if I select “erase everything” It makes that option available, ...
0
votes
1answer
160 views

Change LUKS Passphrase Prompt

How would one go about customizing the LUKS passphrase prompt when decrypting drive at system startup? I am on 16.04. Have looked into /lib/cryptsetup/cryptdisks.functions. Have also checked Plymouth. ...
0
votes
1answer
196 views

LUKS Encryption of NTFS Partition

I'm going to be doing a fresh install of Ubuntu 18.04 on my System76 laptop that currently has one SSD drive installed. Soon I'll be installing a second SSD on the same laptop that will have Windows ...
0
votes
0answers
31 views

Editing filesystem mount options outside of fstab for LUKS partitions

I have several LUKS encrypted drives attached to my system which do not mount at boot. I want to edit some of the options normally found in /etc/fstab (mainly noatime), but these drives aren't in ...
0
votes
0answers
188 views

File system errors on virtual machine: Resize inode not valid. fsck exited with status code 4

TL;DR I'm trying to fix a disk that got corrupted because I hard-shutdown the VM. The farthest I've managed to go is to use fsck.ext4 and a back up superblock to allow me to mount the disk again. ...
0
votes
0answers
83 views

How to enter the password only once if /home is LUKS-encrypted?

Last year I've upgraded my laptop with SSD, and decided to try LUKS for /home encryption, as after researching online and a few trials myself I felt like Ubuntu's "default" ecryptfs still slows it ...
10
votes
3answers
504 views

Will an external HDD encrypted with 17.10 be accessible with 18.04 after an upgrade?

I'm currently on 17.10 and don't use encryption on my internal drives but have an external USB disk which is encrypted. I use it for backups. Because I am was not sure whether I use ecryptfs or ...
0
votes
1answer
107 views

Will the KVM enabled kernel work with LUKS whole disk encryption on 18.04?

I have got a fresh installation of 18.04 with the whole disk encryption (LUKS) enabled. This works fine, but when I try to install a KVM enabled kernel (package linux-kvm), then I am unable to boot ...
0
votes
0answers
24 views

LUKS encrypted HDD not sleeping

The HDD is set to automatically go in to standby mode after ten minutes of inactivity, however, since encrypting the only partition the HDD is always awake. When I unmount the encrypted partition the ...
0
votes
0answers
134 views

Looking for lost Ubuntu fulldisk encryption with btrfs tutorial

a few months ago I reinstalled my computer with Ubuntu 18.04, using btrfs on a LUKS full disk encryption. I used a certain very good tutorial for that and it just worked. However, now I can't find ...
0
votes
2answers
261 views

Ubuntu 18.04 clevis decrypt of secondary disk

Running Ubuntu 18.04 with an unencrypted root volume. For what I need this to do, that's fine. But I need to mount and decrypt secondary disks. Following Red Hat's directions here since every google ...
0
votes
0answers
78 views

How to install cryptsetup 2.x to Ubuntu 16.04?

I came across with encrypted container created with LUKS2, but as a user of Ubuntu 16.04, which comes with 1.7.2, this container can't be opened. It seems I'd need a newer version of cryptsetup, 2.x.
0
votes
0answers
32 views

Can't Access Automatically Mounted LUKS Volume with User Account

I have a BTRFS filesystem layered on top of a LUKS partition on an external drive. When the drive mounts, it doesn't allow me access. It only allows access to the root user. How do I set the drive so ...
0
votes
0answers
26 views

Prevent LUKS Volume from Automatically Mounting

I have several LUKS volumes on an external drive. When I attach the drive, I would like to prevent two of the LUKS volumes from automatically mounting. Using noauto on the UUIDs in /etc/fstab doesn't ...
0
votes
0answers
468 views

Ubuntu won't boot after upgrade to 18.04

I am on Ubuntu 18.04 with kernel 4.15-22. After many tries, this is how I get it to boot correctly into the graphical interface: Repair mode. Low-graphics mode. Hit CTRL+F1 and get to a text screen ...
0
votes
0answers
72 views

Booting encrypted SquashFS from Live CD

Can we boot encrypted squashfs from livecd. If it possible please suggest me to decrypt and boot the OS. here i'm using luks encryption technique for securing the Squashfs file but i'm fail to ...
1
vote
0answers
61 views

LUKS crashes utility, command line doesn't provide encryption, alternative GUI applications are too slow

TLDR: I'm trying to encrypt my hard drive, half of universe failed. What is a straight-forward command towards encrypting target device (e.g. /dev/sdb1) with a "target" password (e.g. "password123")....
1
vote
0answers
838 views

Ubuntu 18.04 and after-install luks encrypted home partition - cant load OS

I deployed Ubuntu 18.04 on my laptop with home folder in separate partition (/home is /dev/sda6) After installation I wanted to encrypt my home partition, for that I followed this guide to encrypt it....
0
votes
1answer
668 views

autounlock luks encrypted drives upon startup with keyfile

i have a raidz2 zpool across 6 disks. i am using ubuntu server 16.04 LTS and i want to encrypt those disks with luks and have the system decrypt them on startup, so that zfs can use them. how exactly ...
0
votes
1answer
172 views

Decrypt LUKS partition without losing data

I have a LUKS encrypted hard drive consisting of one single partition for the whole hard drive and it's encrypted with LUKS, I was wondering if I wanted to decrypt the disk completely(remove the ...