templates/boot/grub/addons: use chainloader instead of linuxefi
authorMichael Prokop <mika@grml.org>
Mon, 16 Oct 2023 18:24:12 +0000 (20:24 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 16 Oct 2023 18:29:11 +0000 (20:29 +0200)
commite57c3ad94e5fc7a2a4e83ef6c80c0caeb5eedea6
tree3fae0df570403b954978db148026eafeb719ba33
parent1a9a788fa46053e882e7332c6403b59ff8d437f1
templates/boot/grub/addons: use chainloader instead of linuxefi

As of grub2 2.12~rc1-1 the linuxefi module is no longer available:

| grub2 (2.12~rc1-1) experimental; urgency=medium
|
|   [ Julian Andres Klode ]
|   * New upstream version, 2.12~rc1
|   * build-efi-images: Drop linuxefi, using new loaders now
| [...]

So loading the memtest EFI file then fails with:

| error: can't find command `linuxefi'.

Use chainloader instead, to boot into the memtest EFI.
templates/boot/grub/addons.cfg