Information from here
sudo dd if=path_of_your_image.img of=/dev/rdiskn bs=1m
rdiskn means raw disk device and is supposed to be faster to write to link
Add an empty file called ssh into the new drive named boot like so touch ssh.
Add a file called userconf.txt (touch userconf.txt) with the following content:
username:password
Where password is the encrypted password generated by running openssl passwd -6
sudo apt update
sudo apt full-upgrade
Change /etc/default/locale to this
# File generated by update-locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_ALL=en_US.UTF-8
For example like this: sudo nano /etc/default/locale