grub (vga = ) parameters

Bob Raymond guarneri
Mon May 17 11:38:05 PDT 2004


On Mon, 2002-09-23 at 17:15, Keith Morse wrote:
> On 21 Sep 2002, Bob Raymond wrote:
> 
> > On Sat, 2002-09-21 at 19:28, Keith Morse wrote:
> > > 
> > > Just trying to find documentation where the different modes are defined.
> > 
> > /usr/src/linux/Documentation/fb/modedb.txt
> > 
> > substitute /usr/src/linux for wherever your kernel sources happen to
> > be.  You might want to poke around the other files in the fb directory
> > while you're at it.
> 
> Thanks.  But I'm still not finding what the actual numbers mean.  For 
> example, I use vga=792 on this particular host.  Probably picked up that 
> number from a posting on UseNet.  But I don't know what video mode it 
> represents.  The grub documentation refers to 
> /usr/src/linux/Documentation/kernel-parameters.txt which in turn refers to
> /usr/src/linux/Documentation/i386/boot.txt.  None of which have any 
> specifics.  I found reference to 
> /usr/src/linux/Documentation/fb/vesafb.txt which has some info, though not 
> much in the way of mode definitions.  It makes mention of 
> /usr/src/linux/Documentation/svga.txt, which agains tantalizes, but does 
> not deliver.  
> 
> 792 is 0x318 hex but I could not back track how this number was derived.  
> On Google, "vga=792"  is found many times.  I'm assuming it's the 
> equivalent of 1024x768.  It does work well and RedHat's init scripts don't 
> muck it up as they do when using "vga=ask" and choosing a video mode 
> there.

That should be 1024x768 at 16 bit color.  I use 794, which is 1280x1024
at 16 bit color.



More information about the Linux-users mailing list