PDA

View Full Version : Creating New US Keyboard + Language Style Kernel



btbx
04-14-2009, 10:24 PM
Hi
I had succesfully compiled and booted new customized Kernel 2.6.29.1 with Knoppix 5.1.

Unfortunately the keyboard layout is in German and the language is German.
I had put "lang=us keyboard=us xkeyboard=us" on the grub file:
"/boot/grub/menu.lst"

Content of "/etc/default/locale":
# File generated by update-locale
LANG=en_US

But nothing fix the problem.
It's strange that I can boot pre-built standard Kernel 2.6.19 with "lang=us" and US style keyboard layout.

How to fix this problem?
Thank you.

btbx
04-16-2009, 12:06 AM
I found the solution:

Make sure:

CONFIG_CMDLINE_BOOL is not set

on the kernel ".config" file.

This option is available on main kernel configuration menu under "processor" with prompt:
"Built in Kernel Command line"

If this option is set to "YES", the new kernel will ignore all parameters on Grub and LILO, including lang=us, keyboard=us etc.

The default language and keyboard style on "/etc/init.d/knoppix-autoconfig" is German.

Therefore all new kernel with the above kernel option will use German style keyboard and German language.