Questions tagged [luks]
All questions relating to LUKS (the disk-encryption specification) for Linux
102
questions
91
votes
4
answers
115k
views
How can I install Ubuntu encrypted with LUKS with dual-boot?
The Ubuntu 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 ...
58
votes
6
answers
232k
views
Can I disable full-disk encryption?
I recently installed Ubuntu 12.10 and it requires a passphrase to boot up (I installed it with an encrypted file system).
Do I have to reinstall to change to a standard unencrypted file system?
13
votes
4
answers
32k
views
Convert from EFI to BIOS boot mode
I have a Samsung Notebook NP900X4C with an LUKS encrypted installation on it. The system is booting in UEFI mode.
The problem is that the samsung-notebook kernel module is disabled in UEFI mode and ...
84
votes
4
answers
148k
views
How to change LUKS passphrase?
Having installed Ubuntu 11.10 with whole disk encryption and LVM, I need to provide a way for users to easily change LUKS passphrase.
Preferably, this should be done using GUI tools, thus, enabling ...
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,...
17
votes
5
answers
13k
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 ...
22
votes
2
answers
50k
views
Mounting encrypted LUKS partition from Live CD
Error to begin with, can't boot
I had to do a hard reboot of my computer, and when booting up it (initramfs I think) gave an error:
mount: mounting /dev/mapper/ubuntu--vg-root on /root failed: ...
15
votes
1
answer
13k
views
How do I install Ubuntu with full disk encryption without having to "erase everything"?
I want to install Ubuntu with full disk encryption using LVM. I already have Windows 10 installed on my hard drive.
For full disk encryption, the installer only gives me the option to wipe everything ...
48
votes
4
answers
123k
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 ...
24
votes
4
answers
70k
views
How to configure LVM & LUKS to autodecrypt partition?
I have recently installed ubuntu server 11.04 with the full lvm encryption(installed from the setup) . I wish now to use a key file to do automatic unlock. I have tried to follow this guide http://...
34
votes
4
answers
45k
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 ...
15
votes
2
answers
10k
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 ...
104
votes
2
answers
7k
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 ...
29
votes
2
answers
51k
views
How do I automatically decrypt an encrypted filesystem on the next reboot?
Goal
I am looking for non interactive way to decrypt a root file partition and a swap partition encrypted with LUKS the next time the system reboots. As well as this, I need a way to undo it after the ...
29
votes
3
answers
72k
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....
7
votes
1
answer
5k
views
Full Disk Encryption with LUKS: auto mount second volume
TrueCrypt on Windows can auto mount volumes that use the same passphrase as the boot volume. You enter the passphrase only once. Is there a way to do this with LUKS?
Background: I'm currently ...
101
votes
7
answers
195k
views
How to change the password of an encrypted LVM system (previously alternate Installation, now advanced feature)?
I installed Ubuntu 11.10 with the alternate CD and encrypted the whole system (except boot) with the encrypted LVM. Update 2020: Encrypted LVM can be selected at the Installation type step of the ...
18
votes
2
answers
26k
views
Mount a LUKS partition at boot
I have installed an Ubuntu machine with two encrypted LUKS partitions: one for / and one for /home.
I've reinstalled the machine to upgrade to 10.04. Again, the / is installed using LUKS, and I'm ...
4
votes
2
answers
5k
views
LVM & LUKS manual partitioned but issues with loader/init/grub
I've had some success with manually partitioning and installing LVM & LUKs.
The partitions are created - home, root, swap and boot, the pv and vg's were all created and set up correctly.
I ...
3
votes
2
answers
5k
views
Pam_mount won't automount encrypted partiton
As usual, when I install a new version of Ubuntu I install pam_mount to automount my with LUKS encrypted partition on login. However, for Ubuntu 11.10, I followed the same procedure as usual, but I ...
3
votes
1
answer
7k
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 ...
17
votes
4
answers
25k
views
Cannot enter password to start Ubuntu
I'm running Ubuntu 14.10 with the system disk encrypted with luks. When I start the computer, it shows the Ubuntu logo and asks to enter the password to unlock the disk. However, I cannot enter the ...
12
votes
2
answers
6k
views
How to disable "Remember forever" option in mounting encrypted disks
Whenever you mount an LUKS encrypted disk, Ubuntu gives you 3 options:
Forget immediately
Remember for this session
Remember forever
I wanted to know how to reset this choice after choosing the "...
10
votes
1
answer
4k
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 ...
9
votes
2
answers
17k
views
How to repair /boot on LUKS encrypted harddrive?
I have a laptop with Xubuntu installed.
At install I chose the full disk encryption option.
But yesterday i accidentally dd-ed a DSL image to sda1 (/boot partition) instead to sdb1 (pendrive).
How ...
4
votes
0
answers
3k
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 ...
45
votes
1
answer
3k
views
Is it Possible to make "Forget password immediately" the default when opening LUKS encrypted partition?
When a LUKS encrypted partition pops up the unlock window it gives 3 options for how to remember the password. The "Remember password until you logout" is always ticked by default. Is there a way to ...
45
votes
4
answers
44k
views
How do I get passwords from the keyring in the terminal for usage in scripts?
When you have a LUKS encrypted drive in your computer, Nautilus or Nemo will show it under Devices as a drive with a little lock on it.
When you click it, you need to enter a password. If you choose ...
15
votes
5
answers
12k
views
Full Disk Encryption + Home folder encryption needed? Wouldn't Full Disk Encryption get the Home folder anyway?
I'm reinstalling Ubuntu, and want to do full disk encryption. After selecting it, I'm given a choice to also encrypt the Home folder.
Since Ubuntu doesn't use a separate partition for the Home folder ...
14
votes
3
answers
7k
views
Suspend to RAM and encrypted partitions
Normally I don't shutdown my notebook any more in favour of using suspend-to-RAM. The downside is that my encrypted home partition is completely accessible after resume without entering the passphrase....
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 ...
9
votes
2
answers
4k
views
How can one unlock a fully encrypted Ubuntu 11.10 system over SSH at boot?
In previous versions of Ubuntu, and current versions of Debian, you can unlock a fully encrypted system (using dmcrypt and LUKS) at boot time over SSH.
It was as easy as:
Installing the encrypted ...
8
votes
1
answer
2k
views
How can I encrypt the entire disk on alternate installation?
Is it possible to install Ubuntu 11.04 with full disk encryption?
Previously versions have had an alternate install cd with a text interface where you could enable encryption for your drives.
This ...
7
votes
4
answers
8k
views
How to check if TRIM is working for an encrypted volume?
You can easily check if TRIM works for a "normal" ext4 partition: https://askubuntu.com/a/19480/5920.
How to do that for a LUKS-encrypted one? Let's assume the default LUKS setup made by 12.04 ...
7
votes
2
answers
9k
views
How do I auto-mount LUKS partition?
How do I automount a LUKS encrypted partition in a secure way? Ideally either when I log on (and therefore my password in at the log in screen), or once I get to desktop have Ubuntu ask for my ...
6
votes
1
answer
2k
views
Clone encrypted HDD to smaller drive
For my work Laptop I use full HDD encryption and I need to upgrade my 500GB HDD to a 250 SSD drive, my HDD has only around 100GB of data and is created via encrypted LVM.
GParted does not support ...
5
votes
1
answer
6k
views
Reinstall to existing encrypted partitions
My disk layout is like this:
Encrypted partition for /
Encrypted partition for /home
Unencrypted partition for /boot
I set this up last time I did a complete reinstall (incl. wiped disk) of Ubuntu a ...
5
votes
4
answers
3k
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:
Used ...
5
votes
2
answers
12k
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 ...
4
votes
1
answer
2k
views
Keyboard layout in LUKS prompt
I have been using Lubuntu with LUKS encrypted disks with at least 4 previous Lubuntu releases. The keyboard layout in LUKS passphare prompt has been the same as in the whole system.
Yesterday I ...
3
votes
1
answer
3k
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 ...
3
votes
2
answers
8k
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
1
answer
1k
views
Merge LUKS-partition with partition on another HDD
I just bought a 2 TB hard disk because the home partition on the old one is almost full.
What I want to do is to extend the home partition on hard disk 1 (sda2) to also include all the space on the ...
2
votes
2
answers
4k
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
...
41
votes
6
answers
68k
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 ...
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 ...
13
votes
6
answers
46k
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 ...
12
votes
1
answer
24k
views
How to mount LUKS encrypted file?
I have a file (about 13GB).
When I execute the command file "filename" in terminal,
It shows tails_filesystem: LUKS encrypted file, ver 1 [aes, xts-plain64, sha1] UUID : blahblah
And, when I mount ...
11
votes
3
answers
763
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 ...
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 ...