You are not logged in.

#1 2011-04-23 07:08:07

rwd
Member
Registered: 2009-02-08
Posts: 664

wrong keymap during boot: possible bug in initscripts?

I have a LUKS encrypted non-root partition that I unlock during boot by entering a passphrase. A couple of weeks ago my passphrase was not accepted anymore. I found out that this was because the key mapping was wrong: the non-letter keys all gave totally different symbols. Issuing 'loadkeys -u us' fixed this.  I examined /etc/rc.sysinit and it seems the loadkeys command is executed *after* the part where encrypted partitions are mounted at line 126. So putting 'loadkeys -u us' right above that fixed it during boot. Is this a bug or could it be a configuration issue?

Offline

#2 2011-04-23 13:28:13

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: wrong keymap during boot: possible bug in initscripts?

What's your KEYMAP in rc.conf?
Do you use the keymap hook in mkinitcpio.conf?


1000

Offline

#3 2011-04-23 16:45:56

rwd
Member
Registered: 2009-02-08
Posts: 664

Re: wrong keymap during boot: possible bug in initscripts?

I indeed have KEYMAP="us" in rc.conf, and HOOKS="base udev keymap pata scsi sata usb usbinput filesystems"  in mkinitcpio.conf. I'm using a  Macbook Pro 7,1 in bios compatibility mode (non-EFI) by the way.

Offline

Board footer

Powered by FluxBB