Questions tagged [luks]
All questions relating to LUKS (the disk-encryption specification) for Linux
600
questions
2
votes
2
answers
3k
views
Using a Yubikey with LUKS on Removable Storage
I'm trying to use a Yubikey 4 as a second factor to access a LUKS-encrypted USB HDD. Here's how far I've gotten:
I'm using yubikey-luks to add my HMAC-SHA1 hashed password to slot 7 of the device.
...
1
vote
0
answers
80
views
Ubuntu shows hard drive with a quarter of it's size
Ubuntu live stick (tried different versions: 14.04, 16.04, 17.04) shows my additional hard drive as 802GB which is roughly 750GiB, beeing a quarter of the 3TB of it's actual size. And I am unable to ...
0
votes
1
answer
332
views
What encryption module does Ubuntu use to provide Full Disk Encryption?
I am trying to set up Ubuntu with full disk encryption, by following this tutorial over here.
What I want to know is what encryption module does Ubuntu use to encrypt the data ? Is it LUKS ? If not ...
1
vote
0
answers
193
views
How do I have LVM/LUKS clean itself up on unplug?
I have an external drive with the following partitioning scheme:
LUKS Container (crypt-desk)
|
|- LVM Container (desktop-hdd)
|
|- Backup (ext4)
|- Desktop Files (ext4)
This is mounted on ...
4
votes
1
answer
7k
views
How do I move/home folder to a luks encrypted external drive?
The current system would be full disk encrypted, and I want to move/map the /home folder to an external hard drive that is formatted with LUKS encryption as well. Is this possible?
Linux updates keep ...
4
votes
0
answers
3k
views
Adding a LUKS-encrypted OS to Grub?
I recently installed Debian (using an encrypted LVM) onto an NVMe drive. The /boot and EFI partitions are of course not encrypted. However, I discovered that my old, rickety motherboard I'm using ...
0
votes
1
answer
3k
views
How to unlock LUKS root partition using ssh (not through dropbear)
I have been looking online for a solution that will allow me to automatically unlock an ubuntu 16.04 LTS machine with FDE (including the root partition). I have found a lot of guides that allow a ...
0
votes
1
answer
430
views
encrypt external disk does not work
Iam following this tutorial to encrypt an external disk: https://miguelmenendez.pro/en/articles/encrypt-usb-storage-device-linux-unified-key-setup-luks.html
But in step 6, I get after typing ...
2
votes
1
answer
2k
views
How to securely auto-mount encrypted drive on SSH login?
I successfully followed this guide to create an encrypted drive and have it mounted on login with a gnome session.
However, I can't get it to automatically mount when I log in via SSH. Is this ...
0
votes
1
answer
2k
views
How to move a partition? [duplicate]
I want to extend my Encrypted LVM to the adjacent free space, I tried https://help.ubuntu.com/community/ResizeEncryptedPartitions in VirtualBox and find that if the adjacent free space is in the front ...
0
votes
1
answer
2k
views
Can't mount encrypted partition - "No key available with this pass-phrase". Did the Ubuntu Gnome installer destroy my encrypted drive?
I have a LUKS encrypted filesystem on a second internal hard drive that I use as a backup. It was working fine but now, after doing a complete reinstall of Ubuntu Gnome 17.04 (onto the primary hard ...
1
vote
1
answer
3k
views
How do I protect LUKS from Ram Dumps?
I want to protect my data from anyone who wants to access it, including the NSA.
I used whole disk encryption on my Kubuntu INSTALL, and I never do anything half-way.
I looked up how to crack LUKS, ...
4
votes
0
answers
420
views
Error while trying to store LUKS HDD passphrase in key wallet
I have a LUKS encrypted external hard-drive (full partition encrypted). While mounting the media, I enter the passphrase in the prompt and I check the "remember the password forever" option.
The ...
2
votes
1
answer
8k
views
Update grub in a chroot environment with root on a luks encrypted volume
I want to move a system (all systems I am using are Ubuntu 16.04 based) from an unencrypted partition to a luks encrypted one (on the same disk).
To this end, I created a LUKS encrypted logical ...
15
votes
3
answers
4k
views
How do I troubleshoot a disk IO performance issue possibly related to dm-crypt/LUKS?
Issue
I recently installed Ubuntu 16.04 LTS (kernel 4.8.0-52) on a Lenovo T460p with an i7-6820HQ, 32GB of RAM, and a 512GB Micron 1100 SSD. I checked the full disk encryption box during the ...
34
votes
4
answers
50k
views
Encrypted custom install
My computer runs Ubuntu. I want to install Ubuntu on another medium. I wish to enable encryption, yet as the ubuntu installer's default choices (erase/alongside/etc...) only concerns the default drive,...
2
votes
1
answer
2k
views
How to setup luks encryption to ask for passphrase after suspend
I've installed Ubuntu 16.04 LTS with full disk encryption enabled, using the graphical installer. However, the system does not ask for the decryption key on resume.
Most search results on this ...
11
votes
2
answers
13k
views
LUKS keyscript being ignored ... asks for password
Let me begin by saying I'm not new to LUKS. I've set up LUKS with keyscripts numerous times with and without LVM. I'm not sure what is actually going on here though. I have a system that has a single ...
1
vote
0
answers
216
views
LUKS LVM as external usb volume on new computer
I'm trying to read my old encrypted hard disk (should be an entire raw LVM partition ) from a new computer.
I've detached from previous case and put the hd on a USB reader.
After entering the right ...
2
votes
0
answers
684
views
luks usb key encryption
i am about to install a fresh install of ubuntu and i want to encrypt the disk with luks. but i dont want to type in the password every time i turn the computer on. I want it to be very secure. i ...
7
votes
1
answer
5k
views
How to enable text-mode LUKS passphrase prompt on boot?
I'm on Ubuntu MATE 16.04.1 and I changed graphic card to GeForce 8600GT and now I can't enter LUKS password on boot after installing NVIDIA propriatary drivers (I tried 304.135 and 340.102). Keyboard ...
0
votes
1
answer
2k
views
Ubuntu 16.10 won't boot after motherboard replacement - GRUB issue?
A Lenovo tech came yesterday to replace the motherboard on my Thinkpad T440. I have Ubuntu 16.10 (or is it 16.04, can't remember) installed on a LUKS encrypted SSD. It was working fine before the ...
1
vote
1
answer
2k
views
LUKS full disk encryption - autostart [closed]
I have installed Ubuntu Server 16.10
Set up disk encryption with passphrase and installation on whole disk. Now every start or reboot is asking for
Please unlock disk sda5_crypt
Is it possible to ...
11
votes
2
answers
12k
views
Opening LUKS encrypted drive in nautilus results in "operation cancelled"
I'm on a Ubuntu 16.04 computer with a LUKS encrypted drive trying to mount an old Ubuntu 16.04 LUKS encrypted drive. When I open the drive in Nautilus, after entering the correct password I get the ...
2
votes
1
answer
82
views
Ubuntu Xenial Standard Installation w Encryption: Dropped all partitions - how to restore LUKS
I know, I only have myself to blame, but yesterday I mistakenly deleted all my partitions of my main drive - a standard ubuntu xenial install using LUKS and LVM, but everything with default options ...
1
vote
0
answers
52
views
LUKS partition mounts to a different folder
I've made a LUKS partition on my laptop running Ubuntu 16.04 (unfortunately I can not recall which tutorial I used). The partition used to mount automatically at startup to /media/$USER/mydata. ...
6
votes
1
answer
6k
views
Hibernate to swapfile on encrypted volume
I have ubuntu 16.04 installed on LUKS encrypted partition that is on the mdadm raid-0.
I want to activate suspend to disk. I used this instruction (for unencrypted partition), but it doesn't work. ...
2
votes
1
answer
2k
views
Keyserver for cryptsetup-luks
I've several machines at home: A small nas, my notebook, a litte webserver etc.
Some of these machines store my entire digital life - so I encrypted nearly every partition. To boot up the devices, I ...
1
vote
0
answers
418
views
Install Ubuntu over encrypted Ubuntu
I am trying to install flavor X over encrypted flavor Y, however, I am not able to decrypt my encrypted flavor Y partition before the installation process. I have used stock encryption of the Ubuntu ...
0
votes
1
answer
87
views
Is there a patch preventing hacker from accessing a shell with root privileges on LUKS encrypted system?
I recently came across this November 2016 article.
I tried what they said and pressed the Enter button for 70 seconds and was able to get into some kind of black terminal screen. But I am so ...
0
votes
1
answer
1k
views
Passing luks passphrase to unlock encrypted rootfs with script instead of passing from the terminal
I would like to develop a script which passes LUKS passphrase instead of passing from the keyboard when cryptroot asks user to unlock. I tried to modify cryptroot script, but not able to run it.
It ...
1
vote
1
answer
801
views
Would This Fedora Method of Encrypting /boot Work With Ubuntu 16.10?
I found a tutorial for moving the /boot partition to / so that it falls under the LUKS encryption I already have in place. The tutorial was however made with Fedora in mind. Is this safe and will it ...
2
votes
0
answers
1k
views
Problem booting into my system: cryptsetup: lvm is not available
I installed Ubuntu 16.04 LTS with full disk encryption using this guide. Normally I have to enter one passphrase to unlock root and then another one to unlock swap, and then the system boots with no ...
4
votes
1
answer
5k
views
resize an encrypted disk?
so I've been using Ubuntu gnome for about 6 months+ now , and I wanted to install windows alongside as dual boot, but first I need to partition my disk so I can install windows on a separate partition,...
0
votes
0
answers
1k
views
Luks encrypted hard drive won't boot
To start, I apologize if this question has been asked before. I've never had this happen before and I have a hard time trying to diagnose my issue.
The problem:
I'm running Ubuntu Server 16.04 with ...
2
votes
0
answers
2k
views
ecryptfs-recover-private cannot find encrypted home folder
I have Ubuntu 16.10 installed on a Crypto-LUKS partition, and within that partition, there is an ecryptfs encrypted /home folder. My Ubuntu OS won't boot anymore for unknown reasons as stated ...
1
vote
1
answer
3k
views
Cannot mount Ext4/LUKS anymore
My ubuntu hangs after some hours, regularly, but after last reboot I cannot mount my Ext4 partition that sits on top of LUKS.
Also dmesg lookup:
1
vote
0
answers
287
views
Deja-Dup did not show success message
In a few hours I go travel with my laptop, so last night I launched a DejaDup backup, from my laptop to an external drive that I will leave at a safe place.
Problem: DejaDup did not display any ...
2
votes
1
answer
5k
views
Minimal BASH-like line editing is supported - GRUB error - Ubuntu 16.04, luksPartition, boot-repair does not work
Just after starting my laptop I am seeing black screen with the message in the title. This has happened when I've had 2nd drive connected to my laptop and I've installed fresh Ubuntu 16.04 on it. ...
13
votes
3
answers
21k
views
Mounting USB disk with LUKS encrypted partion fails with a cryptsetup "Device already exists" error
I've got an external USB drive with an encrypted LUKS partition. I generally have no problems mounting the device; I click it from the xfce4 desktop and get a dialog where I enter the password.
When ...
1
vote
0
answers
44
views
Luks partition lost its partition type and won't boot [duplicate]
I shutdown my laptop and now will not boot saying no recognizable partition. I tried mounting in a live USB but with no luck. I keep getting failed to connect to lvmetad
0
votes
1
answer
92
views
Does a keyfile always have to be mounted?
I got a very simple question about using LUKS/cryptsetup with a keyfile on a separate USB stick. Does it always have to be mounted? Or only when the system boots?
0
votes
1
answer
752
views
Possible to migrate 16.04 LTS laptop to full disk (luks) encryption?
So I have a laptop and I want to see how hard it is to migrate to full disk encryption. I've done it from a clean install once before and even wrote a HOWTO which I unfortunately no longer have access ...
3
votes
1
answer
4k
views
LUKS/Cryptosetup and LVM: can't input passwords after boot
So I followed many times with success this particular tutorial http://thesimplecomputer.info/full-disk-encryption-with-ubuntu
With 2 slightly different things: lubuntu instead of ubuntu and install ...
1
vote
1
answer
101
views
Trying to understand how "linux utility disk" bypasses the LUKS encryption [closed]
So I was reading about the encrypted file systems yesterday and noticed that little asterisk below saying:
*of note: windows "Linux disk utilities" seem to be able to bypass this encryption ...
3
votes
3
answers
3k
views
Desktop install: Separate home partition (LVM on LUKS) without using terminal
How can I install Ubuntu desktop ≥16.04.1 with these options (LVM on LUKS):
but with a separate home LV in the LUKS volume without using a terminal?
I can do this with the Ubuntu Server installer ...
2
votes
1
answer
3k
views
Can full disk encryption break my SSD?
I prefer to use full disk encryption, LUKS to be precise. But I will also get an SSD soon. An AMD SSD to be more precise..
2
votes
1
answer
2k
views
How to automatically specify the Filename Encryption Key with ecryptfs?
When mounting a ecryptfs encrypted folder, I have the question,
Filename Encryption Key (FNEK) Signature [d3f92227db598fd6]:
I want to automatically answer to this question, and it is done with the ...
4
votes
1
answer
5k
views
LUKS passphrase screen does not show up
I installed Ubuntu with a fully LUKS encrypted LVM.
It works fine with one issue:
After selecting Ubuntu in Grub while booting, the "enter passphrase to unlock disk" screen does not show up. I can (...
0
votes
1
answer
662
views
How to have an encrypted partition/folder without any cleartext at all?
How to have a partition/folder that does not show any unencrypted version of the files (i.e in cleartext)?
To clarify, if I mount a folder called folder with ecryptfs and put a file called file in it
...