GRUB_GFXPAYLOAD_LINUX should automatically insert vbe

Bug #545103 reported by juuMixx
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: grub2

When I use "GRUB_GFXPAYLOAD_LINUX=keep" in /etc/default/grub, I only get a blank screen after selecting the kernel and it doesn't boot. I could fix this by manually inserting "insmod vbe" to grub.cfg or adding "GRUB_PRELOAD_MODULES=vbe" to /etc/default/grub. This should be done automatically when GRUB_GFXPAYLOAD_LINUX is set, for example by adding it to /etc/grub.d/10_linux:

*** /etc/grub.d/10_linux 2010-03-23 14:39:17.952327708 +0100
--- 10_linux 2010-03-23 14:57:46.506358515 +0100
***************
*** 77,86 ****
--- 77,87 ----
  EOF
    save_default_entry | sed -e "s/^/\t/"

    if [ "x$GRUB_GFXPAYLOAD_LINUX" != x ]; then
     cat << EOF
+ insmod vbe
   set gfxpayload=$GRUB_GFXPAYLOAD_LINUX
  EOF
    fi

    if [ -z "${prepare_boot_cache}" ]; then

Revision history for this message
juuMixx (juumixx) wrote :

Patch as posted before in a separate file

Revision history for this message
juuMixx (juumixx) wrote :

$ wajig policy grub-pc
grub-pc:
  Installed: 1.98-1ubuntu2
  Candidate: 1.98-1ubuntu2
  Version table:
 *** 1.98-1ubuntu2 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

$ uname -a
Linux tranquillity 2.6.32-16-generic #25-Ubuntu SMP Tue Mar 9 16:33:52 UTC 2010 i686 GNU/Linux

Philip Muškovac (yofel)
tags: added: patch
Revision history for this message
Philip Muškovac (yofel) wrote :

Is it permittet to insert vbe twice? As I have gfxmode set here it seems that

  insmod ${GRUB_VIDEO_BACKEND}

from 00_header already does that as it turns into

  insmod vbe

in my grub.cfg. But I just can't seem to find out where GRUB_VIDEO_BACKEND gets set.

Revision history for this message
Philip Muškovac (yofel) wrote :

Can you please tell us the Ubuntu Release that you're using? I'm guessing it's Lucid from the GRUB_GFXPAYLOAD_LINUX option, but there the VIDEO_BACKEND module (set in /boot/grub/video.lst) is always inserted when
ogfxterm: gfxterm
is set in /boot/grub/terminal.lst

can you check what is set for you in /boot/grub/terminal.lst? Thanks.
(The patch should be changed to honor the GRUB_VIDEO_BACKEND, but I can do that once I get your feedback)

Changed in grub2 (Ubuntu):
status: New → Incomplete
tags: added: patch-needswork
Revision history for this message
Philip Muškovac (yofel) wrote :

Erm, Ignore the ubuntu release question, I was so focused on the grub scripts that I failed to realise that you told us that already...

Revision history for this message
juuMixx (juumixx) wrote :

Thank you for inspecting it.

Philip Muškovac (yofel)
tags: removed: patch
Revision history for this message
juuMixx (juumixx) wrote :

I just tested it again with version 1.98-1ubuntu6
Now it works without any modification, so I think this bug can be closed.

Changed in grub2 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Vishniakov Aleksandr (asvishnyakov) wrote :

This bug affects me too. Details:

Gigabyte GA-990XA-UD3 rev 1.0 with latest F14e BIOS (support UEFI)
ASUS HD7850-DC2-2GD5-V2 (Radeon HD 7850)
Latest Ubuntu 20.10 (UEFI mode), clean install with all updates.

Package versions:
grub-common/groovy-updates,now 2.04-1ubuntu35.1 amd64 [installed,automatic]
grub-efi-amd64-bin/groovy-updates,now 2.04-1ubuntu35.1 amd64 [installed,automatic]
grub-efi-amd64-signed/groovy-updates,now 1.155.1+2.04-1ubuntu35.1 amd64 [installed,automatic]
grub-efi-amd64/groovy-updates,now 2.04-1ubuntu35.1 amd64 [installed,automatic]
grub-efi/groovy-updates,now 2.04-1ubuntu35.1 amd64 [installed]
grub2-common/groovy-updates,now 2.04-1ubuntu35.1 amd64 [installed,automatic]

I see black screen instead of GRUB menu (Ubuntu booting successfully) until I add the following setting:

GRUB_PRELOAD_MODULES=vbe

Changed in grub2 (Ubuntu):
status: Invalid → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.