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

learn more… | top users | synonyms

1
vote
0answers
14 views

Thunderbird Profile on LUKS Encrypted flash drive not working

I want to store my Thunderbird profile on an encrypted USB flash drive and run it from there because I often switch between two computers with identical setups: Ubuntu 14.04 with the same user ...
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
15 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 ...
0
votes
0answers
14 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 ...
5
votes
1answer
68 views

How do I get dropbear to actually work with initramfs?

Bounty Bounty Bounty Bounty! 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 ...
0
votes
0answers
13 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 ...
1
vote
1answer
39 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) ...
2
votes
0answers
29 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
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
58 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. ...
-1
votes
2answers
166 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 ...
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
206 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
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
50 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
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 ...
1
vote
2answers
36 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
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? ...
0
votes
0answers
136 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
122 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. ...
1
vote
0answers
124 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 ...
5
votes
1answer
716 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
61 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
53 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 ...
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
3answers
160 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 ...
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 ...
1
vote
1answer
155 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 ...
1
vote
1answer
102 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
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
111 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: ...
0
votes
3answers
630 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 ...
2
votes
0answers
180 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: ...
0
votes
1answer
263 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 ...
0
votes
0answers
43 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 ...
1
vote
0answers
101 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
62 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 ...
0
votes
0answers
95 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
486 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
695 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
1answer
524 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
50 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
672 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 ...
0
votes
0answers
161 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
0answers
248 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
348 views

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 ...
1
vote
0answers
62 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 ...