[issue894] GRML2USB: Syslinux vesamenu.c32 not a COM23R image

David Dahlberg bts at bts.grml.org
Thu Aug 12 16:34:48 CEST 2010


David Dahlberg <david.dahlberg at fkie.fraunhofer.de> added the comment:

Am Donnerstag, den 12.08.2010, 13:44 +0000 schrieb Ulrich Dangel:

> > So what is the problem with non-Debian distros? Unresolved dependencies
> > to syslinux-common and maybe differing locations of the modules?
> 
> Yes. Mainly different locations. But maybe a combined approach like finding 
> the modules, fallback to the 4.x modules within grml2usb and test if the 
> modules on the directory match the isolinux version.

Let me try to get the things in order:

1. grml2usb uses the actual program call "syslinux" to install syslinux

2. The syslinux modules included in the iso file are matching the
   version of the isos syslinux boot loader.

3. The version of the modules in the iso and the version of syslinux
   used to install the bootloade do not necessarily match.
(3b. The version of the syslinux programm and the installed modules on 
   the installing system could possibly incompatible, too. But this 
   is the distros problem. Compare the aforementioned Debian bug
   report, which is btw. solved by now.)

4. So if we try to install syslinux using the distros programm call,
   we should ensure, we copy the (hopefully fitting) module too.
   Otherwise installing an old GRML from a new system or a fresh GRML
   from an older system will fail.

Seems for me to be solved easily. In pseudo shell code:

mount /dev/usbstick /tmp/grml2usbHASH # If not mounted already
[ -x /usr/lib/syslinux/vesamenu.c32 ] \
  && cp /usr/lib/syslinux/vesamenu.c32 /tmp/grml2usbHASH/boot/
[ -x /usr/lib/syslinux/ifcpu64.c32 ] \
  && cp /usr/lib/syslinux/ifcpu64.c32 /tmp/grml2usbHASH/boot/
[ -x /usr/lib/syslinux/hdt.c32 ] \
  && cp /usr/lib/syslinux/hdt.c32 /tmp/grml2usbHASH/boot/addons/

Just a little bit more wisely -> should be do in copy_bootloader_files
and copy_addons. If the versions of syslinux and the modules are not
matching then, we may blame it to the distribution ;-)

Cheers,
	David





-- 
David Dahlberg <david.dahlberg at fkie.fraunhofer.de>    

Fraunhofer FKIE, Dept. Communication Systems (KOM) | Tel: +49-228-9435-845
Neuenahrer Str. 20, 53343 Wachtberg, Germany       | Fax: +49-228-856277

----------
messages: 3322, 3323, 3327, 3328, 3330
nosy: dahlberg
priority: bug
status: chatting
title: GRML2USB: Syslinux vesamenu.c32 not a COM23R image

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue894>
_____________________________________


More information about the Bugs-changes mailing list