eworm-de / mkinitcpio-ykfde

Full disk encryption with Yubikey (Yubico key)
GNU General Public License v3.0
109 stars 26 forks source link

initramfs bad magic #34

Closed Nox-404 closed 3 years ago

Nox-404 commented 3 years ago

Hi, I noticed the cpio archive must be placed before the initramfs-linux.img in order to work. If I don't I get a initramfs bad magic(something of the sort) error upon boot that prevent ykfde to work.

Can it be added to the doc ?

Nox-404 commented 3 years ago

Also there isn't any instruction when using systemd-boot instead of grub

Here is my "working" systemd-boot loader config:

# /boot/loader/entries/default.conf
title   Default
linux   /vmlinuz-linux
initrd  /intel-ucode.img
initrd  /ykfde-challenges.img # <<<<<<HERE
initrd  /initramfs-linux.img
options rd.luks.name=xxxxxxxx=crypt root=UUID=xxxxxxxxxxx rw quiet splash