reassign 587726 syslinux
tags 587726 + patch
thanks

Alright, I've finally got it to work. It's a bug in syslinux-themes-debian-squeeze, but since this package isnÄt in Debian yet, I'll reassign it to syslinux for your convenience. ;)

Please find a patch and rationale attached.

 - Fabian
>From ba8b8de9de6ca9fc2b5497cf21ff77205126c244 Mon Sep 17 00:00:00 2001
From: Fabian Greffrath <[email protected]>
Date: Thu, 1 Jul 2010 16:19:05 +0200
Subject: [PATCH] Start memtest image via linux (Closes: #587726 ).

Syslinux tries to estimate the kernel image file type by its file
extension if started via the "kernel" command. It falls back to
"Bootstrap program" for images with a ".bin" file extension.

Since this is wrong for memtest86+.bin images, which are compatible
with linux kernel images, booting them will fail. Overriding the
estimation by explicit calling them via the "linux" command makes
them boot properly.
---
 themes/debian-lenny/common/other.cfg   |    2 +-
 themes/debian-squeeze/common/other.cfg |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/themes/debian-lenny/common/other.cfg b/themes/debian-lenny/common/other.cfg
index 1802b9d..8d42144 100644
--- a/themes/debian-lenny/common/other.cfg
+++ b/themes/debian-lenny/common/other.cfg
@@ -9,7 +9,7 @@ label hdt
 label memtest
 	menu label ^Memory Failure Detection (memtest86+)
 	menu default
-	kernel themes/debian-lenny/memtest.bin
+	linux themes/debian-lenny/memtest.bin
 	text help
   memtest86+ detects memory hardware failures.
 	endtext
diff --git a/themes/debian-squeeze/common/other.cfg b/themes/debian-squeeze/common/other.cfg
index e79c43e..e445ea6 100644
--- a/themes/debian-squeeze/common/other.cfg
+++ b/themes/debian-squeeze/common/other.cfg
@@ -9,7 +9,7 @@ label hdt
 label memtest
 	menu label ^Memory Failure Detection (memtest86+)
 	menu default
-	kernel themes/debian-squeeze/memtest.bin
+	linux themes/debian-squeeze/memtest.bin
 	text help
   memtest86+ detects memory hardware failures.
 	endtext
-- 
1.7.1

Reply via email to