Package: grub2 Version: 1.97+20091115-1 Severity: normal Grub2 in Debian do not allow the use of "set gfxpayload" option indo grub.cfg, update-grub command remove it if the configuration is manual.
gfxpayload allow us change the console resolution, but Debian default files do not have this option to use with. A possible solution: 1) Into /etc/grub.d/00_header, add "set gfxmode=${GRUB_GFXPAYLOAD}" 2) Into /etc/default/grub, add "GRUB_GFXPAYLOAD=keep" "keep" is the default option for gfxpayload, it will get the value of "gfxmode" And now, if we need another resolution, we can edit /etc/default/grub and put another resolution for the console. Examples: GRUB_GFXPAYLOAD=1280x1024 GRUB_GFXPAYLOAD=1024x768 After run "update-grub" or "update-grub2", the gfxpayload option will works correctily. Or if there are another way to solve this in Debian, let me know. Thanks -- Package-specific info: *********************** BEGIN /proc/mounts /dev/disk/by-uuid/0054827f-c924-4ed1-bee3-9076a2ce5591 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0 /dev/hda7 /home ext3 rw,relatime,errors=continue,data=ordered 0 0 /dev/hda8 /usr ext3 rw,relatime,errors=continue,data=ordered 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/device.map (hd0) /dev/hda (hd1) /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 insmod ext2 set root=(hd0,8) search --no-floppy --fs-uuid --set 541f0bc3-b288-4713-a2ad-3fa39da817d0 if loadfont /share/grub/unicode.pf2 ; then set gfxmode=1024x768 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 set timeout=5 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### insmod ext2 set root=(hd0,8) search --no-floppy --fs-uuid --set 541f0bc3-b288-4713-a2ad-3fa39da817d0 insmod tga if background_image /share/images/grub/tapeta.tga ; then set color_normal=white/black set color_highlight=green/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, with Linux 2.6.30-1-amd64" { insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 0054827f-c924-4ed1-bee3-9076a2ce5591 linux /boot/vmlinuz-2.6.30-1-amd64 root=UUID=0054827f-c924-4ed1-bee3-9076a2ce5591 ro quiet initrd /boot/initrd.img-2.6.30-1-amd64 } menuentry "Debian GNU/Linux, with Linux 2.6.30-1-amd64 (recovery mode)" { insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 0054827f-c924-4ed1-bee3-9076a2ce5591 linux /boot/vmlinuz-2.6.30-1-amd64 root=UUID=0054827f-c924-4ed1-bee3-9076a2ce5591 ro single initrd /boot/initrd.img-2.6.30-1-amd64 } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Microsoft Windows XP Professional (on /dev/sda1)" { insmod ntfs set root=(hd1,1) search --no-floppy --fs-uuid --set 4c74ba6774ba5384 drivemap -s (hd0) ${root} chainloader +1 } ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### *********************** END /boot/grub/grub.cfg -- System Information: Debian Release: squeeze/sid APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages grub2 depends on: ii grub-pc 1.97+20091115-1 GRand Unified Bootloader, version grub2 recommends no packages. grub2 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org