Questions tagged [luks]

All questions relating to LUKS (the disk-encryption specification) for Linux

LUKS (Linux Unified Key Setup) is a disk-encryption specification written by Clemens Fruhwirth intended for Linux.

600 questions
104
votes
2 answers

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 asking for help specifically on how to do this (in a…
Jonas Malaco
  • 1,433
  • 1
  • 13
  • 14
97
votes
7 answers

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 Ubuntu install, click on Advanced features and choose…
Filbuntu
  • 12,241
  • 34
  • 87
  • 110
91
votes
4 answers

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 scenario. How can I install Ubuntu encrypted alongside…
Flimm
  • 40,306
  • 22
  • 94
  • 154
83
votes
4 answers

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 novice users to perform this basic task.
ervingsb
  • 1,151
  • 2
  • 9
  • 7
58
votes
6 answers

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?
Zzealdor
  • 583
  • 1
  • 4
  • 5
46
votes
4 answers

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 36 character random passphrase so I know thats…
browep
  • 728
  • 1
  • 7
  • 11
44
votes
3 answers

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 to remember this password forever, it gets saved…
Redsandro
  • 3,644
  • 6
  • 36
  • 46
42
votes
1 answer

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 make "Forget password immediately" the…
user308393
  • 1,237
  • 3
  • 16
  • 23
40
votes
6 answers

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 reboot yet). I have now completely disconnected…
Brent Bradburn
  • 2,766
  • 2
  • 29
  • 35
34
votes
4 answers

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, I have to choose "something else" and create…
Yvain
  • 524
  • 1
  • 4
  • 12
33
votes
4 answers

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 Yubikey version 2 it also supports HMAC-SHA1…
seanlano
  • 2,901
  • 3
  • 27
  • 44
28
votes
3 answers

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. For making these I followed the next…
zeugor
  • 411
  • 1
  • 5
  • 7
26
votes
2 answers

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 reboot so that it after one more reboot will…
Tobias
  • 1,568
  • 2
  • 19
  • 34
24
votes
4 answers

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://ubuntuforums.org/showthread.php?t=837416 I generated…
isoman
  • 669
  • 1
  • 8
  • 17
22
votes
2 answers

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: Invalid argument mount: mounting /dev on /root/dev…
Mads Skjern
  • 996
  • 3
  • 11
  • 23
1
2 3
39 40