LUKS encryption with USB stick...How to?

asked 2016-02-14 12:49:59 -0600

timbolino gravatar image

Hi all,

I am new to fedora (former Ubuntu). Right now I try to implement a LUKS encryption via USB Stick. I took this tutorial (german) https://wiki.ubuntuusers.de/System_ve...

(englisch) https://www.len.ro/work/luks-disk-enc...

I am stuck an the point where I have to create the file "etc/initramfs-tools/hooks/decryptkeydevice.hook" because the is no such folder in fedora

#!/bin/sh
# copy decryptkeydevice files to initramfs
#

mkdir -p $DESTDIR/etc/
cp -rp /etc/decryptkeydevice $DESTDIR/etc/

Where do I put this file in fedora? How to update iniramfs with the new info?

edit retag flag offensive close merge delete