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
10 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
57 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
74 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
10 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
33 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
12 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
18 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
32 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
259 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
21 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
58 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
44 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. ...
1
vote
0answers
32 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
136 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
17 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
104 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 ...
2
votes
1answer
175 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
30 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
15 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
117 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
120 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
143 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
30 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
151 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
62 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
495 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
88 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
23 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
125 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
213 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
67 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
30 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
22 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
438 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
65 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
53 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
791 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
565 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
150 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 ...
0
votes
1answer
111 views

clevis/dracut luks unlocker - early dracut unlocker not engaging upon boot

How to get FDE unlocked by clevis early dracut unlocker? I have installed Ubuntu 18 Server full disk encryption. clevis (from source). dracut (from source, to resolve clevis build dependencies) sudo ...
1
vote
1answer
347 views

LUKS/clevis fstab: “A start job is running for dev-mapper-encryptedfs.device (5min / no limit)”

Anyone know who can describe how to get dev-mapper stop halting boot? (LUKS/clevis with /etc/fstab entry) I've setup'ed clevis9 / LUKS with late boot authentication sudo systemctl enable clevis-luks-...
0
votes
1answer
700 views

Should I use LUKS1 or LUKS2 for partition encryption?

In the process of setting up LUKS encryption on my Ubuntu partition, I came across the --type luks2 option in the cryptsetup man pages. From what I've read, there don't appear to be any reasons not to ...
7
votes
1answer
2k views

Ubuntu with full disk encryption - bad password after upgrade to 18.04

A few months ago I set full disk encryption during installation of Ubuntu 17.10. Now, I've decided to upgrade. The upgrade ran to the end without any problems. However, after reboot I am not able to ...
3
votes
0answers
1k views

Why was home encryption dropped in the 18.04 installer?

You can no longer choose to encrypt your home directory with the Ubuntu 18.04 installer. Why? The official release notes for Ubuntu 18.04 state: The installer no longer offers the encrypted home ...
0
votes
0answers
226 views

Is there a supported way to install Ubuntu to an existing encrypted partition with LVM?

I have previously installed Ubuntu on my hard drive with one big encrypted (LUKS) partition, containing an LVM volume group. The thinking was that when I would later want to install a new version of ...
2
votes
0answers
2k views

Ubuntu 18.04 + LUKS + LVM. System boots only after hard reset

Today I dowloaded xUbuntu 18.04 amd64 Desktop and I decided to install it on my Lenovo ideapad 310 using LUKS encryption and LVM (I never installed Ubuntu before in this configuration). I have ...
1
vote
1answer
93 views

LUKS Encrypted Hard Drive — Passphrase includes '£'

I recently changed my passphrase through 'Disks' and I've included the character £ in it. I realise now that the UK keyboard mapping only applies after this is done, so trying to type £ gives me # ...
0
votes
0answers
46 views

My Ubuntu is booting to a black screen. What can I do? [duplicate]

My LUKS-encrypted Ubuntu 17.10 install normally would boot to a display that requests a passcode to decrypt the drive and then would boot to the Ubuntu login display. Instead it is now booting just to ...
0
votes
1answer
79 views

What is the leading 2048 sectors and in the first two partitions?

After booting from Live USB (16.04): ubuntu@ubuntu:~$ sudo fdisk -l [...] Disk /dev/nvme0n1: 953.9 GiB, 1024209543168 bytes, 2000409264 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (...