Change the console resolution

No Comments

The default console resolution can be changed by passing the “vga=value” parameter from GRUB. You can do this at the boot screen or by editing the /boot/grub/grub.conf file. For example:

kernel /vmlinuz-2.6.12-1.1447_FC4 ro root=LABEL=/ vga=0x303 quiet

Here follows a table with color depth / resolution combinations and their respective hexademical value for the vga parameter:

     | 640x480  800x600  1024x768 1280x1024
256 |  0x301   0x303    0x305    0x307
32k |  0x310   0x313    0x316    0x319
64k |  0x311   0x314    0x317    0x31A
16M |  0x312   0x315    0x318    0x31B

Change the console resolution by George Notaras is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright © 2005 - Some Rights Reserved

George Notaras avatar

About George Notaras

George Notaras is the editor of the G-Loaded Journal, a technical blog about Free and Open-Source Software. George, among other things, is an enthusiast self-taught GNU/Linux system administrator. He has created this web site to share the IT knowledge and experience he has gained over the years with other people. George primarily uses CentOS and Fedora. He has also developed some open-source software projects in his spare time.