From 4760aa9d4c5b78c7e6107e82685230c108fdbe5f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 3 Jan 2008 15:24:34 +0000 Subject: [PATCH] * Add Memtest86+ to the CD - useful. svn path=/nixos/trunk/; revision=10060 --- configuration/rescue-cd.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configuration/rescue-cd.nix b/configuration/rescue-cd.nix index cb08ebc7f04..90278a375e9 100644 --- a/configuration/rescue-cd.nix +++ b/configuration/rescue-cd.nix @@ -141,10 +141,14 @@ rec { # The configuration file for Grub. grubCfg = pkgs.writeText "menu.lst" '' default=0 - timeout=5 + timeout=10 + title NixOS Installer / Rescue kernel /boot/vmlinuz ${toString system.config.boot.kernelParams} initrd /boot/initrd + + title Memtest86+ + kernel /boot/memtest.bin ''; @@ -168,6 +172,9 @@ rec { { source = system.initialRamdisk + "/initrd"; target = "boot/initrd"; } + { source = pkgs.memtest86 + "/memtest.bin"; + target = "boot/memtest.bin"; + } { source = cdMountPoints; target = "/"; }