Skip to main content

Questions tagged [dmcrypt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
162 views

Going from full encrypted system to unencrypted /boot and encrypted / - how to be asked for the passphrase?

I had a fully encrypted system with /boot and / on the same device (/dev/sd8 is root). / contained a keyfile under /etc/luks/ so that I only needed to enter a passphrase when GRUB started, not ...
Ph Sei's user avatar
  • 11
0 votes
0 answers
101 views

ecryptfs-setup-swap made a swap that is in clear text to root

I am running Ubuntu 22.04 LTS on a MacBook Air, SSD, using LVM without encryption. The original swap was mapped to /dev/dm-1. After running ecryptfs-setup-swap, the new swap was mapped to /dev/dm-2 ...
user1757959's user avatar
4 votes
1 answer
3k 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 ...
i_broke_dmcrypt's user avatar
1 vote
0 answers
1k 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 ...
Sajad Haibat's user avatar
-2 votes
1 answer
290 views

cryptmount and cryptsetup difference

dm-crypt have a two frontends are currently available: cryptsetup and cryptmount. Who know about cryptmount and cryptsetup difference?
Tsunani's user avatar
  • 11
2 votes
2 answers
3k 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 ...
Kensmosis's user avatar
  • 141
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. ...
Zythyr's user avatar
  • 161
0 votes
0 answers
500 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 ...
Preston Garno's 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 ...
nw9165-3201's user avatar
14 votes
4 answers
9k 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 ...
Hewbot's user avatar
  • 460
4 votes
0 answers
421 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 ...
Alexandru Nedelcu's user avatar
1 vote
1 answer
2k 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 ...
int_ua's user avatar
  • 8,684
2 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 ...
Mustafa Chelik's 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 ...
Dinarx's 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 ...
meta221's user avatar
  • 325
45 votes
1 answer
3k 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 ...
user308393's user avatar
  • 1,277
4 votes
2 answers
10k 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 ...
user308393's user avatar
  • 1,277
0 votes
1 answer
864 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 ...
user249264's user avatar
113 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 ...
matthapkidokarate's user avatar
1 vote
1 answer
968 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-...
oshirowanen's user avatar
  • 3,987
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 ...
oshirowanen's user avatar
  • 3,987
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 ...
betatester07's user avatar
  • 1,247