Bug#541273: grub-pc: vga= kernel command line option has no effect when grub runs in console mode
Vasilis Vasaitis
v.vasaitis at sms.ed.ac.uk
Wed Aug 12 16:38:08 UTC 2009
Package: grub-pc
Version: 1.96+20090808-1
Severity: normal
Hi,
When I set GRUB_TERMINAL=console in /etc/default/grub (by uncommenting the
relevant pre-existing line), my vga=792 option to the kernel stops working.
Upon investigation, I found out that I can make it work again by adding the
following to the relavant menuentry:
insmod vbe
However, this is (a) completely undocumented and (b) not easy to automate,
beyond editing the scripts in /etc/grub.d directly.
I am running the latest version of the grub-pc package, i.e. I
grub-install'ed it. Thanks for providing the reportbug hook; I would have
missed it otherwise. :^)
If this issue could be addressed in some way, it would be much appreciated.
Regards,
Vasilis
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/sda4 / ext3 rw,relatime,errors=remount-ro,data=writeback 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/sda
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=3
set root=(hd0,4)
search --no-floppy --fs-uuid --set 129d2571-1793-48bc-9b24-7299b73aee55
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output.gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,4)
search --no-floppy --fs-uuid --set 129d2571-1793-48bc-9b24-7299b73aee55
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30" {
set root=(hd0,4)
search --no-floppy --fs-uuid --set 129d2571-1793-48bc-9b24-7299b73aee55
linux /boot/vmlinuz-2.6.30 root=/dev/sda4 ro vga=792 video=vesafb:mtrr:3 quiet
initrd /boot/initrd.img-2.6.30
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86 ###
menuentry "Memory test (memtest86)" {
set root=(hd0,4)
search --no-floppy --fs-uuid --set 129d2571-1793-48bc-9b24-7299b73aee55
linux16 /boot/memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
set root=(hd0,4)
search --no-floppy --fs-uuid --set 129d2571-1793-48bc-9b24-7299b73aee55
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
set root=(hd0,4)
search --no-floppy --fs-uuid --set 129d2571-1793-48bc-9b24-7299b73aee55
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii grub-common 1.96+20090808-1 GRand Unified Bootloader, version
ii libc6 2.9-24 GNU C Library: Shared libraries
ii ucf 3.0018 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 5.0.5 common files for the Debian Deskto
pn genisoimage <none> (no description available)
-- debconf information:
grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
* grub-pc/install_devices: /dev/sda
grub-pc/postrm_purge_boot_grub: false
More information about the Pkg-grub-devel
mailing list