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

learn more… | top users | synonyms

13
votes
3answers
24k 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?
1
vote
2answers
4k views

How do I get Grub2 to boot a Truecrypt-encrypted MBR?

Given the following system: /dev/sda1 Windows, encrypted using TrueCrypt /dev/sda2 /boot /dev/sda3 /, encrypted (LUKS or how it is called) I now need GRUB2 to boot my truecrypt mbr ): Any hint on ...
1
vote
1answer
17 views

Encrypt second hard disk with same password

I installed Ubuntu 14 LTS with disk encryption (selected during installation). I have two questions: 1- What is encryption algorithm of current encrypted disk? 2- I have a second hard disk and I ...
0
votes
1answer
712 views

Can I “cryptsetup … luksFormat” a partition formatted with Ext4, or must it be unformatted?

I would like to setup Full Disk Encryption (FDE) for an external harddrive. My question is about the sequence of formatting. Will the following sequence work fine or do I need to run luksFormat on an ...
0
votes
0answers
10 views

Dual boot with LUKS encryption with 2HDD's(Probably repeat)

As the header states, I am wondering it it's possible to do a FULL DISK encryption on my UBUNTU HDD while having windows on a COMPLETELY DIFFERENT HDD? Will Grub2 allow for this? If so.. How? ...
8
votes
2answers
3k 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 ...
4
votes
4answers
2k views

Luks two-factor authentication

is it possible to create a crypted partition with a two-factor authentication ( decryption with password and keyfile ) with LUKS, like in truecrypt?
0
votes
0answers
44 views

LUKS encrypted FS can no longer be mounted after upgrading Kubuntu

everyone! I fresh installed Kubuntu 15.04 these days but before I copied my /home partition to a encrypted partition on my spare HD. The problem is that I can decrypt it but cannot mount the LVM no ...
-1
votes
1answer
20 views

Encrypted filesystem shared with Mac OS X

Is there a reliable encrypted filesystem that works under both Mac OS X and Linux? It need not be the boot partition for either Linux or Mac OS X, but I'd like stable reads and writes if possible. ...
0
votes
1answer
32 views

What information should I preemptively store to be able to recover encrypted data?

All of the posts that I can find regarding encrypted-data recovery regard specific situations. I currently have functioning partitions and directories, but would like to maximise my chances of ...
0
votes
0answers
73 views

Ubuntu does not boot successfully with btrfs root partition errors

I have a setup on my laptop in which there are three partitions relevant to Ubuntu: a ext4 /boot partition, a btrfs root partition on LUKS and a swap partition on LUKS. Sometimes, after an unclean ...
3
votes
2answers
1k views

Does dmcrypt/LUKS full disk encryption in kernel 3.0 have multi-core/multi-thread support?

I've read a lot about how fast TrueCrypt 7.0 is with it's support for AES hardware acceleration and multi-core/multi-thread support. Will dmcrypt/LUKS offer the same performance enhancing features on ...
5
votes
1answer
4k 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 ...
1
vote
1answer
172 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 ...
0
votes
0answers
38 views

LUKS and loop device

I read a lot of tutorials about LUKS/dm-crypt/cryptsetup, in particular about how to create an encrypted file container. First step is to create the file with dd. Then some tutorials map the file to ...
0
votes
0answers
25 views

Change the default option to “Forget password immediately” when mounting a Luks usb drive

I would like to do exactly what this poster wants to do: When a LUKS encrypted partition pops up the unlock window it gives 3 options for how to remember the password. The "Remember password ...
1
vote
3answers
67 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 ...
-1
votes
2answers
319 views

Luks Disk Encryption

I have setup disk encryption with 'LUKS' and configure it to auto mount when the system boots up. So now as it supposed, it prompts me a passphrase when the system boots up. If i enter the correct ...
0
votes
0answers
10 views

Ugrade to RAID5 with LUKS

I'm runninig Ubuntu 14.04 with a single disc (sda) and LUKS (sda1 is /boot, sda5 is /crypto_LUKS). I want now to add two additional discs (sdb and sdc) and build a RAID5 from the sda5 LUKS ...
0
votes
1answer
95 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 ...
0
votes
0answers
76 views

Lost LUKS partition, failed partition restore

and thanks for your time. I'm a bit over my head, so I think it's time to ask for help. I had a Tails USB drive, with a LUKS encrypted partition. I accidentally deleted the partition tables in ...
18
votes
3answers
27k 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 ...
0
votes
1answer
371 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 ...
1
vote
1answer
73 views

Are there any advantages/disadvantages (if any?) in running luksFormat on raw drive (sdx) vs a partition (sdx1)?

I've been setting up a few LUKS encrypted drives and noticed that I've been creating the encrypted disk directly on the 'raw'(?) drive, ie. /dev/sdb, while many examples via google are showing it ...
0
votes
0answers
74 views

How to recreate encrypted dm-crypt/LUKS partition with predefined UUID on Linux?

I have / and swap area of Ubuntu 14.04 LTS encrypted in dm-crypt/LUKS. / and swap area reside in /dev/mapper/UUID_1 and /dev/mapper/UUID_2. Is it possible to recreate the /dev/mapper/UUID on the ...
0
votes
3answers
421 views

clean install boot fails … ended up in BusyBox (initramfs) … a case for e2fsck

The computer gave me some strange errors like 'device not found' always while booting into Ubuntu, so tried to figure it out and used only the tips from this site to get a fast and secure virtual ...
0
votes
0answers
112 views

Migration from Truecrypt to LUKS

