* Add Memtest86+ to the CD - useful.

svn path=/nixos/trunk/; revision=10060
This commit is contained in:
Eelco Dolstra 2008-01-03 15:24:34 +00:00
parent dc9b332fcd
commit 4760aa9d4c
1 changed files with 8 additions and 1 deletions

View File

@ -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 = "/";
}