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

learn more… | top users | synonyms

0
votes
0answers
7 views

How do I encrypt my HDD and combine with my other encrpted HDD

I am trying to combine 2 HDD's. One of them is already encrypted and is my boot drive. The other one is not encrypted and Linux doesn't see it as more disk space. Could someone explain me how to do ...
1
vote
0answers
14 views

LUKS partition lost?

I'm starting to getting desperate about a partition encrypted with LUKS which is not recognized anymore. Here's what happend: Tried to resize partitions on sdb5 (lvm1 in crypt-container1). Made a ...
6
votes
4answers
8k views

Do you recommend LUKS encryption on a SSD (TRIM support)?

I have a laptop (Dell Inspiron 11z) and and SSD (Samsung 128GB) on order. On my current laptop, I have a spinning HDD and use LVM and LUKS encryption. I would like to use LUKS on the SSD but from ...
0
votes
0answers
13 views

Can't mount encrypted usb stick

I had a truecrypt encrypted usb stick, which I decided to reencrypt in LUKS through disk-utilities. I encrypted it, tested if I can mount it and put all my files on it. However, after a reboot I can't ...
2
votes
1answer
47 views
+50

How do I get dropbear to actually work with initramfs?

So I'm trying to unlock a headless server running an encrypted version of Ubuntu 14.04. It is a virgin 14.04.2 install with all updates as of writing. I went thtrough the standard shenanigans with ...
0
votes
0answers
11 views

Cannot acces encrypted usb drive

So I had a USB stick encrypted by truecrypt but as it isnt supported anymore I decided to reformat it with disk-utilities in LUKS. I overwrote everything and formatted the drive with disk-utilities in ...
80
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
2answers
34 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 ...
1
vote
1answer
38 views

Initramfs + Luks - only one password prompt

What I want to achieve: Being asked for a password, only once during boot time; The other (non-root) partitions to use the keyfile inside the /root/ directory. What I have achieved so far: (A) ...
-1
votes
2answers
164 views

Encrypted SWAP partition creation after ubuntu 15.04 installation, 15.04 installer bugs!

Today I decided to install clean copy of 15.04. Using the installer partitioning tool, I created an encrypted luks system volume, then created an unencrypted SWAP, clicked continue, then got an error ...
2
votes
0answers
28 views

cryptsetup: unknown fstype, bad password, ect. Bug? Ubuntu 14.04.2

I can't log in to my system at first I had gotten the following error: cryptsetup: unknown fstype, bad password or options? Ubuntu spammed this at boot. Now I can't run the Ubuntu OS ...
1
vote
1answer
153 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 ...
7
votes
1answer
3k views

How do I use dm-crypt (LUKS) with GnuPG to use two-factor for FDE?

When using full disk encryption with Ubuntu (opposed to homedir encryption), dm-crypt with LUKS is used for encrypting the volume. In the installer (at least on 12.04 alternate) you can choose between ...
1
vote
0answers
16 views

How can I repair my LUKS / ext4 file system?

my computer was running the whole night and my only open windows where IntelliJ IDEA and Google Chrome. Today my file system seems completely corrupted. Linux Mint can't read any files and folders ...
0
votes
0answers
37 views

How to resize a crypt-luks partition that takes all hard drive?

I want to shrink the partition to be able to install a windows OS, but i installed ubuntu 15.04 with encryption of the logical volume, gparted doesn't support crypt-luks so what do i do?
0
votes
2answers
57 views

how to lock LUKS partition from terminal?

I need to lock opened luks partition from terminal as normal user. in other words, I need terminal command do the same as sudo cryptsetup luksClose <name> but without root privileges. ...
5
votes
1answer
5k 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 ...
5
votes
1answer
704 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 ...
2
votes
1answer
2k views

LUKS and LVM install: no boot (gave up waiting for root device)

I just finished installing 12.04 on my system, configuring it with LUKS and LVM. I can open the encrypted position just fine in a recovery disk, but I just can't seem to get it to boot. It waits ...
0
votes
0answers
204 views

LUKS encryption over ecryptfs

My /home partition under Ubuntu is default encrypted (ecryptfs), but now the system isn't mounting it. Even worse, I don't even find the folder after encrypting for a second time with LUKS. This is ...
0
votes
0answers
42 views

Plymouth script with LUKS Encryption

ive been hacking round with Plymouth themes on my Ubuntu 12.04 install and have noticed some strange behavior that I can't seem to explain (or solve) Note. I have two drives - both are encrypted with ...
0
votes
0answers
34 views

Ubuntu fresh Luks/LVM Install “Operative System not Found”

I have a Dell Inspiron 7720 with two hdd, 1st: 1Tb and 2nd: 300Gb. The first hdd have Windows 8.1 Pro and i'm trying to install Ubuntu 14.04 LTS in the second. I made a fresh and clean install of ...
2
votes
0answers
49 views

Recover deleted full disk encryption partition

What I have: I have Xubuntu 14.04 installed on 500 GB HDD. The HDD consists of: Some small partition that seems to be for some EFI stuff a partition that holds /boot some free space at the end of ...
0
votes
2answers
287 views

How to change permissions on luks-dmcrypt encrypted device?

I encrypted a device using these directions sudo dd if=/dev/urandom of=/dev/sdb1 sudo cryptsetup -y -v luksFormat /dev/sdb1 sudo cryptsetup luksOpen /dev/sdb1 $name #change "$name" to any name you ...
0
votes
0answers
27 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 ...
14
votes
3answers
28k 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 ...
0
votes
1answer
923 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
17 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
134 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
115 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
41 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 ...
1
vote
0answers
123 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 ...
0
votes
0answers
60 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 ...
1
vote
0answers
52 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
159 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
434 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
11 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
0answers
114 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 ...
20
votes
3answers
30k 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
659 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
101 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
111 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
627 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
125 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
108 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: ...
22
votes
1answer
17k 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 ...