is there way to automatically add the VGA=791 in menu.lst file?

Derek Broughton news at pointerstop.ca
Thu Jun 19 02:32:32 UTC 2008


Marius Gedminas wrote:

> On Wed, Jun 18, 2008 at 04:02:15PM +0100, Alan Milnes wrote:
>> Funnily enough if you look at menu.lst "vga=791" is precisely the
>> example thye give of how to do this:-
>> 
>> ## additional options to use with the default boot option, but not with
>> ## the alternatives
>> ## e.g. defoptions=vga=791 resume=/dev/hda5
>> # defoptions=
>> 
>> so you would put vga=791 at the end of the last line.
>> 
>> Do not uncomment it - this is a special line telling grub what
>> parameters to add.
> 
> <pointless-nitpick>
> 
> It's the update-grub script that processes this line, not grub itself.
> 
> </pointless-nitpick>

Iit's not entirely pointless.  The fact that it's an instruction to
update-grub, rather than grub, explains precisely why it's commented - so
that grub will ignore it.  Not unlike preprocessor statements in a C
program (though I suspect not many people these days know what C is...).
-- 
derek





More information about the ubuntu-users mailing list