* Add Memtest86+ to the CD - useful.
svn path=/nixos/trunk/; revision=10060
This commit is contained in:
parent
dc9b332fcd
commit
4760aa9d4c
@ -141,10 +141,14 @@ rec {
|
|||||||
# The configuration file for Grub.
|
# The configuration file for Grub.
|
||||||
grubCfg = pkgs.writeText "menu.lst" ''
|
grubCfg = pkgs.writeText "menu.lst" ''
|
||||||
default=0
|
default=0
|
||||||
timeout=5
|
timeout=10
|
||||||
|
|
||||||
title NixOS Installer / Rescue
|
title NixOS Installer / Rescue
|
||||||
kernel /boot/vmlinuz ${toString system.config.boot.kernelParams}
|
kernel /boot/vmlinuz ${toString system.config.boot.kernelParams}
|
||||||
initrd /boot/initrd
|
initrd /boot/initrd
|
||||||
|
|
||||||
|
title Memtest86+
|
||||||
|
kernel /boot/memtest.bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
@ -168,6 +172,9 @@ rec {
|
|||||||
{ source = system.initialRamdisk + "/initrd";
|
{ source = system.initialRamdisk + "/initrd";
|
||||||
target = "boot/initrd";
|
target = "boot/initrd";
|
||||||
}
|
}
|
||||||
|
{ source = pkgs.memtest86 + "/memtest.bin";
|
||||||
|
target = "boot/memtest.bin";
|
||||||
|
}
|
||||||
{ source = cdMountPoints;
|
{ source = cdMountPoints;
|
||||||
target = "/";
|
target = "/";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user