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

Enabling Linux to boot with framebuffer enabled for various screen resolutions

Steps
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.