Nicolas BOURGES wrote:
Hi,

I have a problem with the keyboard map in the pxe boot (4.9).

When I use "kdb=fr" to set keyboard in French, it doesn't work. I get a "qwerty" configuration keyboard.

Have you any idea to solve this problem ?
The configuration of the keyboard is done by the commande "loadkeys" in .../etc/master

loadkeys needs some map to work
loadkeys searchs key maps in /share/keymaps/i386/azerty (for the french keyboard)

The /share directory is mapped with Z
.../unattended-4.9/install/linuxaux/share/keymaps/i386/azerty ...

When the command loadkeys is started, Z is not mapped, and /share/keymaps/i386/azerty
is empty ..... so loadkeys fails

To solve this problem, I modified .../etc/master to restart the loadkeys command, just before the call for install.pl

# MODIF 15 Juillet 2010
# Configure the keyboard, if requested.
kbd=$(get_cmdline_param kbd)
[ -n "$kbd" ] \
   && loadkeys ${kbd#*=}
# A little sleep to see the result of the loadkeys command
sleep 5

perl -I/z/lib /z/dosbin/install.pl \
   || die "install.pl exited non-zero"
# End MODIF

But .... this modification should be in the initrd wich is loaded.
So, you have to uncompress initrd, modify .../etc/master and rebuild the initrd

   RĂ©gis



<<attachment: Regis_Gras.vcf>>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to