GRUB won't boot if splash image is missing

Bug #32216 reported by Anders Kaseorg
10
Affects Status Importance Assigned to Milestone
grub
Invalid
Undecided
Unassigned
grub (Ubuntu)
Fix Released
Low
Dustin Kirkland 

Bug Description

If GRUB can't find its splash screen (due to bug #32011, for example, but that isn't the point), it does the most absurd thing possible:
  Failed to read splash image ((hd0,3)/grub/default-splash.xpm.gz)
  Press any key to continue...
Nobody cares about your splash image, I just want to boot my computer. This is an especially serious problem on headless servers.

Related branches

Revision history for this message
Brian Derr (bderrly) wrote :

Anders, has this been fixed in a more recent version? Please let us know so we can either close the bug or escalate the issue.

Revision history for this message
Anders Kaseorg (andersk) wrote :

No, this is still a problem in grub 0.97-29ubuntu3; I reproduced it by adding splashimage=(hd0,2)/invalid to the top of /boot/grub/menu.lst.

(BTW, apologies for the tone of my original report—I must have been way too annoyed at the time.)

Revision history for this message
Brian Derr (bderrly) wrote :

From reading the docs @ http://www.gnu.org/software/grub/ it seems that there will be no effort to add splash image support to "legacy" GRUB. This change will have to be made at the distribution level until grub2 is available.

Changed in grub:
status: New → Invalid
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I saw the same behavior, when messing around with splash images; confirmed. I screwed up the path and rendered my machine unbootable until hitting a key.

Clearly not desired for unattended boots. But neither are splash images. So the priority is low.

I have a simple patch, testing now.

:-Dustin

Changed in grub:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

The attached patch has been tested and solves this problem. The error message is very briefly displayed, but it does not wait for a silly key-press.

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

In progress, and I've submitted a patch. Assigning to myself.

:-Dustin

Changed in grub:
assignee: nobody → kirkland
status: Confirmed → In Progress
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Applied such patch to a bzr branch:

lp:~kirkland/grub/grub.32216

:-Dustin

Revision history for this message
Daniel Holbach (dholbach) wrote : Sponsor Request

Steve: can you please take a look at it?

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 32216] Sponsor Request

On Fri, May 30, 2008 at 12:25 AM, Daniel Holbach
<email address hidden> wrote:
> Steve: can you please take a look at it?

Hey Daniel-

I spoke with Steve on IRC and he said that he preferred a mergable bzr
branch, rather than a debdiff. I followed his instructions and he
merged my fix. Thanks!

:-Dustin

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub - 0.97-29ubuntu22

---------------
grub (0.97-29ubuntu22) intrepid; urgency=low

  * debian/patches/graphics.diff: grub should not wait for an interactive
    keypress on failure to locate splash image, bad for unattended booting,
    (LP: #32216)

 -- Dustin Kirkland <email address hidden> Thu, 29 May 2008 13:44:59 -0500

Changed in grub:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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