Bug 866559 - grub2: some modules should just be built-in on power
Summary: grub2: some modules should just be built-in on power
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 18
Hardware: ppc64
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-15 15:50 UTC by IBM Bug Proxy
Modified: 2012-10-30 23:38 UTC (History)
8 users (show)

Fixed In Version: grub2-2.00-10.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-30 23:38:46 UTC


Attachments (Terms of Use)
Implements the built-in modules solution. (9.98 KB, text/plain)
2012-10-15 21:29 UTC, IBM Bug Proxy
no flags Details


Links
System ID Priority Status Summary Last Updated
IBM Linux Technology Center 83710 None None None 2012-10-15 15:50:53 UTC

Description IBM Bug Proxy 2012-10-15 15:50:52 UTC
== Comment: #0 - NISHANTH ARAVAMUDAN <aravam@us.ibm.com> - 2012-07-26 19:28:44 ==
grub2 has a very modular design, which is very useful to keep the bootloader fast and small. However, size is less of a concern for power. And not having certain features guaranteed to be present (due to issues with the bootloader configuration) is a real concern in the field. This applies to both the rescue and regular grub modes.

The modules I recommend we build in are:
  msdos partitioning, ext* FS, LVM and reboot.

== Comment: #4 - NISHANTH ARAVAMUDAN <aravam@us.ibm.com> - 2012-09-18 18:30:36 ==
Sorry, I thought the right people had already been added to Cc (it's not me :) but they hadn't. Fixed now, and I'll let them decide if we should mirror, etc.

-Nish

== Comment: #6 - Gustavo Luiz Duarte <gusld@br.ibm.com> - 2012-10-10 16:25:04 ==
Adding more modules to be built-in to the grub core ELF is easy. It is a parameter passed by grub2-install to grub2-mkimage. However, there is a downside on adding many modules to the core ELF: they are fully initialized in the grub's first stage. It means you could hit a bug on a module you don't need and end up with a non-bootable system.
Another downside is that you wouldn't get updates for these built-in modules, as updating the grub2 package only updates the modules residing in /boot and not the grub core ELF in the PReP partition.

A proper solution would be to add to grub the ability of having built-in *inactive* modules which would be loaded and initialized only on demand (i.e. explicitly calling the insmod command).

Comment 1 IBM Bug Proxy 2012-10-15 21:29:59 UTC
Created attachment 627710 [details]
Implements the built-in modules solution.


------- Comment (attachment only) From pfsmorigo@br.ibm.com 2012-10-15 21:19 EDT-------

Comment 2 Fedora Update System 2012-10-18 18:07:30 UTC
grub2-2.00-10.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/grub2-2.00-10.fc18

Comment 3 Fedora Update System 2012-10-19 15:41:40 UTC
Package grub2-2.00-10.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing grub2-2.00-10.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16471/grub2-2.00-10.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-10-22 19:53:55 UTC
grub2-2.00-11.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/grub2-2.00-11.fc18

Comment 5 Gustavo Luiz Duarte 2012-10-30 23:38:46 UTC
grub2-2.00-10.fc18 works great!


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