Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-08-2012, 04:35 PM   #1
LQ Newbie
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
How to insert custom modules into GRUB

Can some one point me to documentation/steps on adding custom modules that can be loaded via GRUB2?
I read some where that the modules have to be built into the GRUB source in order to make it available.. is that correct?
Is there any restriction on what code these modules can execute.. for instance .. access PCI config space ?
Old 08-09-2012, 01:12 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
This article might answer some of your questions. This is the introduction from the article:
has a modular architecture with support for loading and unloading code modules as needed. Modules are similar to Linux kernel modules in some respects but in other ways they are like plugins for Mozilla Firefox or the Eclipse IDE. In this post I provide an overview of what a GRUB2 module is and show you how to modify an existing module to add new functionality. I also demonstrate how to develop, integrate, and test your own custom module using the GRUB2 grub-emu userspace emulator.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using modprobe.d to insert acpi modules rickh Debian 9 03-24-2007 12:42 PM
How to insert the modules in apache sharad Linux - Networking 1 12-16-2005 02:56 PM
Insert Modules into Kernel aje Linux - General 3 10-30-2004 04:42 PM
can't insert modules into 2.6 Kernel maxi Debian 5 02-11-2004 07:07 AM
How to install/insert drivers/modules? atheist Linux - Hardware 13 01-29-2004 02:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration