LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi,
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, 12:12 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,889

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
This article might answer some of your questions. This is the introduction from the article:
Quote:
GRUB2
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.
 
  


Reply


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 11:42 AM
How to insert the modules in apache sharad Linux - Networking 1 12-16-2005 01:56 PM
Insert Modules into Kernel aje Linux - General 3 10-30-2004 03:42 PM
can't insert modules into 2.6 Kernel maxi Debian 5 02-11-2004 06:07 AM
How to install/insert drivers/modules? atheist Linux - Hardware 13 01-29-2004 01:30 PM


All times are GMT -5. The time now is 02:18 AM.

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