[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grub2 not setting the vga= on one of 3 partitions



On Fri, 16 Oct 2009 21:03:30 -0400, Wayne <linuxtwo@gmail.com> wrote:
> Tom H wrote:
>> On Sat, Oct 17, 2009 at 2:03 AM, Wayne <linuxtwo@gmail.com> wrote:
>>> I finally have grub 2 installed. Whew.  It works for testing but, does
>>> not
>>> set the vga=31B on the stable entry.
>> 
>>> Generating grub.cfg ...
>>> Found Debian background: moreblue-orbit-grub.png
>>> Found linux image: /boot/vmlinuz-2.6.30-2-amd64
>>> Found initrd image: /boot/initrd.img-2.6.30-2-amd64
>>> Found linux image: /boot/vmlinuz-2.6.30-1-amd64
>>> Found initrd image: /boot/initrd.img-2.6.30-1-amd64
>>> Found linux image: /boot/vmlinuz-2.6.26-2-amd64
>>> Found initrd image: /boot/initrd.img-2.6.26-2-amd64
>>> Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
>>> Found memtest86 image: /boot/memtest86.bin
>>> Found memtest86+ image: /boot/memtest86+.bin
>>> Found Debian GNU/Linux (sid) on /dev/sda8
>>> Found Debian GNU/Linux (4.0) on /dev/sda9
>>> done
>> 
>>> The grub2 docs are, to say the least, sparce, and do not seem to have
a
>>> solution to this problem.
>>> I have looked for a file that I could edit to fix this but come up
>>> empty.
>>>  Anyone know where I can find it?
>>> Anyone have a pointer it a fix?
>> 
>> /etc/default/grub
>> GRUB_CMDLINE_LINUX_DEFAULT=...
> 
> Which I believe would make that partition, the stable dist, the default.
> 
> Right?
> 
> Which is not how I run.  I am running testing 99.9% of the time.
> 
> I only want stable, when I need it.
> 
> Thanks for the reply!
> 
> Wayne

Hi,

no it doesn't.

GRUB_CMDLINE_LINUX_DEFAULT sets the default kernel options that are used
when invoking update-grub.

my entries in /etc/default/grub look like:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="vga=791"


after running update-grub, my /boot/grub/grub.cfg has entries like:

linux	/vmlinuz-2.6.30-1-686 root=/dev/mapper/main-obsolete ro vga=791
quiet


it's true, i should not use the vga= parameter anymore although it still
works.

greetings,
vitaminx


Reply to: