GRUB_GFXMODE and update_grub2 don't work with multiple resolutions

Bug #506241 reported by Eric
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: grub-pc

In /etc/default/grub, use the GRUB_GFXMODE option to set more than one possible resolution, e.g.
   GRUB_GFXMODE="1400x1050;640x480"
Then run "update-grub2" to update /boot/grub/grub.cfg . This creates the line:
  set gfxmode=1400x1050;640x480
which doesn't work. The line should be:
    set gfxmode="1400x1050;640x480"
(notice the quotes).

ProblemType: Bug
Architecture: i386
Date: Mon Jan 11 21:53:54 2010
DistroRelease: Ubuntu 10.04
Package: grub2
ProcEnviron:
 PATH=(custom, user)
 LANG=C
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-10.14-genUser Name
SourcePackage: grub-pc 1.98~20100101-1ubuntu1
Tags: lucid
Uname: Linux 2.6.32-10-generic i686

Eric (weisscoder)
affects: grub (Ubuntu) → grub2 (Ubuntu)
description: updated
Revision history for this message
Jean-Sebastien Dominique (tehwan) wrote :

I know this is an old thread, but it is left unanswered.

Try escaping additional quotes:
GRUB_GFXMODE="\"1400x1050;640x480\""

It will produce extra quotes in grub.cfg:

set gfxmode="1400x1050;640x480"

This is how I got it to work.

Revision history for this message
Eric (weisscoder) wrote :

Thanks Wolf for the workaround. That worked for me.

Revision history for this message
Craig (craig-st) wrote :

Helped. Thanks!

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Spyros Kavvadias (thunk) wrote :

Workaround didn't work for me ( Ubuntu 12.04.3 )

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in grub2 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
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.