[syslinux] Selecting keyboard mappings in syslinux

Dag Wieers dag at wieers.com
Fri Aug 29 08:24:22 PDT 2008


On Thu, 7 Aug 2008, H. Peter Anvin wrote:

> Dag Wieers wrote:
>
>> Having the unfortunate disadvantage to live in a country that uses the
>> Belgian keyboard (azerty, much like French keyboards) and being in a
>> corporate merge with Germany (qwertz) causes a problem to work with a
>> single syslinux-based ISO image.
-snip-
>> Otherwise we have to create an ISO image that is identical except for the
>> keyboard mapping.
>>
>> Any solutions I have missed ? :-)
>
> Use a menu which loads a new config file (via the CONFIG option).  The
> new config file can have an appropriate KBDMAP option.

I have now done this. I have duplicated the main isolinux.cfg file for 
every keyboard mapping that we want to have (also including uk, fr and 
us). That means I have 5 different files where the only line different is 
the prepended kbdmap-line.

I also included labels for each that loads the correct config file, 
however when I now do that, I get:

----
boot: de
Loading auto... failed!
Kernel load failure (insufficient memory?)
boot: 
----

The keyboard mappings in this case were changed to DE, but I apparently 
lost all other entries (none of the labels work anymore).

Any ideas what could be the problem, a typical label for the keyboard 
entries looks like:

----
menu begin keyboard
   menu title CORPboot v1.98 | keyboard
   menu exit main

   label be
     menu label Keyboard be
     config maps/be.cfg

   label de
     menu label Keyboard de
     config maps/de.cfg

menu end
----

Where the maps/be.cfg is the isolinux.cfg with the kbdmap maps/be.ktl 
prepended.

PS Another problem is that the "menu exit main" does not bring me back to 
the main menu when I press ESC in the keyboard submenu.

-- 
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]




More information about the Syslinux mailing list