Created
October 24, 2017 17:13
-
-
Save Lartza/9858c068a053becbf337ef4d10e6d44e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cryptsetup luksFormat /dev/sda1 /boot/theKeyFile | |
cryptsetup luksOpen /dev/sda1 usb --key-file /boot/theKeyFile | |
mkfs.ext4 /dev/mapper/usb | |
mount /dev/mapper/usb /mnt | |
rsync -axv / /mnt | |
cryptsetup close(can't remember exact command) and recheck you can luksopen | |
remove splash from /boot/cmdline.txt like in the guide, try to reboot and try everything works like the guide says | |
(should be able to use luksopen with --key-file on the initramfs prompt too) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment