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

1
vote
0answers
33 views

Is cryptsetup required to unlock fully encrypted disk?

I was running into an issue after upgrading from 14.04 to 16.04. Following an answer, I ran in the root shell: apt-get remove plymouth Yet cryptsetup requires plymouth and it would have been ...
0
votes
1answer
35 views

Help to recover personal files from encrypted Home folder, Im on USB live USB

I need help to recover my files from "Home" in an encrypted partition with Ubunu 14.02 (I went with the encryption option from the installation). I couldn't boot normally on that system (normally ...
1
vote
0answers
30 views

Nvidia Login Freeze/Steam Fail

Update -- I worked through a few more links and edited the grub to change "Quiet Splashscreen" to "". Now I can see this output after entering my password for the disk encryption on boot. Error on ...
1
vote
1answer
21 views

ubuntu-standard package gone - how do I reinstall it in a clean way

This is pretty stupid and I wish I could go back in time... I installed cryptsetup and also ticked the boxes for mandos-client and busybox (I know now - I should'nt) and find myself with ubuntu-...
0
votes
0answers
104 views

Ubuntu 16.04 Freezes on start up on SDA_Crypt

I have a standalone install of Ubuntu 16.04, when I restart or boot it always freezes on the purple screen with 4 dots. I am new to ubuntu not sure how to get more detailed on the failure to fix it. ...
0
votes
0answers
219 views

Warning during update: cryptsetup: WARNING: failed to detect canonical device of /dev/sda1

preamble: Few years back I dropped my laptop, it subsequently failed to mount the sda1 disk. I recovered it mounting it with a live usb ubuntu distro. Ever since, my laptop has never been as smooth ...
0
votes
1answer
83 views

Upgrade to 14.04 causes “the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present” - Computer can't start: Live Disc Repair Option?

I am a relative newbie who used Ubuntu 12 a few years back on an old Dell to install Bitcoin Armory for Cold Storage. When recently deciding to retrieve a coin, I also took it out of storage, i.e. ...
0
votes
1answer
210 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 ...
1
vote
0answers
36 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 ...
1
vote
1answer
276 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
35 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
48 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
271 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
29 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
66 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
38 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
109 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
361 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
56 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
73 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---- ...
1
vote
1answer
306 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 ...
3
votes
0answers
579 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
203 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
577 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
172 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
346 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
350 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
345 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 ...
3
votes
1answer
1k 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
5k 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
470 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
839 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
466 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
8k 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 ...