[SOLVED] French Keyboard
-
- Beiträge: 12
- Registriert: 28 Sep 2010, 09:05
[SOLVED] French Keyboard
Hi
i don't know if you can help with this problem ; i would like to have the French keyboard in the miniroot.bz2 (/tftpboot/linux/miniroot.bz2)
i unzip the file and mount the miniroot and i create a "locale" file in /etc/default with LANG="fr_FR.UTF-8" but it doesn't work
thanks for your help
Dig
i don't know if you can help with this problem ; i would like to have the French keyboard in the miniroot.bz2 (/tftpboot/linux/miniroot.bz2)
i unzip the file and mount the miniroot and i create a "locale" file in /etc/default with LANG="fr_FR.UTF-8" but it doesn't work
thanks for your help
Dig
Zuletzt geändert von dixgrammes am 07 Dez 2010, 15:22, insgesamt 1-mal geändert.
Re: French Keyboard
try if
adding the kernel command line helps.
opsi 3.4
in opsi 4.0
Regards
Bardo Wolf
adding
Code: Alles auswählen
bootkbd=fr
opsi 3.4
Code: Alles auswählen
editing
/tftpboot/linux/pxelinux.cfg/install
Code: Alles auswählen
editing the server defaults with opsi-configed (managementinterface)
Propertyname
opsi-linux-bootimage.append
Bardo Wolf
OPSICONF 2024
https://opsi.org/en/opsiconf/
Basisworkshop Mainz :
17. - 20. 06. 2024
opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.
http://www.uib.de
-
- Beiträge: 12
- Registriert: 28 Sep 2010, 09:05
Re: French Keyboard
this is the pxelinux.cfg/default.menu
i just add bootkbd=fr, but it's the same.
and this is the bootimage log
thanks
dig
i just add bootkbd=fr, but it's the same.
Code: Alles auswählen
label opsi
menu label Installation Windows avec OPSI
kernel opsi/vmlinuz-2.6.35.4
append ramdisk_size=202504 initrd=opsi/miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash bootkbd=fr
Code: Alles auswählen
Nov 10 16:18:20 [opsiinit] opsi init script started
Nov 10 16:18:20 [opsiinit] opsi linux bootimage version: 20100901
Nov 10 16:18:20 [opsiinit] getBootParam(nodhcp): cmdline: ramdisk_size=202504 initrd=opsi/miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash bootkbd=fr BOOT_IMAGE=opsi/vmlinuz-2.6.35.4
Nov 10 16:18:20 [opsiinit] boot param nodhcp=0
Nov 10 16:18:20 [opsiinit] getBootParam(hn): cmdline: ramdisk_size=202504 initrd=opsi/miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash bootkbd=fr BOOT_IMAGE=opsi/vmlinuz-2.6.35.4
Nov 10 16:18:20 [opsiinit] boot param hn=
Nov 10 16:18:20 [opsiinit] getBootParam(lang): cmdline: ramdisk_size=202504 initrd=opsi/miniroot.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash bootkbd=fr BOOT_IMAGE=opsi/vmlinuz-2.6.35.4
Nov 10 16:18:20 [opsiinit] boot param lang=
Nov 10 16:18:20 [opsiinit] loading keymap de-latin1-nodeadkeys
Nov 10 16:18:20 [opsiinit] setting language environment (LANG=de_DE.UTF8, LANGUAGE=de, LC_ALL=de_DE.UTF8)
Nov 10 16:18:20 [opsiinit] getNetworkDevices(): link forced
Nov 10 16:18:20 [opsiinit] getNetworkDevices(): device(s) found: , device(s) with link:
Nov 10 16:18:20 [opsiinit] getNetworkDevices(): no devices with link found, returning error
Nov 10 16:18:20 [opsiinit] no devices found, sleeping 3 seconds
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): link forced
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): device(s) found: eth0, device(s) with link: eth0
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): device(s) with link found, returning eth0
Nov 10 16:18:23 [opsiinit] device(s) found: eth0
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): device(s) found: eth0, device(s) with link: eth0
Nov 10 16:18:23 [opsiinit] getNetworkDevices(): device(s) with link found, returning eth0
Nov 10 16:18:23 [opsiinit] using dhcp, adding entry for device eth0 to /etc/network/interfaces
Nov 10 16:18:26 [opsiinit] opsi init script ended
[3] [Nov 10 16:18:29] Locale not found: name 'LOCALE_DIR' is not defined (master.py|78)
thanks
dig
Re: French Keyboard
1) you must to modify /etc/init.d/opsi in the miniroot.bz2
To do this, folow this tips :
http://www.thegeekstuff.com/2009/07/how ... nitrd-img/
( do this in root, to conserve good right )
in the file /etc/init.d/opsi , line 110, add lines " ==> ...... "
......
case "$LANGUAGE" in
en)
# English version
LOCALE="en_US.UTF8"
KEYMAP="us"
;;
==> fr)
==> # French version
==> LOCALE="fr_FR.UTF8"
==> KEYMAP="fr"
==> ;;
esac
2) in opsi-configed
Propertyname
opsi-linux-bootimage.append
add "lan=fr"
It woks for me
To do this, folow this tips :
http://www.thegeekstuff.com/2009/07/how ... nitrd-img/
( do this in root, to conserve good right )
in the file /etc/init.d/opsi , line 110, add lines " ==> ...... "
......
case "$LANGUAGE" in
en)
# English version
LOCALE="en_US.UTF8"
KEYMAP="us"
;;
==> fr)
==> # French version
==> LOCALE="fr_FR.UTF8"
==> KEYMAP="fr"
==> ;;
esac
2) in opsi-configed
Propertyname
opsi-linux-bootimage.append
add "lan=fr"
It woks for me
Re: French Keyboard
Hi
thanks for your reply cdubreuil
can you tell me where to add "lan=fr" in the second part ?
i think its always in the miniroot, but i can't find the opsi-configed
perhaps you use the 4.0 opsi version
Thanks
thanks for your reply cdubreuil
can you tell me where to add "lan=fr" in the second part ?
i think its always in the miniroot, but i can't find the opsi-configed
perhaps you use the 4.0 opsi version
Thanks
O.Ferre
ENS de Lyon
ENS de Lyon
[SOLVED] Re: French Keyboard
it works !
this is the file /etc/init.d/opsi in the miniroot.bz2
thanks to cdubreuil for your help
this is the file /etc/init.d/opsi in the miniroot.bz2
Code: Alles auswählen
LANGUAGE="$(getBootParam lang 2>/dev/null || true)"
logMessage "boot param lang=$LANGUAGE"
[ -n "$LANGUAGE" ] || LANGUAGE="fr"
# Localization
LOCALE="fr_FR.UTF8"
KEYMAP="fr"
case "$LANGUAGE" in
fr)
# French version
LOCALE="fr_FR.UTF8"
KEYMAP="fr"
;;
esac
O.Ferre
ENS de Lyon
ENS de Lyon
- j.schneider
- uib-Team
- Beiträge: 1819
- Registriert: 29 Mai 2008, 15:14
Re: [SOLVED] French Keyboard
Thanks for the patch.
It will be integrated in the next opsi-linux-bootimage version.
Greetings,
Jan Schneider
It will be integrated in the next opsi-linux-bootimage version.
Greetings,
Jan Schneider