[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689851: initramfs-tools: Wrong keymap at boot while, prompting for the passphrase



On Tue, Oct 09, 2012, Jean-Luc Coulon wrote:
>
> > Please send us the file /tmp/i/etc/boottime.kmap.gz
>
> Attached

Thanks.  Well, as far as I can see this is a correct keymap.  Se we have 
to figure out for what reason it hasn't been activated.  It is not an 
Unicode keymap, it is for ISO 8859-1 or ISO 8859-15.  Is this the 
encoding used on your system?  Anyway, since your password contains only 
ASCII symbols, I don't think this can be the source of the problem.

Another possibility is that the the initramfs image doesn't contain the 
gzip binary (yes -- gzip, not gunzip).  Two methods to solve this -- 
either include gzip in the image, or I can change setupcon to generate 
uncompressed keymap.

Considering that the generated boottime.kmap.gz seems to be correct, 
this is all that can occur to my mind at the moment.

On Tue, Oct 09, 2012, Ondřej Vodáček wrote:
> 
> I have encountered the same problem after upgrading from 0.107 to 
> 0.108. I have my root and home partitions on lvm on an encrypted 
> device. It is definitely a keymap problem. After 3 unsuccessfully 
> tries typing the passphrase a shell (busybox?) appeared and I was able 
> to figure out, that is switched to an English(?) layout. Normally I 
> have a Czech keyboard layout. I was then able to type in the right 
> passphrase and continue booting.

Ok, in case we have here the same source of the problem, this confirms 
that the problem is not Unicode/non-Unicode related.

Please try the command

loadkeys /etc/boottime.kmap.gz

while you are at this busybox shell and tell us the result.

Anton Zinoviev


Reply to: