Dan Nicholson wrote:

On 5/24/06, Stephen Liu <[EMAIL PROTECTED]> wrote:

Hi Simon and folks,

> With vga=ask you can get more information when you start the
> computer.

adding vga=ask on /boot/grub/grub.conf

<snip>


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


This has always kind of confused me, but the above table should help
you.  Unfortunately, the numbers need to be converted out of
hexadecimal into decimal.  For instance, I use vga=789, which is 0x315
in the table above, or 800x600 with 24 bit color.  This gives me over
100 columns horizontally with the font I'm using, which is plenty for
me.

Here's bc doing the brute force hexadecimal conversion from 0x315
(there may be a better way :)

$  echo "5*(16^0) + 1*(16^1) + 3*(16^2)" | bc
789

If you see a letter above, it's because hex is base 16.  That means
that A is decimal 10, B is decimal 11, and so on.

This also depends on your console being vesa.  Look for CONFIG_FB_VESA
in the graphics support section of the kernel config.  I'm not the
kernel guy, but that should get you going.

--
Dan


Thanks everyone for all of the replies. It turns out that I didn't have frame buffer support compiled into the kernel. I don't know how I missed that. Anyway, I recompiled the kernel with frame buffer support and now all is well.

Thanks again.

rblythe
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to