I am looking for an alternative for True-crypt which can be used both at the disk level and with portable media. Having installed Ubuntu 14.04 ticking 'with disc encryption' enabled, it works very ...
0
votes
0answers
88 views

Recovering GPT w/ encrypted partition

I have a removable HDD whose partition table became corrupted during an interrupted file transfer. The device should contain a GPT with a single ext4 partition encrypted by dm-crypt/LUKS. lsblk: ...
21
votes
1answer
16k views

How can I install Ubuntu encrypted with LUKS with dual-boot?

Ubuntu 13.04 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 ...
2
votes
0answers
126 views

Recover Data from Encrypted LUKS HDD

Hei, I really need help with this! Yesterday my Kubutnu wouldnt boot anymore so I booted with a Live CD and could fix the problem with this Tutorial: ...
6
votes
2answers
4k views

Slow SSD + dm-crypt with Luks encryption in Ubuntu 12.10

I have an 128 GB SSD installed in my laptop (Samsung 840 Pro) on a Sata 3 interface. This laptop also has an i5 3210m Ivy Bridge Intel processor and 8 GB of RAM. I installed Ubuntu 12.10, using the ...
0
votes
1answer
804 views

Encrypting FAT32 with Luks

In previous versions of Ubuntu I was able to encrypt USB flashdrives using the disks tool in any format I pleased. Now unfortunately I am only able to encrypt a flash drive in EXT format. This is ...
0
votes
1answer
197 views

Can Luks Be Used To Encrypt an NTFS Partition in Ubuntu?

(And then Boot into Full Windows With Luks Running Silently In the Background) I have a client that is completely unable to use Linux, but I was thinking maybe there was a way to setup their computer ...
2
votes
3answers
2k views

Cannot mount LUKS encrypted USB on boot after 12.10 upgrade

I use a USB disk to backup my Ubuntu machine and store the video files I work with. It is formated to ext4 and uses LUKS encription. When I was using 12.04 it was working flawlessly and would mount ...
0
votes
0answers
37 views

Encryption selected while installing Ubuntu but hard drive isn't encrypted

I have selected "encrypt new Ubuntu installation" on the Ubuntu 14.04 installer and typed in a passphrase setup. But after the installation was done my hard drive isn't encrypted. There is no ...
67
votes
0answers
3k 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 ...
1
vote
0answers
78 views

After selecting Grub entry, screen switches to power save

After I select an entry (Ubuntu) from the Grub menu, the screen goes to power save mode. I could eventually get the screen asking me for the HDD encryption password by pressing Alt-F1 and then Alt-F7 ...
0
votes
0answers
51 views

Split encrypted Ubuntu installation into multiple encrypted partitions

I run a standard Ubuntu installation with LVM-Luks-based encryption which was set up by the installer. Now I would like to split this installation up since I want to use my home with another Ubuntu ...
5
votes
4answers
7k 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 ...
0
votes
0answers
75 views

install with full disk encryption and a larger swap size

I have a laptop with 8GB RAM. When I install xubuntu and choose full disk encryption during the installer, it automatically creates an 8GB swap. I want to hibernate the computer, and if the RAM is ...
2
votes
0answers
383 views

How to restore a LUKS partition?

My /home partition disappeared on my main HDD. I changed SATA slots, then I got strange "no lvm available" errors during boot when usually the password would be entered (I do not have any lvm setup at ...
0
votes
0answers
585 views

How to recover encrypted LUKS lubuntu data?

I installed lubuntu 13.10 with encryption from the CD and then updated to 14.04 when it became available. Now booting up fails. My hard drive has at least two partitions, one boot and one LUKS ...
0
votes
0answers
300 views

Password to unlock LUKS volume requested multiple times even after correct password is given

Please help! There is win7 on separate logical volume. Then installed Ubuntu on a encrypted LVM (it is contains of two encrypted PV's). Everything's fine, but LUKS password asked for 5-8 times when ...
0
votes
1answer
466 views

How do you restore an encrypted hard drive? Password being available

Installed by Ubuntu 14.04 LTS Installer: I have installed Ubuntu 14.04 LTS Desktop onto my notebook PC, and I made a wrong decision to alter the file ownership and permissions from the root drive as ...
0
votes
1answer
46 views

“Corrupted shell” after cryptdisks_start

I've been using luks encryption for USB backup drives for years with no problems, but now I have some strange behaviour. The difference is that here the whole system (except /boot) is on LVM over luks ...
0
votes
1answer
304 views

Is LUKS key wiped out from RAM on shutdown, hibernation and suspend?

The question is basically whether Ubuntu is protected from cold boot attacks.
0
votes
0answers
143 views

Auto mount encrypted FS with grub2

I have been looking for a way to mount my encrypted partitions automatically during boot up, without asking for password. my setup for this process.. USB key: /boot partition /boot/efi partition ...
0
votes
3answers
421 views

No Swap Partition!

I'm in dire need of help. My system has become incredibly laggy and hardly usable. I have realised that this is because for some reason I'm running without virtual memory (this is not intentional). ...
0
votes
0answers
213 views

Luks encrypt / with a key stored in /boot

First, I know it sounds a little weird to do this (putting a key in plaintext on a drive), but here's why I want to do it this way: If I ever want to give the computer/drive to someone else, I want to ...
1
vote
0answers
53 views

I broke my luks disk by adding a key with the same passphrase and then removing it

This is a fun story. I wanted to change my passphrase, but I did something incredibly stupid (It was rather late and I had a pretty f***** up day/evening full of waterspouts, drunken drivers and a ...