- Before of change the resolution, we need to understand what resolutions are available for this machine.
- Restart the system
- In this page press
c
and enter to the GRUB Command Line.- If you don't see this page, you should hold down the
shift
key.
- If you don't see this page, you should hold down the
[!hint] A pager is a tool for displaying the contents of files or other output on the terminal, in a user friendly way, across several screens if needed
- Set the pager, and use
videoinfo
command to see the available resolutions:
pager=1
videoinfo
- We see
*
sign in front of the current resolution
- Choose and write down the resolution somewhere
- Exit with
normal
command
normal
- Going to the address:
/etc/default/
- First, make a backup of the grub file and then get into it.
cd /etc/default/
ls
sudo cp grub grub.bkp
sudo vim grub
And this is the file we see:
8. Change the following value:
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
- Add the following key/value to the end of the file and save the file:
- and write the chosen resolution as value
GRUB_GFXPAYLOAD_LINUX=1024x768
10. Finally, update the grub file and then reboot:
sudo update-grub
init 6
The result (compare with the first picture):
- Going to the following address
/etc/default
- Take a backup of the console-setup file and enter it.
cd /etc/default/
ls
sudo cp console-setup console-setup.bkp
sudo vim console-setup
3. Change the font size to multiples of 8, 12, 16 and etc. in doubles of each:
- for example 16x32
I changed the font size in this value
12x24
.
4. Save the file and reboot
Final result: