Wikia

How To Wiki

How to make Linux to boot with framebufer in various resolutions for the text-mode

1,795pages on
this wiki
Talk0


Enabling Linux to boot with framebuffer enabled for various screen resolutions

StepsEdit

for Grub

  • Change in the file /boot/grub/menu.lst or /boot/grub/grub.conf the line from
    kernel /vmlinuz-2.6.xx-x-xx root=/dev/hdaX ro
    to
    kernel /vmlinuz-2.6.xx-x-xx root=/dev/hdaX ro video=vesafb:ywrap,mtrr vga=0x318

Here is a chart of kernel mode numbers for the 'vga=' boot parameter.

Colours 640x400 640x480 800x600 1024x768 1152x864 1280x1024 1400x1050 1600x1200
4 bits  ?  ? 0x302  ?  ?  ?  ?  ?
8 bits 0x300 0x301 0x303 0x305 0x161 0x307  ? 0x31C
15 bits  ? 0x310 0x313 0x316 0x162 0x319 0x340 0x31D
16 bits  ? 0x311 0x314 0x317 0x163 0x31A 0x341 0x31E
24 bits  ? 0x312 0x315 0x318  ? 0x31B 0x342 0x31F
32 bits  ?  ?  ?  ? 0x164  ?  ?  ?

External links Edit

Around Wikia's network

Random Wiki