change console resolution in linux
Do the following to change the console resolution:
1. Determine available resolutions
To do this, at the GRUB menu, press ‘c’
At the GRUB prompt type:
grub> set pager=1 grub> videoinfo
Take note of the desired resolution and reboot the system (or type ‘normal’ at the GRUB prompt)
NOTE: if ‘videoinfo’ GRUB command doesn’t work, then try ‘vbeinfo’
2. Configure GRUB to set the desired resolution
Add/edit the following lines in ‘/etc/default/grub’:
GRUB_GFXMODE=<resolution> GRUB_GFXPAYLOAD_LINUX=keep
where <resolution> is the desired resolution, for example: 1600×1200
3. Apply GRUB configuration
Execute the following command:
$ sudo update-grub
Leave a Reply