The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
3answers
2k views

Unlock LUKS encrypted Debian root with key file on boot partition

I'm trying to decrypt the Debian root with a key file stored in the boot partition (decrypted partition). This will break the security, but it doesn't matter now. I have to conclude this successfully ...
1
vote
1answer
186 views

howto interpret `cryptsetup benchmark` results?

summary: I can run cryptsetup benchmark and sort the results, but seek guidance in their interpretation. E.g., should I give more weight to encryption speed or decryption speed? Should key-derivation ...
1
vote
1answer
72 views

Waiting long (few minutes) during boot for cryptsetup for password prompt

I have LVM on the top cryptsetup on my Debian unstable amd64. A week ago after upgrade my initramfs changed and now I have to wait few minutes at the beginning of the boot before cryptsetup asked for ...
1
vote
1answer
440 views

cryptsetup luksFormat - cannot open device for read-only access

I created a new partition that I would like to encrypt with LUKS. The device is a 1GB partition with ID 83 (Linux). I've changed the owner to root, and chmod to 777. The command I'm using is : ...
1
vote
1answer
188 views

Backup LUKS (cryptsetup Command) partition or volume

Can you create a file container/volume in LUKS in the same way that you could do with Truecrypt? Otherwise, how can you backup a LUKS partition? Do you have to clone it, for example with dd? or backup ...
0
votes
1answer
47 views

Decrypting a previously create losetup device

I've created an encrypted backup in 2004, using losetup -e. I still know the passphrase, so I should be fine, but losetup is gone in the linux distributions I use. I still have a bash script for ...
0
votes
1answer
27 views

Archlinux ARM Rasperry Pi decryption fail

I have created an encrypted Archlinux partition on my SD card, but currently I am unable to decrypt it. I am using the key "Xö&(4n=%YF3Ü!BN" which includes german letters. So for this I have ...
3
votes
0answers
142 views

adding encrypted /home in LVM/LUKS

I installed a new (debian) system to an SSD device. After standard install I want to mount /home on the internal HDD. To be able to ask the question, some details: On install I (manually) generated ...
3
votes
0answers
418 views

remap read-only LUKS partition to read-write

cryptsetup can be invoked with --readonly or -r option, which will set up a read-only mapping: cryptsetup --readonly luksOpen /dev/sdb1 sdb1 Once I have opened a device as read-only, can I later ...
3
votes
0answers
822 views

Unable to close a Luks partition

For backup purposes, I have "snapshotted" a LVM partition. This partition was crypted so I have opened this Luks partition (snapshot) in order to do my backup. The problem is that I have forgotten to ...
2
votes
0answers
99 views

LVM partition not mounting

There was a drive failure on a disk in a RAID1 configuration. I removed the bad disk and reconfigured the RAID1 to only use the good disk. When I reboot the machine there are missing LVM partitions. ...
2
votes
0answers
2k views

Accessed a TrueCrypt container without TrueCrypt. What dangers await?

I've got a TrueCrypt volume. In light of the unexpected demise of TrueCrypt, I've been trying to figure out what to do (reading lots of HOWTO websites). I'd like something that is simple and can work ...
1
vote
0answers
59 views

Initramfs in debootstrap chroot of fully encrypted system

I'm working on a script to create a fully encrypted washable system from debootstrap. It's doing some good, but the initramfs image that comes out does not pick up the cryptroot properly. After ...
1
vote
0answers
274 views

Difference between cryptopts and crypttab

I'm setting up an encrypted root fs, which I've done before, but this time I'm using a PGP-encrypted keyfile with a symmetric password to familiarize myself with the process. There are two places ...
1
vote
0answers
430 views

crypttab and veracrypt

I dual boot Fedora and Windows Vista and want them to share a partition so that I can work on the same files in both Linux and Windows, and I need everything to be encrypted. I encrypted the shared ...
1
vote
0answers
98 views

How to install linux (with crypto /Home + / partition) with enough swap space to hibernate

What are the steps to install Linux (with cryoto /Home + / partition) Mint on a empty hard drive with 1.5x swap space as RAM. I am aware that the CD allows this as a default option but it doesn't ...
0
votes
0answers
11 views

Cryptsetup boot many devices “timeout”

On my server, the crypttab file has 13 entries for every hard drive connected to it. 2 are for the system partitions, 2 are for the backup system and 9 are for the mediaserver and nfs stuff. ...
0
votes
0answers
38 views

Zenity, how to manage cryptsetup prompt?

With Zenity, I display a progressBar and install/config many stuff on a Linux Mint (Debian) computer. I had to avoid any prompt. But one step prompts Enter a passphrase:, this is cryptsetup ...
0
votes
0answers
35 views

Optimizing initramfs : Enter dm-crypt password with targeted initramfs?

All my Linux partitions except /boot lie on an encrypted LVM volume, like a typical modern Debian installation. In theory, I could shrink my initrd file by replacing the line MODULES=most in ...
0
votes
0answers
236 views

LUKS - changing passphrase with /dev/mapper/fedora-root

I would like to change my passphrase in LUKS, so I started with typing mount | grep 'on / '. The result was /dev/mapper/fedora-root on / type ext4 (rw,relatime,seclabel,data=ordered). So next as usual ...