cryptsetup - setup cryptographic volumes for dm-crypt (including LUKS extension). cryptsetup is used to conveniently setup dm-crypt managed device-mapper mappings.

learn more… | top users | synonyms

0
votes
0answers
10 views

I can't unmask a service on Kubuntu Wily 15.10

I'm using Kubuntu Wily 15.10 (fully upgraded). It already had installed the cryptsetup package. I'm trying to start the cryptdisks service but I get this: $ sudo service cryptdisks start Failed to ...
0
votes
0answers
31 views

Dual Boot Encryption (Windows 10 & Ubuntu 14.04 LTS) [on hold]

I've been struggling to find a dual boot encryption guide on-line that is up to date and was wondering if someone smart could point me in the right direction. I'm using a fairly common dual boot ...
1
vote
0answers
15 views

Cryptsetup login fails after applying proprietary ATI driver (fglrx-updates)

I encrypted my installation of Ubuntu 14.04 while installing it, later I switched the driver of my ATI Radeon HD 6970 to "fglrx-updates". After that I could only close but not open any programs. I ...
0
votes
0answers
70 views

Ephemeral error message: “cryptsetup: unknown fstype, bad password or options?”

I activated disk encryption for my Ubuntu 15.10 64bit installation and get every time after entering the (correct) password the error message: cryptsetup: unknown fstype, bad password or options? ...
0
votes
0answers
17 views

15.10 loopback file hangs when raw file is zfs

In Ubuntu 15.10, when I create a loopback file,e.g., thus: losetup /dev/loop3 foo and foo is on ZFS, then the system hangs. This does not happen if foo is on an ext4 FS or on /dev/shm, or is a ...
0
votes
0answers
25 views

Freeze during boot on cryptswap setup

Can't boot into my Ubuntu 14.04. Looks like my Thinkpad X230 yesterday gone into hybernation mode and now can't awake. I have cryptswap set up. After I enter the passphrase the system freezes, ...
0
votes
1answer
83 views

cryptsetup: Cannot wipe header on device

I am trying to encrypt an external hard drive on Ubuntu 14.04 followig this guide. I started by formatting to ext4: $ sudo mkfs.ext4 /dev/sde1 mke2fs 1.42.9 (4-Feb-2014) Filesystem label= OS type: ...
0
votes
0answers
20 views

cryptsetup: Number Pad doesn't work

When entering the password at the cryptsetup prompt, the numberpad does not function correctly. It enters multiple characters instead of numbers. Toggling numlock does not change this behavior. The ...
0
votes
0answers
49 views

Problem with encryption algorithm 'aes256'

I followed this method to encrypt external hard-drive but there is a problem with aes algorithm alias sudo modprobe dm-crypt sudo modprobe sha256 sudo modprobe aes I get following error after aes ...
0
votes
1answer
28 views

How to get right value for the first field of crypttab? [closed]

I've lost my crypttab and I can't find a way to restore it. On another automatic installation it's 'sda5_crypt', but I can't find a command to list it.
0
votes
0answers
53 views

Problems to mount a crypto-luks in ubuntu

I have a drawback of novice person, I encrypt my hard drive with crypto - luks in ubuntu and now I can not access my data , I have tried everything I seen but always gives a different error , please ...
2
votes
1answer
206 views

cryptsetup luksAddKey throwing 'Maximum keyfile size exceeded' error - fix? 14.04

I am attempting to add a homekey entry to my /etc/crypttab in order to prevent entering a 3rd pass upon login on a 14.04 install w/ LUKS (root/swap/home). When I attempt to add the key using ...
0
votes
1answer
40 views

Access encrypted home directory of one user when I am logged in as another user

On Ubuntu 14.04 I have created an encrypted home directory for a certain user A (with ecryptfs-utils & cryptsetup). However I am usually logged in as another user B. When I am logged in as user B, ...
1
vote
0answers
54 views

Why are some of my devices in /dev/mapper symlinks while others aren't?

