Change console resolution

Add the following lines in /etc/default/grub:

GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768

Then, run:

update-grub