Re: [Unattended] Unattended 4.9 - Linuxboot - Keyboard : SOLUTION
Regis Gras <[email protected]> Thu, 15 Jul 2010 13:41:18 +0200
| Newsgroups | gmane.comp.windows.unattended.general |
|---|---|
| Organization | DCM |
| Message-ID | <[email protected]> |
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
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info
Regis_Gras.vcf
(text/x-vcard, 287 B)
begin:vcard fn:Regis Gras n:Gras;Regis org:;Departement de Chimie Moleculaire adr:Domaine Universitaire BP 53;;301 Rue de la chimie;Grenoble Cedex 9;;38041;France email;internet:[email protected] tel;work:04 76 51 48 02 tel;fax:04 76 51 40 89 version:2.1 end:vcard