Red Hat Bugzilla – Bug 866559
grub2: some modules should just be built-in on power
Last modified: 2012-10-30 19:38:46 EDT
== Comment: #0 - NISHANTH ARAVAMUDAN <firstname.lastname@example.org> - 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 <email@example.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.
== Comment: #6 - Gustavo Luiz Duarte <firstname.lastname@example.org> - 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).
Created attachment 627710 [details]
Implements the built-in modules solution.
------- Comment (attachment only) From email@example.com 2012-10-15 21:19 EDT-------
grub2-2.00-10.fc18 has been submitted as an update for Fedora 18.
* 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:
then log in and leave karma (feedback).
grub2-2.00-11.fc18 has been submitted as an update for Fedora 18.
grub2-2.00-10.fc18 works great!