Change the console resolution

Change the console resolution

September 30th, 2005 by George Notaras

The default console resolution can be changed by passing the “vga=value” parameter fromGRUB. 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

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s