Seu /etc/grub.d/50_keyboard
parece estar incorreto.
\#!/bin/sh
exec tail -n +3 $0
\# Clavier fr
insmod keylayouts
keymap /boot/grub/layouts/fr.gkb
a linha exec com +3 parece errada. Mas em vez de alterá-lo ... ou renomeá-lo para 39_keyboard e corrigir a linha exec ...
- excluir
/etc/grub.d/50_keyboard
- editar
/etc/grub.d/40_custom
Adicione isto ao END deste arquivo:
insmod keylayouts
keymap /boot/grub/layouts/fr.gkb
para que o arquivo final se pareça com:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
insmod keylayouts
keymap /boot/grub/layouts/fr.gkb