summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img7
1 files changed, 6 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img
index ce0f51c17..a28368a23 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -633,6 +633,7 @@ sub isolinux {
_ "lilo-bmp2mdk mode:0x103 progress:397,190,14,12,64+35 clear:600,800,64+33 pos:0,0 <isolinux-graphic.bmp >isolinux/boot.msg";
}
_ "cp /usr/lib/syslinux/isolinux.bin isolinux/isolinux.bin";
+ _ "install -m 644 -D /boot/memtest* isolinux/test/memtest.bin";
output "isolinux/isolinux.cfg", "
default linux
prompt 1
@@ -650,7 +651,10 @@ F2 advanced.msg
"label alt$::i
kernel alt$::i/vmlinuz
append initrd=alt$::i/all.rdz $default_append $default_acpi $default_vga
-" } @kernels);
+" } @kernels) .
+"label memtest
+ kernel test/memtest.bin
+";
output "isolinux/help.msg", (-e "isolinux/boot.msg" && pack "C*", 0x0E, 0x80, 0x03, 0x00) .
"
@@ -695,6 +699,7 @@ The following options may be added on the command line :
o 0fpatch07 to use a patch from the floppy (file named 09patch.pl07).
o 0fauto_install=floppy07 to enable auto_install using 09auto_inst.cfg07 file on the
floppy.
+ o 0fmemtest07 to test your computer RAM for faulty memory modules.
You can choose the following kernels :
" . join('', map_index { " o 0falt$::i07 is kernel $_\n" } @kernels) . "