Questions tagged [luks]
All questions relating to LUKS (the disk-encryption specification) for Linux
600
questions
1
vote
1
answer
1k
views
Unallocated space instead of LUKS partition with gparted
I have unplugged a USB with valuable data with a mounted LUKS partition which destroyed the partition table.
Running testdisk does not recognized the partition: it claim it as unallocated space ...
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 ...
1
vote
1
answer
290
views
Swap not working with lvm on luks
I've installed new Ubuntu 16.10 with LVM on LUKS using this instruction: (https://askubuntu.com/a/293029).
But when I type swapon -s I get:
Filename Type Size Used ...
3
votes
2
answers
2k
views
Does strength of LUKS encryption key directly depend on password?
I've set up a fresh installation of Ubuntu 16.04 and enabled full disk encryption using LUKS during installation.
Since the correct key map for my locale was not available yet, I entered a really ...
1
vote
0
answers
189
views
Why can't I unlock an image recovery of my encrypted disk, despite using the correct password?
My understanding of the Linux encryption protocol is that the keys are "distributed" over the entire disk, so even a tiny amount of damage can cause a significant amount of casualty. In particular, ...
3
votes
1
answer
10k
views
How to find UUID for setting up LUKS with keyfile protection for external drive
I have my external drives setup with LUKS + password. I would like to increase the security to password + keyfile. For internal storage this seems to be trivial but I'm not sure how to approach this ...
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 ...
0
votes
1
answer
150
views
Ubuntu 16.04 - switching from nouveau to closed source driver, after LUKS auth purple screen
When I change my nvidia graphic card drivers from nouveau to the closed source, tested driver, everything works fine.
Right after a reboot I do not get past the LUKS auth screen. The window stays ...
0
votes
1
answer
1k
views
Full disk encryption on GPT on BIOS problems
How to encrypt all data on hard drive (including /boot and 1MB BIOS boot partition)? How to create GRUB bootable BIOS partition with encryption? My HDD is empty now. I cannot use this laptop now.
3
votes
1
answer
1k
views
Able to mount but not able to view the contents of LUKS-encrypted flash drives
I've formatted multiple flash drives on multiple computers using the Gnome Disk Utility on Ubuntu 16.04, each with a Ext4/LUKS partition. All is fine on the machine used to format them, but I'm unable ...
2
votes
1
answer
5k
views
Resizing an encrypted LUKS partition using the KDE Partition Manager
Following an answer in this post I tried resizing (with the KDE Partition Manager) a LUKS encrypted partition created during the installation of Ubuntu.
I booted from a Linux live USB stick and ...
3
votes
2
answers
5k
views
Unlocking LUKS partition with keyfile on USB does not work
I partially followed this
What is /lib/cryptsetup/scripts/passdev actually doing?
/etc/crypttab
2tb UUID=... /dev/disk/by-label/STICK:/logfile luks,nofail,keyscript=/lib/cryptsetup/scripts/passdev,...
2
votes
1
answer
712
views
Recovering a LUKS Ext4 Partition that was over written
I have a external HDD that was formatted as one 2TB Ext4 partition and LUKS encrypted.
It was turned into an ubuntu install disk using start disk creator.
Is there anyway that this can be recovered?
2
votes
0
answers
1k
views
Volume group not found after updating to 16.04.1 LTS
I updated from 14.04 to 16.04.1 LTS and now my LUKS volumes will not mount and the system will not boot. I'm not sure where to go from here...
I can use a live CD to get access to the filesystem.
0
votes
1
answer
2k
views
'Check that kernel supports aes-xts-plain64 cipher' after upgrading to Ubuntu 16.04.1 LTS
I upgraded my system from 14.04 LTS to 16.04.1 LTS and now it won't boot. I am using LUKS encryption - during the boot I now get this error:
Check that kernel supports aes-xts-plain64 cipher
After ...
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 ...
2
votes
1
answer
518
views
Cloning an encrypted HDD
How can I easily clone an encrypted HDD that is running Ubuntu 16.04 with LUKS encryption? I want to be able to move my install from my current desktop to a laptop, so I can't just physically move my ...
0
votes
1
answer
1k
views
Pendrive formatting to ext4/LUKS problem
I've just mount new pendrive with msdos fs on it, and i tried formatting it to Luks/Ext4.
How i tried :
Files -> right click on penrive -> format.. :
Erase : Overwrite existing data with zeros
Type ...
4
votes
1
answer
2k
views
Stuck in initramfs with btrfs root array
I am trying to setup a system with three drives with a btrfs raid1, however I get stuck in initramfs if I have more than a single drive in my btrfs root.
My three partitions:
/dev/mapper/sda3_crypt | ...
0
votes
1
answer
484
views
Latest compiz update for 16.04 breaks desktop + LUKS login
I just upgraded to the latest update for compiz and other packages, but that resulted in me not having access to a desktop at all! (can only see background and cairo dock).
I figured it was unity/...
0
votes
1
answer
2k
views
Getting lsinitramfs to boot into an encrypted file system
I followed the directions here. I've been using the LiveCD and I cannot for the life of me persuade Ubuntu to create a initramfs file that would be willing to decrypt my LUKS file-system. I'm having ...
2
votes
0
answers
1k
views
Decrypt multiple drives with a single password? (LUKS+LVM)
Specifically to be able to rearrange the LUKS volumes without touching physical partitions.
(I'm willing to start from scratch)
Background: Currently I have LVM on top of LUKS. A password unlocks ...
1
vote
1
answer
940
views
Ubuntu with ZOL and LUKS
I'm trying to install ZOL with LUKS and I'm not entirely sure how to proceed. I've plenty of material on how to get ZOL installed to the root of my target media. However, there's not much on getting ...
0
votes
2
answers
2k
views
LUKS LVM device mapped by UUID instead of e.g. sda5_crypt
I have a laptop with what I believed to be basic LUKS single-disk from a fresh 14.04 install. After updating to 16.04, I found my initrd had no LUKS support so I couldn't boot.
The culprit seems to ...
5
votes
2
answers
4k
views
How to securely mount LUKS partition at login?
I want to access a LUKS encrypted data partition after login, ideally without typing a password, obviously in a secure way.
My home directory is also encrypted with LUKS.
I found this tutorial: ...
12
votes
1
answer
9k
views
How does LUKS work?
I was just curious if someone had a high level overview of how a system like LUKS worked for full disk encryption, aka. how it stores keys and how those keys are verified, and if data is de-crypted by ...
2
votes
1
answer
5k
views
Ubuntu + Luks: Volume Group 'vgcrypt' not found (drop to busybox)
Problem: I followed the intructions for installing Ubuntu 16.04 over an EFI system with LUKS+LVM of this upvoted question on AskUbuntu, but I ended up with a somewhat unusable system.
The only thing ...
3
votes
4
answers
10k
views
boot - no LUKS password prompt
During boot, I am not asked for LUKS password, so boot fails. Same behavior with failsafe grub option, so no CLI password prompt either.
I have:
initrd.img-3.13.0-39-generic
initrd.img-3.13.0-40-...
1
vote
1
answer
1k
views
Ubuntu 16.04 LUKS passcode does not appear
I installed an encrypted version of Ubuntu on my PC. If I start my computer appears this login screen:
I'm unable to type in the passcode. Nothing appears. Also if I type in the correct passcode and ...
5
votes
1
answer
4k
views
Why does Ubuntu's full disk encryption require no time?
As far as I understand, the "Encrypt the new Ubuntu installation for security" option in the Ubuntu installer is meant to provide full disk encryption.
However, when using that option, it seems like ...
0
votes
0
answers
637
views
Can initramfs mount multiple partitions?
We're using dm-crypt to encrypt a data disk and would like to use Mandos to facilitate unattended boot. Unfortunately, I'm to understand that:
Mandos depends on the keyscript feautre of crypttab,
...
2
votes
1
answer
5k
views
How to mount a luks encrypted partition at boot
I have been given a task to creat a LUKS encrypted partition and then mount it, here are the steps I followed:
Create the partition for encryption:
sudo fdisk /dev/sda
Reboot
Format the partition ...
0
votes
1
answer
976
views
Ubuntu16.04 suddenly boots to a text-only (initramfs) prompt, restoring superblock doesn't fix it
So I thought I had faced the typical problem of getting a superblock corrupted (which I think happened because of an intended hard/unclean reboot). However after following the guide in the first ...
0
votes
1
answer
925
views
LVM encrypted LUKS on SSD - issue reverting to snapshots
Ubuntu 14.04.4 LTS
SSD is only drive (/dev/sda)
/dev/sda1 is boot partition
/dev/sda5 is encrypted LUKS partition
logical volumes sit on top of the LUKS partition
Reverting to snapshots seems to work ...
2
votes
1
answer
924
views
When is LUKS encrypting my data?
Assuming I have a partition encrypted with LUKS, which I mount and read from and write to.
My question is when is the data encrypted? When I write it or when I unmount the partition?
Also, what ...
0
votes
1
answer
5k
views
How to get Plymouth working with LUKS encryption after NVIDIA driver installation?
When I first set my computer up with LUKS encryption, during boot, right after Grub2, Plymouth takes over and you get a nice graphical screen with the prompt to enter the passphrase. And that screens ...
0
votes
2
answers
2k
views
How safe is luks?
I constantly think about encryption, and how safe it might be. The general information I have tends to be secured by passwords that range in the hundreds with random key combinations in between random ...
1
vote
0
answers
699
views
Custom encrypted partitions using 16.04
I have installed Ubuntu 16.04 Desktop using this guide. I have an unencrypted boot partition and a separate LVM partition which contains my root, home and swap partitions. If I boot from a live USB, I ...
1
vote
2
answers
2k
views
14.04.3 LTS + xenial kernel upgrade + nvme SSD - won't boot
I have a 14.04.3 LTS system that won't boot after upgrading to 4.4.0-24 kernel (xenial kernel image packages). It has an NVME SSD, and with the 4.4 series kernel, it can't seem to see the NVME. The ...
2
votes
2
answers
8k
views
Won't boot (drop to busybox) after kernel upgrade (with encrypted disks)
I have two systems - a 14.04.03 LTS and 16.04 LTS, both of which are not booting after recent kernel upgrades. Any help would be appreciated - I'm no expert, but it seems to me like the new kernel ...
1
vote
0
answers
2k
views
Can't boot into ubuntu with LUKS. System hangs at "cryptsetup: sda5_crypt set up successfully""
I've looked at a couple methods but this is all new territory for me.
Workflow:
I boot up my machine, then I'm asked for my pass phrase, I successfully enter it and I get the "cryptsetup: sda5_crypt ...
1
vote
1
answer
5k
views
Black screen after grub or at reboot with LUKS encryption
I know this subject was already treated, and I found a "fix" to bypass this black screen thanks to this answer (LUKS encyption part): My computer boots to a black screen, what options do I have to fix ...
1
vote
0
answers
82
views
Freshly installed Ubuntu boots into initramfs
a few days ago I installed Linux Mint but had no luck getting wifi working so I switched over to Kubuntu. Everything was working fine and finally after some days of tweaking I had everything setup ...
3
votes
1
answer
505
views
Ubuntu saying "Volume group ubuntu-vg not present" before prompting for password
Ubuntu 16.04 isn't prompting for my luks password. I pressed ctrl+alt+F1, and the output says "Volume group ubuntu-vg not present."
Of course not! I haven't been asked for my password! ubuntu-vg ...
0
votes
2
answers
1k
views
Recovering an Encrypted Home Partition Overwritten by LUKS
After aborting a recent installation attempt of Ubuntu 16.04 (which I've since installed without a separate home partition), I discovered that my existing encrypted home partition is no longer ...
0
votes
1
answer
305
views
Enlarging luks partition
I'm getting new SSD disk soon and want to dd my old disk to new one. My disk is fully encrypted and using LVM. My new disk will be twice ad big as I have now. I was wondering how to use remaining ...
1
vote
1
answer
2k
views
Mount LUKS encrypted hard drive at boot (luks key stored in HOME folder which is encrypted by ecryptfs)
This question is regarding the one raised at: Mount LUKS encrypted hard drive at boot
I have added my key to home folder and all works as a charm. Thanks guys!
However I would like to better ...
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 ...
4
votes
1
answer
3k
views
Cloning full-disc-encrypted system unencryptedly onto new disc
Essentially, I'm following this answer to clone the unencrypted content of a system with full-disc encryption to a new (smaller) SSD, from a live stick. I thought that would just consist of mapping ...
4
votes
1
answer
2k
views
How do I render Ubuntu unusable by deleting the full disk encryption key?
I have an old computer that I'm ready to get rid of that has been encrypted using LUKS full disk encryption. Is it possible to delete the encryption key from the LUKS metadata so that nobody will ever ...