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

learn more… | top users | synonyms

1
vote
3answers
26 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
7 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
37 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 ...
0
votes
1answer
58 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
48 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
49 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
79 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
70 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
301 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
96 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
132 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
36 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
61 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
49 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
67 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
284 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
457 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
382 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
31 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
251 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
117 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
189 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 ...
0
votes
0answers
277 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
47 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 ...
0
votes
1answer
189 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
1answer
544 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 ...
1
vote
1answer
441 views

LUKS hdd encryption: Maximum maximum password length?

Is there any maximum lenght of the passphrase in the hardrive encryption option on ubuntu (luks)?
-1
votes
2answers
246 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
259 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 ...
2
votes
0answers
125 views

Add second disk to encrypted laptop [duplicate]

I have installed cleanly 14.04 AMD64 onto my laptop which has two (SSD) disks. I used the default install with full disk encryption option on the first disk. However I'd now like to add a second disk ...
0
votes
0answers
68 views

Unable to log in after full disk encryption + separate Encfs encryption of home directory

I followed this (german) guide to set up an encrypted ubuntu system. However I wanted to have my home directory on a separate disk and also encrypted, but using encfs. So I chose a partition on ...
0
votes
0answers
54 views

How to mount encrypted home directory in an encrypted LVM with username/password

I mounted the LVM to ~/recover The private home folder is now here ~/recover/home/eshwar$Access-Your-Private-Data.desktop I tried ecryptfs-recover-private but it appears that the login passphrase is ...
0
votes
3answers
340 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
1answer
114 views

Creating a swap partition on an SSD with full encryption

Much to my surprise I recently found myself to lack a swap partition. Since (as is evident from the output of df, which I hereby repost) that I am running off a single encrypted volume, I was ...
1
vote
1answer
315 views

Dual boot w/ UEFI and LUKS - What do I need to know/do?

I want to rebuild my mobile workstation (HP EliteBook 8560w) to dual boot CentOS 6.5 and Ubuntu 14.01LTS. I would like to protect both instances with LUKS. In my research I have come across a few ...
1
vote
1answer
73 views

Encryption of hard disk [closed]

Is it possible to encrypt the hard disk without formatting in ubuntu. if yes so,please tell me with full description.
0
votes
0answers
350 views

how to decrypt a LUKS partition?

i checked the LUKS encryption while installing ubuntu 14.4. now i cant access windows partition. how can i decrypt that? i tried cryptsetup luksRemoveKey it just removed the key itself. is it even ...
0
votes
0answers
567 views

How to make luks partition auto-mounted at start-up?

What I have: 1st HDD (/dev/sda) with luks crypt partition (/dev/sda5) with LVM in it (/dev/mapper/sda5_crypt). LVM contains system root (/dev/mapper/TS1--vg-root) and swap ...
1
vote
0answers
164 views

Open multiple LUKS partitions at boot

I have a setup where I have 4 LUKS partitions that need to be mounted at boot time in order to assemble a RAID10 btrfs partition holding the root partition of my system. I was able to finalize the ...
2
votes
0answers
2k views

ubuntu 14.04 not booting, update-initramfs “nothing to do, exiting”

I did a mess while installing ubuntu 14.04 on my XPS 15 (9530 haswell) and I need help to rebuild boot partition. My computer has one miniSATA SSD 32 GB and a 1TB HDD. I crypted both with LUKS with ...
0
votes
1answer
148 views

Cannot mount partition with cryptsetup

I have a spare drive. I've attempted to format it and encrypt it. But even though the process appears to succeed and I can open the crypt, I cannot mount the newly mapped device. Here is the output of ...
4
votes
4answers
5k 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
198 views

How to fully encryped ubuntu on the Beaglebone Black

... or at least access LUKS partitions from a unencrypted system. In the past my BBB crashed during file copying on encryted SDHC that actually did mount. In the later versions from ...
0
votes
0answers
23 views

Different behavior of 2 encrypted LVMs

recently i created ext4 on top of luks on top of lvm. about 20gb. i also have similar configuration (900gb) created long time ago - i don't remember how exactly i created it. both are not mounted on ...
0
votes
0answers
177 views

cryptsetup-encrypted disks failing after restart (mb solved?)

I am using cryptsetup/luks (ETA: On 12.04) to encrypt partitions on external hard drives. Several times now, I've had disks fail to mount after an apparently normal restart (often a kernel upgrade, ...
1
vote
0answers
660 views

Unlocking Encrypted Root (LUKS on LVM) with “hidden” USB Keyfile

I have a Ubuntu Server 13.10 machine. Its root partition is encrypted with LUKS, which is then stored in a logical volume. On boot, the LV is mounted and then cryptsetup requests my passphrase; once ...
1
vote
1answer
1k 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 ...
1
vote
1answer
1k views

Cannot mount encrypted LUKS drive with “x-gvfs-show” option

I've used Linux Mint 16 Petra's Disks utility to format my external drive as an encrypted LUKS ext4 partition. The problem is that I can't mount it if I use the option "Show in user interface", that ...
4
votes
0answers
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 ...
2
votes
1answer
262 views

Expanding an encrypted xfs volume

I am working on expanding a currently attached volume to one of my Ubuntu Amazon AWS servers, but I am having some problems. I already created a new volume from a snapshot, then attached the newly ...