Writing GRUB Modules: Difference between revisions

Removed stub, reduced complexity rating
[unchecked revision][unchecked revision]
(→‎Building: added appropriate CFLAGS)
(Removed stub, reduced complexity rating)
Line 1:
{{Rating|43}}
 
The whole architecture of [[GRUB]] changed as of version 2. The big new feature is modules. This lead to the elimination of Stage 1.5. It also means it is easier for you to put lot of cool functionality into your bootloader. You can now add support for new executable formats, filesystems, video drivers, kernel boot protocols, and so on.
Line 76:
=== Loading ===
Modules can be loaded with the insmod command, from the GRUB configuration file. For filesystem modules, this allows your OS to be booted from your FS, but requires a recognized format for your module. To solve this, you will need to add your module to core.img using grub-mkimage, which can be installed using grub-setup, or possibly grub-install (which is a shell script wrapper to mkimage and setup).
 
{{Stub}}
 
== External Links ==
Anonymous user