From 4a74a1f483533de6a2ebd5c65d888d1be3995ac3 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 14 Mar 2018 22:34:15 +0100 Subject: drop grub workaround, use upstream support for multiple early initrd images This requires grub upstream support for multiple early initrd images: http://git.savannah.gnu.org/cgit/grub.git/commit/?id=a698240df0c43278b2d1d7259c8e7a6926c63112 --- README-mkinitcpio.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'README-mkinitcpio.md') diff --git a/README-mkinitcpio.md b/README-mkinitcpio.md index ca446da..1759d3f 100644 --- a/README-mkinitcpio.md +++ b/README-mkinitcpio.md @@ -127,12 +127,16 @@ Now rebuild your initramfs with: ### Boot loader -Update your `grub` configuration by running: +Make sure to load the cpio archive `/boot/ykfde-challenges.img` +as an additional initramfs. -> grub-mkconfig -o /boot/grub/grub.cfg +With `grub` you need to list `ykfde-challenges.img` in configuration +variable `GRUB_EARLY_INITRD_LINUX_CUSTOM` in `/etc/default/grub`: -This will add new boot entry that loads the challenges. With other boot -loaders make sure to load the cpio archive `/boot/ykfde-challenges.img` -as an additional initramfs. +> GRUB_EARLY_INITRD_LINUX_CUSTOM="ykfde-challenges.img" + +Then update your `grub` configuration by running: + +> grub-mkconfig -o /boot/grub/grub.cfg Reboot and have fun! -- cgit v1.2.3-54-g00ecf