Bug#495754: grub-pc: Support for screen resolutions other than 640x480 is not simple enough

Olaf Mandel olaf at mandel.name
Wed Aug 20 08:44:37 UTC 2008


Package: grub-pc
Version: 1.96+20080724-8
Severity: wishlist
Tags: patch

On some computers the screen display is not scaled if operated on a low
resolution. Instead, the image is simply displayed smaller. It should be
made easy to change the resolution that grub expects (defaults to 640x480).

The resolution could be encoded in a variable in /etc/default/grub, e.g.
GRUB_GEOMETRY. If the value of this is changed, the background picture
might become unusable. Therefore it is necessary to create one if the
picture in this resolution was not present before. Took the command
(rsvg) for that from bug #465087.

Missing in patch:
* Clean up unneeded automatically created pictures in 05_debian_theme.
* Automatically detect the correct panel resolution in update-grub.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/gucky-root / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/mapper/gucky-root /dev/.static/dev ext3
rw,errors=remount-ro,data=ordered 0 0
/dev/hda1 /boot ext3 rw,errors=continue,data=ordered 0 0
/dev/mapper/gucky-home /home ext3 rw,errors=continue,data=ordered 0 0
/dev/mapper/gucky-tmp /tmp ext3 rw,errors=continue,data=ordered 0 0
/dev/mapper/gucky-usr /usr ext3 rw,errors=continue,data=ordered 0 0
/dev/mapper/gucky-var /var ext3 rw,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,1)
search --fs-uuid --set 6e31361b-1310-4f39-b039-47fa5c0aefc8
if font /grub/ascii.pff ; then
  set gfxmode=1024x768
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,1)
search --fs-uuid --set 6e31361b-1310-4f39-b039-47fa5c0aefc8
insmod png
if background_image /grub/debian-blueish-wallpaper-1024x768.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_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,1)
search --fs-uuid --set 6e31361b-1310-4f39-b039-47fa5c0aefc8
menuentry "Debian GNU/Linux, linux 2.6.25-2-686" {
	linux	/vmlinuz-2.6.25-2-686 root=/dev/mapper/gucky-root ro  vga=792 splash
	initrd	/initrd.img-2.6.25-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-686 (single-user mode)" {
	linux	/vmlinuz-2.6.25-2-686 root=/dev/mapper/gucky-root ro single
	initrd	/initrd.img-2.6.25-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.18-6-686" {
	linux	/vmlinuz-2.6.18-6-686 root=/dev/mapper/gucky-root ro  vga=792 splash
	initrd	/initrd.img-2.6.18-6-686
}
menuentry "Debian GNU/Linux, linux 2.6.18-6-686 (single-user mode)" {
	linux	/vmlinuz-2.6.18-6-686 root=/dev/mapper/gucky-root ro single
	initrd	/initrd.img-2.6.18-6-686
}
### END /etc/grub.d/10_linux ###

### 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: lenny/sid
  APT prefers stable
  APT policy: (990, 'stable'), (400, 'testing'), (90, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.25-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.11etch2     Debian configuration
management sy
ii  grub-common              1.96+20080724-8 GRand Unified Bootloader,
version
ii  libc6                    2.7-13          GNU C Library: Shared libraries
ii  liblzo2-2                2.03-1          data compression library
ii  libncurses5              5.6+20080713-1  shared libraries for
terminal hand

grub-pc recommends no packages.

-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true


-- 
Olaf Mandel   <olaf at mandel.name>   <http://www.olaf.mandel.name/>
PGP key:      1024D/33398848 2002-09-19
Fingerprint:  0E33 BEA6 1A71 9C5E 62BD  FC0E 99A7 D2C6 3339 8848
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub2.diff
Type: text/x-patch
Size: 5617 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080820/c78fdd50/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080820/c78fdd50/attachment-0001.pgp 


More information about the Pkg-grub-devel mailing list