Bug 545000 - xen needs to be tested with grub2
Summary: xen needs to be tested with grub2
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Xen Maintainance List
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks: 514491
TreeView+ depends on / blocked
 
Reported: 2009-12-07 09:47 UTC by Paolo Bonzini
Modified: 2011-07-29 07:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-29 07:11:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Paolo Bonzini 2009-12-07 09:47:33 UTC
> latest grub had changed to "don't pass filename in multiboot
> command line".
> 
> The old cmdline format is: "module-name options..."
> The new cmdline format is: "options..."
> 
> So xen + grub2 always loss the first option, because xen will
> skip the first option.

Can be tested by installing e.g. RHEL5 and Ubuntu 9.10 on the same boot block.

The thread including http://permalink.gmane.org/gmane.comp.emulators.xen.devel/75161 outlines two possible approaches.

Progress of GRUB2 in Fedora is at http://fedoraproject.org/wiki/Features/Grub2

Comment 2 Laszlo Ersek 2011-06-20 13:16:31 UTC
This problem was fixed in upstream grub-2 (bzr revno 2480):

2010-06-28  Vladimir Serbinenko  <phcoder>

        XEN with Linux grub-mkconfig support.

        * conf/common.rmk (grub-mkconfig_SCRIPTS) [linux]: Add 20_linux_xen.
        * util/grub-mkconfig.in: Export GRUB_CMDLINE_XEN and
        GRUB_CMDLINE_XEN_DEFAULT.
        * util/grub.d/20_linux_xen.in: New file.

Upstream tracker:
http://savannah.gnu.org/bugs/?28548#history

Corresponding Debian bug closed by upstream:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557645#30

Comment 3 Paolo Bonzini 2011-06-27 11:03:53 UTC
Did you test it?  If you didn't, this should be reopened as TestOnly.

Comment 4 Laszlo Ersek 2011-06-27 11:58:04 UTC
As you wish.


Note You need to log in before you can comment on or make changes to this bug.