[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

for ppc, include all modules in the core image

From: Paulo Flabiano Smorigo/Brazil/IBM
Subject: for ppc, include all modules in the core image
Date: Tue, 16 Oct 2012 06:28:54 -0400
User-agent: Internet Messaging Program (IMP) H4 (5.0.22)

Hi all!

This patch implements the solution suggested by Gustavo Luiz Duarte

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).

Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group

Attachment: ppc_include_modules.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]