Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #157064
| From | Matthew Moore <a91738246@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: systemd and encrypted partition (was: grub and encrypted partition problem) |
| Date | 2015-08-29 21:20 +0200 |
| Message-ID | <q2TPr-2wt-5@gated-at.bofh.it> (permalink) |
| References | <q2Qoy-5X8-11@gated-at.bofh.it> <q2STn-1bx-7@gated-at.bofh.it> <q2TPr-2wt-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2015-08-29 08:23:25 PM, Hans wrote: > > > It would be nice, if someone could give me a clue, how to initialise the > > > crypt related configurations. > > > > How did you set up your partitions? Do you use cryptsetup? Did you fill > > out the relevant entries in /etc/cryptab? What happens if you run > > cryptdists_start? > > Yes, I did this command (which I used on all my other computers as well): > > cryptsetup -c aes-lrw-benbi -y -s 384 luksFormat /dev/sdaX > > then I opened it with "cryptsetup luksOpen /dev/sdaX myname" and at last I > formatted it with "mkfs.ext4 /dev/mapper/myname". > > In /etc/crypttab I got he correct entry > > myname UUID=UUID_of_/dev/mapper/mynameblabla none luks,retry=1,cipher=aes- > lrb-benbi:sha256 The UUID should be the UUID of the encrypted device (/dev/sdaX above), not the decrypted device (/dev/mapper/myname). Does running the command cryptdisks_start work? AFAIK that is what gets called during startup, so you can check your configuration without rebooting. Hope this helps, MM
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
systemd and encrypted partition (was: grub and encrypted partition problem) Hans <hans.ullrich@loop.de> - 2015-08-29 17:40 +0200
Re: systemd and encrypted partition (was: grub and encrypted partition problem) Matthew Moore <a91738246@gmail.com> - 2015-08-29 20:20 +0200
Re: systemd and encrypted partition (was: grub and encrypted partition problem) Matthew Moore <a91738246@gmail.com> - 2015-08-29 21:20 +0200
csiph-web