Questions tagged [cryptroot]

6 questions
6
votes
2 answers

How Do I Customize the "cryptroot" Script?

I have a system where all the partitions (/, /home, and swap) are encrypted except for /boot. /boot resides in an external device which also contains a set of encrypted key files used to automatically decrypt all of the partitions. In other words,…
Kevin Li
  • 319
6
votes
2 answers

After upgrade to 20.04: luks doesn't open my disk on boot; cryptroot/crypttab is empty, cryptsetup doesn't recognize the crypttab entry

after upgrading to 20.04, my encrypted disk doesn't get decrypted on boot. I'm not asked for any password, so it obviously can't find any partition and boots into initrd prompt. What might be the reason: /cryptroot/crypttab in the initrd image is…
3
votes
1 answer

Cryptroot error during boot

After some time on Ubuntu 12.04 (sure not since the first intallation) I noticed the following error on boot: Begin: Running /scripts/local-top ... /scripts/local-top/cryptroot: line 24: dirname: not found Edit: content of…
jasmines
  • 11,311
1
vote
1 answer

NetworkManager won't manage interfaces after Cryptroot Unlock with Dropbear

I am running a computer with Ubuntu 20.04 with encrypted root partition. As I want to be able to unlock the computer via network I tried to use Dropbear to achieve this (For what I did see below). Now I have the problem that once the computer is…
loewexy
  • 41
0
votes
0 answers

Why does cryptroot hooks don't write the device name in cryptroot/crypttab" for LUKS device

I try to generate a initrd that contain in /cryptroot/crypttab the name of the LUKS device that I used and not the UUID. I don't understand the function crypttab_print_entry() of /usr/share/initramfs-tools/hooks/cryptroot, more specifically this…
AFR
  • 1
0
votes
1 answer

Encrypted root with a detached header in Ubuntu 20.04

I am trying to setup an encrypted root with a detached header in Ubuntu 20.04 I was able to get it to work successfully in Ubuntu 18.04. I created the file: /etc/initramfs-tools/conf.d/cryptroot…