[mdk-re] Re: [mdk-re] Re: [mdk-re] GRUB - ÐÁÒÁÍÅÔÙ
Igor Fadin
=?iso-8859-1?q?fid_=CE=C1_darim=2Eru?=
ðÔ ïËÔ 12 11:10:02 MSD 2001
On Fri, 12 Oct 2001 09:54:37 +0400
"Evgeniy Kobzev" <evgenik ÎÁ diamonds.ru> wrote:
EK> "640x480 in 16 bits (FrameBuffer only)" => 785,
EK> "800x600 in 16 bits (FrameBuffer only)" => 788,
EK> "1024x768 in 16 bits (FrameBuffer only)" => 791,
EK> "1280x1024 in 16 bits (FrameBuffer only)" => 794,
EK> );
EK> ñ ÐÒÏ ÐÏÓÌÅÄÎÉÅ 4 ÓÔÒÏÞËÉ. ÇÄÅ ÐÒÏ üôï ÍÏÖÎÏ ÐÏÞÉÔÁÔØ?
/usr/src/linux/Documentation/fb/vesafb.txt:
Linux_kernel_mode_number = VESA_mode_number + 0x200
So the table for the Kernel mode numbers are:
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 0x301 0x303 0x305 0x307
32k | 0x310 0x313 0x316 0x319
64k | 0x311 0x314 0x317 0x31A
16M | 0x312 0x315 0x318 0x31B
To enable one of those modes you have to specify "vga=ask" in the
lilo.conf file and rerun LILO. Then you can type in the descired
mode at the "vga=ask" prompt. For example if you like to use
1024x768x256 colors you have to say "305" at this prompt.
If this does not work, this might be because your BIOS does not support
linear framebuffers or because it does not support this mode at all.
Even if your board does, it might be the BIOS which does not. VESA BIOS
Extensions v2.0 are required, 1.2 is NOT sufficient. You will get a
"bad mode number" message if something goes wrong.
1. Note: LILO cannot handle hex, for booting directly with
"vga=mode-number" you have to transform the numbers to decimal.
2. Note: Some newer versions of LILO appear to work with those hex values,
if you set the 0x in front of the numbers.
éÇÏÒØ
EK> _______________________________________________
EK> Mandrake-russian mailing list
EK> Mandrake-russian ÎÁ altlinux.ru
EK> http://altlinux.ru/mailman/listinfo/mandrake-russian
--
ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ community