From: Andrei Borzenkov <arvidjaar@gmail.com>
To: "Hervé Werner" <dud225@hotmail.com>
Cc: "bug-grub@gnu.org" <bug-grub@gnu.org>,
Marco Gamberoni <gamberoni@libero.it>,
"grub-devel@gnu.org" <grub-devel@gnu.org>
Subject: Re: Changing default keyboard layout
Date: Thu, 13 Aug 2015 20:33:02 +0300 [thread overview]
Message-ID: <55CCD4CE.4030708@gmail.com> (raw)
In-Reply-To: <DUB128-W71F6855D659F76AA094F7E8F7E0@phx.gbl>
On 12.08.2015 22:17, Hervé Werner wrote:
> As requested I compiled the latest development version of Grub and installed it on a test laptop. Without any further configuration, Grub works fine, it is able to boot as intended but the keyboard mapping is us.
>
> I then added the following snippet :
> grubdir="`echo "/boot/grub" | sed 's,//*,/,g'`"
>
> grub-kbdcomp -o "${grubdir}"/layout.gkb fr
>
> cat <<EOF
> terminal_input at_keyboard
> insmod keylayouts
> keymap `make_system_path_relative_to_its_root "${grubdir}"/layout.gkb`
> EOF
>
> and ran grub-mkconfig which produced the following output in grub.cfg :
> terminal_input at_keyboard
> insmod keylayouts
> keymap /grub/layout.gkb
>
> I checked that the file /boot/grub/layout.gkb (as you have probably figured out, I have a dedicated partition for Grub's files), it is fine the file has been successfully created. At last I executed grub-install and rebooted. This time I'm no longer able to boot : the screen is freezing at Grub's main menu, the timeout counter isn't even decreasing and I'm not able to enter into Grub's rescue. Removing the insmod line doesn't change anything.
>
To be sure - does it hang without at_keyboard as well? keylayouts is
loaded automatically as dependency of at_keyboard anyway, and it is
quite unlikely anything in this module would cause observed effect.
> Could you please tell me what I could do to increase debugging output ?
>
First try to reproduce it without GUI - it is rather hard to see
anything in this case. Just boot grub without any grub.cfg - you will be
left in plain CLI. Now try
insmod at_keyboard
terminal_input at_keyboard
does it still work? If yes, try keymap /grub/layout.gkb; does it still work?
and to be sure - could you send me your gkb file for test?
next prev parent reply other threads:[~2015-08-13 17:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DUB128-W9390937FD593A87315BBB28F720@phx.gbl>
2015-08-09 13:19 ` Changing default keyboard layout Andrei Borzenkov
[not found] ` <DUB128-W71F6855D659F76AA094F7E8F7E0@phx.gbl>
2015-08-13 17:33 ` Andrei Borzenkov [this message]
2015-08-13 19:05 ` Hervé Werner
2015-09-02 0:31 ` Hervé Werner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55CCD4CE.4030708@gmail.com \
--to=arvidjaar@gmail.com \
--cc=bug-grub@gnu.org \
--cc=dud225@hotmail.com \
--cc=gamberoni@libero.it \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.