summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-16 16:12:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-16 16:12:41 +0000
commit901ba75db55375e3c873eb96cb4c0fee54c8ff12 (patch)
tree7888ba0c16417556bd0feddd31bf2b15705e4927 /make_boot_img
parentd90f07bd189c20957496848aa2658890e1f2ad31 (diff)
downloaddrakx-901ba75db55375e3c873eb96cb4c0fee54c8ff12.tar
drakx-901ba75db55375e3c873eb96cb4c0fee54c8ff12.tar.gz
drakx-901ba75db55375e3c873eb96cb4c0fee54c8ff12.tar.bz2
drakx-901ba75db55375e3c873eb96cb4c0fee54c8ff12.tar.xz
drakx-901ba75db55375e3c873eb96cb4c0fee54c8ff12.zip
add "memtest" in isolinux (as advised by Thomas Backlund)
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) . "