From 7459f6fa38e30ebb1f040c114c98ac2b6715eed3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 6 Oct 2013 13:55:26 +0200 Subject: [PATCH] Disallow Memtest86+ with GRUB 1 The GRUB entry as given is syntactically invalid. --- modules/system/boot/loader/grub/memtest.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/system/boot/loader/grub/memtest.nix b/modules/system/boot/loader/grub/memtest.nix index 006d777b120..80c1a160cfd 100644 --- a/modules/system/boot/loader/grub/memtest.nix +++ b/modules/system/boot/loader/grub/memtest.nix @@ -31,10 +31,7 @@ in } '' else - '' - menuentry "Memtest86+" - linux16 @bootRoot@/memtest.bin - ''; + throw "Memtest86+ is not supported with GRUB 1."; boot.loader.grub.extraFiles."memtest.bin" = "${memtest86}/memtest.bin";