Trial & error with different answers, I came up with this solution (on Lish
while server is in rescue-mode
):
echo "LC_ALL=en_US.UTF-8" >> /etc/environment
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
locale-gen en_US.UTF-8
Last command resulted in the following error:
locale-gen: command not found
Here’s what you need to do (still on Lish
):
apt-get clean && apt-get update
apt-get install locales
locale-gen en_US.UTF-8
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete
You’re good to go…copy your server’s disk over to your local machine.