From 156870d3c55c678a3c8d416fb2528313d2bf654e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 10 May 2021 08:48:22 +0200 Subject: document order of initramfs images Fixes #34 --- README-dracut.md | 3 ++- README-mkinitcpio.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README-dracut.md b/README-dracut.md index 108e2af..1428fcc 100644 --- a/README-dracut.md +++ b/README-dracut.md @@ -124,7 +124,8 @@ Build the initramfs: ### Boot loader Make sure to load the cpio archive `/boot/ykfde-challenges.img` -as an additional initramfs. +as an additional initramfs. It has to be listed *after* microcode +updates (if available), but *before* main initramfs. With `grub` you need to list `ykfde-challenges.img` in configuration variable `GRUB_EARLY_INITRD_LINUX_CUSTOM` in `/etc/default/grub`: diff --git a/README-mkinitcpio.md b/README-mkinitcpio.md index ae1d420..fa00d07 100644 --- a/README-mkinitcpio.md +++ b/README-mkinitcpio.md @@ -128,7 +128,8 @@ Now rebuild your initramfs with: ### Boot loader Make sure to load the cpio archive `/boot/ykfde-challenges.img` -as an additional initramfs. +as an additional initramfs. It has to be listed *after* microcode +updates (if available), but *before* main initramfs. With `grub` you need to list `ykfde-challenges.img` in configuration variable `GRUB_EARLY_INITRD_LINUX_CUSTOM` in `/etc/default/grub`: -- cgit v1.2.3-70-g09d2