It seems you have configured your system locale incorrectly.
Using the next command we could get list of available locales:
locale -a
In my case I have:
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX
uk_UA.utf8
To get your current locales configuration run locale
:
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=uk_UA.UTF-8
LC_TIME=uk_UA.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=uk_UA.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=uk_UA.UTF-8
LC_NAME=uk_UA.UTF-8
LC_ADDRESS=uk_UA.UTF-8
LC_TELEPHONE=uk_UA.UTF-8
LC_MEASUREMENT=uk_UA.UTF-8
LC_IDENTIFICATION=uk_UA.UTF-8
LC_ALL=
Login as root in your gui terminal, where you could change to English and do:
update-locale LC_ALL=en_US.UTF-8 && . /etc/default/locale
Make sure, you have us
the first keyboard layout in /etc/default/keyboard
$ cat /etc/default/keyboard
XKBLAYOUT=us,ua,ru
XKBVARIANT=,winkeys,
BACKSPACE=guess
If us
not the first keyboard layout, make it the first and execute:
. /etc/default/keyboard
Also, try update-grub2
and update-initramfs -u
after previous commands using.
If you could not get into your system because of wrong locales configuration, then
- boot from Live CD (Try without installing option in Ubuntu installation image)
- identify your root partition by
sudo fdisk -l
- mount your root partition in read/write mode
- configure
/etc/default/keyboard
file as said previously
add into /etc/bash.bashrc
the next at the end:
export LC_ALL= "en_US.UTF-8"
export LANG = "en_US.UTF-8"
export LANGUAGE = "en_US.UTF-8"
try to boot into your system