Bug 640486 - Grubby does not support grub module keyword (required by Xen)
Grubby does not support grub module keyword (required by Xen)
Product: Fedora
Classification: Fedora
Component: grubby (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Peter Jones
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-10-05 21:35 EDT by W. Michael Petullo
Modified: 2010-11-30 03:03 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-30 03:03:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description W. Michael Petullo 2010-10-05 21:35:12 EDT
Description of problem:
Grubby does not grub's "module" keyword. For example,

title Fedora (
	root (hd0,0)
	kernel /xen-4.0.1.gz
	module /vmlinuz- ro root=/dev/mapper/vg_imp-lv_root_64bit LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet init=/sbin/upstart 3
	module /initramfs-

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:
Notice grubby does not support the "module" keyword.
Actual results:

Expected results:

Additional info:
While Fedora does not yet officially support Xen Dom0 in the current version, Michael Young maintains a third party kernel that does. Support for the "module" keyword would make it easier to write a kickstart configuration that integrates Michael's kernel. See also https://fedoraproject.org/wiki/Features/XenPvopsDom0.
Comment 1 W. Michael Petullo 2010-11-29 16:23:32 EST
I am presently working on a patch for grubby that allows for multiple --add-kernel arguments if --add-multiboot is used:

grubby --add-multiboot=/boot/xen.gz --mbargs="[xen arguments]" --add-kernel=/boot/vmlinuz- --args="[kernel arguments]" --add-kernel=/boot/initramfs- --title="Xen Hypervisor"

Please see also http://lists.fedoraproject.org/pipermail/xen/2010-November/005264.html.
Comment 2 W. Michael Petullo 2010-11-30 03:03:59 EST
Actually, the following works fine:

grubby \
    --add-multiboot=/boot/xen.gz \
    --mbargs="[xen arguments]" \
    --add-kernel=/boot/vmlinuz- \
    --args="[kernel arguments]" \
    --initrd=/boot/initramfs- \
    --title="Xen Hypervisor"'

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