Questions tagged [dmcrypt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
190 views

What is causing my system to stall / freeze / corrupt data when using LVM + LUKS full-disk-encryption under Ubuntu Server?

Summary of Issue After enabling the LUKS / dm-crypt full-disk-encryption option available through the Ubuntu installer, disk I/O performance is absolutely abysmal. Writing to the disk stalls / freezes ...
user avatar
1 vote
0 answers
535 views

Cant install php8-dev on Ubuntu

I have Ubuntu 20.04 system installed, and I want to install mcrypt php extension. after I installed xampp server, I tried to install mcrypt so I need to install php-dev package first but I am getting ...
user avatar
-3 votes
1 answer
66 views

cryptmount and cryptsetup difference

dm-crypt have a two frontends are currently available: cryptsetup and cryptmount. Who know about cryptmount and cryptsetup difference?
user avatar
1 vote
2 answers
980 views

Unexpected behavior with dd cloning a LUKS encrypted disk

I did something stupid, corrupted my main linux install, and am juggling disks to back everything up. In the process I've run into a dd and/or LUKS issue I don't know how to deal with. dd does not ...
user avatar
6 votes
0 answers
1k views

How to automatically start a service after manually decrypting /home partition

Problem: I have a service,seafile.service, that automatically starts a Seafile server after boot. However, this service is failing to start on my Ubuntu server that has an encrypted /home partition. ...
user avatar
  • 161
0 votes
0 answers
452 views

LVM with dmcrypt using rEFInd not working after purging grub after a grub "update"

I accidentally updated grub and broke my system entirely. On an encrypted device (I am able to chroot and access everything though). After a while with no luck I decided to purge grub and install ...
user avatar
5 votes
1 answer
4k views

Why does Ubuntu's full disk encryption require no time?

As far as I understand, the "Encrypt the new Ubuntu installation for security" option in the Ubuntu installer is meant to provide full disk encryption. However, when using that option, it seems like ...
user avatar
13 votes
4 answers
8k views

How does FDE (Full Disk Encryption) work so quickly?

I'm curious about how does Ubuntu's full disk encryption works under the hood. Here's an example: Considering the following string as all the disk's content: hello world After applying some kind of ...
user avatar
  • 450
4 votes
0 answers
396 views

Gnome Disks is crashing when creating encrypted partition

In Ubuntu 15.10, I have a second hard-drive and I'm trying to create an encrypted partition using the included GUI for partitioning disks. But upon doing that Gnome Disks is crashing. This is a clean ...
user avatar
1 vote
1 answer
1k views

How to remove all block device files that no longer have corresponding physical devices attached?

I have a /dev/dm-# block device file and a link to it from /dev/mapper/somename even after detaching the physical device. Is it safe to just use rm on both? Is there a way to rescan physical devices ...
user avatar
  • 8,090
3 votes
2 answers
3k 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 ...
user avatar
2 votes
2 answers
7k views

DM-Crypt does not accept passphrase

The partition table is: sda1 - /boot sda2 - dmcrypt with LVM, containing root, home and swap volumes Cryptsetup does not accept passphrase, that have been used for a long time and can not have any ...
user avatar
  • 21
5 votes
3 answers
5k views

14.10 - Swap not available

My swap doesn't seem to be working. I tried to fix it but nothing I tried worked. Here is some relevant information to troubleshoot the problem: During install I chose to encrypt my home folder. Seems ...
user avatar
  • 325
38 votes
1 answer
2k views

Is it 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 ...
user avatar
  • 1,157
4 votes
2 answers
8k 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 ...
user avatar
  • 1,157
0 votes
1 answer
804 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 ...
user avatar
112 votes
14 answers
354k views

Mcrypt extension is missing in 14.04 server for mysql

The php mcrypt extension on ubuntu 14.04 shows that it is installed properly, but phpmyadmin says: The mcrypt extension is missing. Please check your PHP configuration. My current php config is ...
user avatar
1 vote
1 answer
945 views

Is Disk Utility encryption the same as dm-crypt?

I have found the following 2 minute video which shows how to encrypt a usb drive using ubuntu's disk utility app: http://www.youtube.com/watch?v=J_g-W6hrkNA My question is, is that method using dm-...
user avatar
  • 3,847
6 votes
2 answers
8k views

Decrypt TrueCrypt containers using dm-crypt

Is it possible to decrypt TrueCrypt containers using dm-crypt? I have some container files created with TrueCrypt and I just wanted to know if it's possible to decrypt them using dm-crypt so I can ...
user avatar
  • 3,847
1 vote
1 answer
2k views

/etc/crypttab ignored on boot

I wanted to setup encryption with dm-crypt and LUKS, but I set it up manually, not during installation process (I created LUKS partition and /etc/crypttab file properly). But the encrypted partition ...
user avatar
  • 1,157