I have the following: ls -l /dev/mapper ...[snip] lrwxrwxrwx 1 root root 7 May 15 03:21 md1_crypt -> ../dm-0 lrwxrwxrwx 1 root root 7 May 15 03:21 md2_crypt -> ../dm-9 brw-rw---- ...
0
votes
0answers
117 views

Error while setting up an encrypted partition with cryptsetup

My goal is to install Ubuntu encrypted on a server with the help of the recovery console (from the hoster) via debootstrap. So I run the recovery console, which boots a live system (therefore I cannot ...
1
vote
1answer
211 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
249 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 ...
2
votes
0answers
398 views

Not accepting the crypt disk password at boot to unlock the disk for ubuntu 14.04

This is really a major issue. Check what happened. Please Help me with a solution... I had windows 7 installed in my laptop. I decided to install ubuntu 14.04 and remove windows 7. So while ...
2
votes
0answers
162 views

update-grub fails on lvm cryptoroot

Disclaimer: I'm running this server now but I did NOT install it. I have two disks connected to an Intel Hardware Raid Controller running in RAID1. On top of it there is a fully encrypted 12.04 ...
3
votes
0answers
489 views

Encrypted disk kernel warning - initramfs image won't boot

After an upgrade to 14.10 on my netbook, I can only manage to boot with the old kernel remaining from the previous 14.04 installation. For the most recent kernels, I get this warning when they are ...
1
vote
1answer
142 views

Problem after using LuksRemovekey?

I have an encrypted partition on /dev/sda5, yesterday I use cryptsetup to remove the encryption using cryptsetup luksRemovekey /dev/sda5, but when I restart I have to provide a passphrase for ...
1
vote
1answer
2k 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
1answer
281 views

Cryptsetup with optimized AES version

I am trying to set up an encrypted partition with dm-crypt and LUKS. I want to use the version of the AES cipher optimized with assembly instructions. I recompiled my kernel and added the required ...
0
votes
1answer
279 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 ...
0
votes
1answer
314 views

How to enable crypttab to run at boot

The cryptdisks service is set to run levels 0 and 6. However, I don't know if this is a correct setting because perhaps crypttab is made to run in some other fashion. In either case, this is a ...
2
votes
1answer
965 views

LVM on encrypted partition drops me to initramfs root missing

I installed Ubuntu 13.10 64bit on my PC. I have single hard disk (/dev/sda) with LVM encrypted partition. So the problem is that after reboot I cannot start Ubuntu (it dropped me to initramfs prompt ...
2
votes
1answer
4k views

Full System encryption with LUKS on headless server - unlock with dropbear and busybox. How?

I encrypted a headless server with cryptsetup/LUKS. 2 HDDs with 512 MB /boot on /dev/md0 and 1,61 TB LUKS encrypted /dev/md1 with LVM containing /, swap, and others. I installed dropbear (and busybox ...
2
votes
0answers
451 views

Ubuntu 13.04 does not boot after update

as a complete newbie to Linux, I just installed a brand new Lenovo ThinkPad X230 with Ubuntu 13.04 from USB stick. Downloaded the installer from ubuntu.com and put it on a stick. No issues. Next day ...
2
votes
0answers
2k views

What is the correct way to use key file LUKS authorization?

Before filing new bug reports i decided to try to get support on my situation here. Sorry for my english (it may sound frustrating) in advance, feel free to ask about additional details and thanks!! ...
2
votes
1answer
673 views

Cryptsetup does not accept passphrase after installation

I used the xubuntu 13.04 installer and selected german keyboard layout. Afterwards i checked that I want to install with encryption via LUKS on a LVM. There I entered my passphrase and the setup ...
0
votes
1answer
427 views

How do I find the password to a hard drive partition?

I am running Lubuntu 13.04 and I have a problem with a partition on my external drive. Basically, I either do not remember the password or some sort of error is not allowing my access the partition. ...
3
votes
1answer
7k views

Problems with cryptsetup during update

I'm still new to all of this. I think I was installing a bunch of updates, and after what seemed like an hour or so, I finally got this message in the Terminal window: cryptsetup: WARNING: failed to ...