The cryptsetup tag has no wiki summary.
1
vote
1answer
53 views
Booting encrypted root partion fails after system update
I have a problem booting my Debian Linux server. After a system update, GRUB loads the initrd and the system should ask for the password, but it doesn't. Instead, I get dropped to BusyBox. After ...
0
votes
1answer
31 views
How to remove LUKS auto-unlock?
Unfortunately my drive unlocks automatically. This makes the whole encryption useless. How do I turn off this annoying feature on a specified drive (e.g. /dev/x) ?
The cryptsetup command I've found ...
2
votes
1answer
340 views
LUKS storing keyfile in encrypted usb drive
I already asked once about LUKS unlocking of multiple HDDs in Linux: LUKS and multiple hard drives.
Now I would like to know how to secure store the keyfile used for the automatic unlock of the ...
1
vote
2answers
64 views
Automatically suspend luks volume after delay
Anyone have any ideas for how I can automatically do a luksSuspend on a luks volume after it's been unused for a certain amount of time. I was thinking of just scheduling a command with crontab or ...
1
vote
1answer
30 views
Prevent file access from hanging when luks volume is suspended
I've got a luks volume setup and mounted, and when not in use I suspend it with cryptsetup luksSuspend so it cannot be accessed. But if I forget it's suspended and try to do any kind of file access in ...
5
votes
2answers
998 views
How to mount a cryptsetup container just with `mount`?
I created an encrypted container via
#!/bin/bash
dd if=/dev/zero of=$1 bs=1 count=0 seek=$2
MAPPER=$(mktemp -up /dev/mapper)
LOOPDEV=$(losetup --find --show $1)
cryptsetup luksFormat $LOOPDEV
...
1
vote
1answer
2k views
How can I shrink a LUKS partition, what does `cryptsetup resize` do?
I am in progress of resizing a LUKS encrypted partition that contains a single ext4 filesystem (no LVM or something). The cryptsetup FAQ recommends to remove the old partition and recreate it, but ...