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
6 views

What needs to be done to prepare a stock, non LUKS Ubuntu install to boot from a LUKS encrypted partition with a separate /boot partition?

I'm trying to move an Ubuntu 18.04 system from a plain ext4 root with a separate /boot partition to a setup where I have a /boot/ partition that is ext4, and a separate partition that is LUKS with ...
0
votes
0answers
20 views

LUKS and Nuke key for Ubuntu 16.*/18.*

Has anybody made it possible to add the Nuke option to Ubuntu 18.* or even a reliable or automated way to add it to 16.*? the current methods and scripts I have found here no longer seem to work.
0
votes
0answers
55 views

18.04 cryptsetup luks automount root during boot with USB as key

Iam trying to unlock/automount the root on my ubuntu 18.04 luks cryptsetup installation with a USB drive during boot. With the script attached or a similar version it was already working a few ...
0
votes
0answers
23 views

Ubuntu stopped booting from LUKS partition

I've had a GPT disk with installed Windows 10 in it. I've installed Xubuntu in an encrypted LUKS partition alongside Windows using this guide (partially). Everything was great, I was able to boot the ...
1
vote
0answers
16 views

How to make headless Ubuntu server play consistent 'beep' when boot process is ready and waiting to enter luks key

I was wondering how is possible to make a headless Ubuntu server to play a consistent beeping sound when boot process is ready and waiting user to unlock hdd with luks key; Like an alarm or so "hey ...
0
votes
0answers
27 views

Can't mount second hdd due to error /dev/mapper/backup--mint--vg-root: can't read superblock [migrated]

I'm trying to mount a second hdd. I don't know where I'm going wrong. First, I set up a partition with cryptsetup: sudo cryptsetup open /dev/sdb5 backup sudo vgdisplay I got two identical vg names, ...
0
votes
0answers
24 views

ManualFullSystemEncryption 18.04 - secure boot

I have followed the excellent dual boot FullSystemEncryption Manual where a bug is mentioned that the BIOS secure boot might need to be turned off before installing. After the successful installation ...
0
votes
1answer
49 views

LUKS encrypted HD opens with 1 click in Files - can this be scripted?

One of my internal harddisks is encrypted with LUKS and used for backups only. I have an entry in fstab with the noauto option. After login I can decrypt and mount this volume with one click in the ...
0
votes
0answers
21 views

Can't find lvm inside luks decrypted partition

I did a space liberating operation from "bleachbit as sudo" in my HDD which has an Ubuntu 18.04 installation and the root partition is luks encrypted, and the next time I booted up my machine it ...
2
votes
1answer
34 views

Resize 2 Btrfs partition behind luks encryption

I come to you after a non successful research about my issue. Because I underestimated the size of the root partition, It is now full as ****. Therefore, I want to resize it. Since my /home partition ...
0
votes
0answers
59 views

Dualbooting Ubuntu with Windows, UEFI, LUKS, no LVM

I'm trying to dualboot Ubuntu with an existing Windows install on UEFI, with LUKS encryption and without using LVM. I have secureboot and fast boot already deactivated. The existing Windows 10 install ...
1
vote
1answer
41 views

Does systemd try to mount my luks keyfile?

Please help verifying if this is a bug or just misconfiguration on my part. When I try having my LVM setup decrypted on boot, using a keyfile, the system is trying to mount the path to my keyfile, ...
0
votes
0answers
20 views

Lvm on luks UEFI

I want to install Ubuntu on lvm on luks in UEFI mode. An efi partition, another encrypted partition for /boot and again an encrypted partition for system. My question is: how can I add hooks to ...
2
votes
1answer
66 views

Mounting all partitions in a disk image

Trying to mount all partitions of a disk image. I can only mount the first partition, but unable to mount the other 2 partitions. userone@desktop:/media/userone/BACKUP$ sudo fdisk -lu 16-04-desktop....
0
votes
1answer
71 views

Encrypting Linux server for remote access VM

Use Case I have an Ubuntu server machine wrapped in a VM (vmdk file) that contains web application. I want to send this VM to someone and prevent him from accessing to the internal file system of the ...
0
votes
0answers
23 views

using password manager to unlock LUKS drive

I use KeyPassXC to type my passwords and a USB drive for some of my files. In Ubuntu 16.04 I could plug in my drive, and when the password prompt came up just switch over to my PM and have it type the ...
0
votes
1answer
227 views

Why does bionic now freeze during LUKS boot?

Recently I installed 18.04 on a clean M.2 form-factor SSD, in my Dell latitude E7470 laptop, enabling full-disk encryption. For a week or two it worked fine, but since yesterday morning, I have not ...
0
votes
0answers
76 views

Multiple hard drive full disk encryption

I'm trying to achieve full disk encryption using LUKS on both internal hard drivers but during boot system asks for passphrase multiple times. I also tried key file method but initramfs cant find this ...
-1
votes
0answers
32 views

Unable to boot from Ubuntu live USB created using Systemback – Dual boot system with LUKS encryption

I am new to this forum. I had a dual boot desktop with Windows 7 & Ubuntu 16.04 (ecryptfs on /home). Motherboard Gigabyte GA-EG45M-DS2H (2009) Ram 4GB Disk 500GB Last month I bought new 1TB HDD ...
0
votes
1answer
61 views

How to migrate from ext2 to ext4 when my filesystem is encrypted (LUKS)?

The reason why I am posting this question is that Dropbox has notified me (via e-mail), that it will soon no longer support ext2 for its desktop client. I have a LUKS encrypted file system on top of ...
0
votes
0answers
51 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
41 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
39 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
78 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
9 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
378 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 ...
3
votes
1answer
251 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
17 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
221 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
33 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
354 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
273 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
27 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
91 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
33 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
51 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
54 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
447 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
29 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
286 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
113 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
55 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
313 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
28 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
344 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
943 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
34 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
28 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
482 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, ...