After upgrading my Ubuntu MATE to 18.04, I can't login at the screen that says "Please unlock disk sda_crypt".
When I switch to a console-like screen by pressing ESC, I see the following messages.
Warning: Failed to connect to lvmetad. Falling back to device scanning. Volume group "ubuntu-mate-vg" not found Cannot process volume group ubuntu-mate-vg Please unlock disk sda5_crypt
I suspect this may be keyboard layout issue because the password is still working - I could boot into UBUNTU 17.10 from a USB stick and open the hard drive from GUI using the password. I've been using UK layout, but perhaps the upgrade reset it to US one?
But unfortunately I can't find a way to change the keyboard layout without getting past this screen first.
Could anyone help?
I've checked the keyboard layout settings. They both indicate UK layout, which is what I need. Is there any other file I could check?
# KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="pc105" XKBLAYOUT="gb" XKBVARIANT="" XKBOPTIONS="" BACKSPACE="guess"
setxkbmap -query command:
rules: evdev model: pc105 layout: gb
I've just reinstalled version 17.10 and upgraded it to 18.04. And I noticed that the upgrade changed the keyboard layout at the crypt unlocking screen from US to UK.
So, contrary to what I thought, I guess my crypt password had been based on the US keyboard, and it didn't work after the upgrade because the keyboard layout switched to the UK one.