Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GS2p6-0008TJ-UC for mharc-grub-devel@gnu.org; Mon, 25 Sep 2006 22:37:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GS2p5-0008T6-09 for grub-devel@gnu.org; Mon, 25 Sep 2006 22:37:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GS2p4-0008Sm-F1 for grub-devel@gnu.org; Mon, 25 Sep 2006 22:37:26 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GS2p4-0008Sj-Aj for grub-devel@gnu.org; Mon, 25 Sep 2006 22:37:26 -0400 Received: from [207.69.195.72] (helo=pop-sarus.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GS2tb-0002yC-S2 for grub-devel@gnu.org; Mon, 25 Sep 2006 22:42:07 -0400 Received: from user-0vvdf2d.cable.mindspring.com ([63.246.188.77] helo=diesel.unsanctioned.org) by pop-sarus.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1GS2p0-0003K1-00; Mon, 25 Sep 2006 22:37:22 -0400 From: Hollis Blanchard To: The development of GRUB 2 In-Reply-To: <001501c6dd18$2050d600$1b280a0a@IBM8430AC6AE12> References: <001501c6dd18$2050d600$1b280a0a@IBM8430AC6AE12> Content-Type: text/plain; charset=utf-8 Date: Mon, 25 Sep 2006 21:37:21 -0500 Message-Id: <1159238241.15166.4.camel@diesel> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 (2.6.3-1.fc5.5) Content-Transfer-Encoding: quoted-printable Cc: duanyuan0526@163.com Subject: Re: How to install a module into the kernel X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 02:37:27 -0000 On Thu, 2006-09-21 at 08:51 +0800, =E8=A2=81=E6=BA=90 wrote: > hi, > recently I have been working under grub2. I wrote some of my own > modules and I don't know how to add it to the grub2 kernel (I mean how > to pack it to the core.img,not using the command :insmod).I tried to > find ways through the Internet but i got none. I am very glad if you > can help me solve this. Hi, welcome! It looks like you need to add your files to kernel_img_SOURCES in conf/*.rmk. Could you tell us more about the modules you've written? Why do you need to have them built in? In other words, why can't you use insmod? Are they block device drivers? -Hollis