Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Nhn7w-00041n-NJ for mharc-grub-devel@gnu.org; Wed, 17 Feb 2010 11:51:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nhn7u-00040K-CI for grub-devel@gnu.org; Wed, 17 Feb 2010 11:51:50 -0500 Received: from [140.186.70.92] (port=50356 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nhn7t-0003zf-JL for grub-devel@gnu.org; Wed, 17 Feb 2010 11:51:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nhn7r-0004uA-AW for grub-devel@gnu.org; Wed, 17 Feb 2010 11:51:49 -0500 Received: from mail2.ruggedcom.com ([204.50.148.11]:54415) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nhn7r-0004u3-6T for grub-devel@gnu.org; Wed, 17 Feb 2010 11:51:47 -0500 Received: from mail2.ruggedcom.com (10.200.2.23) by RCexchangeSVR1.ruggedcom.local (10.200.2.21) with Microsoft SMTP Server id 8.2.176.0; Wed, 17 Feb 2010 09:21:34 -0500 Received: from rceng01.eng.lan ([10.200.2.11]) by mail2.ruggedcom.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 17 Feb 2010 09:21:34 -0500 Received: from rcws-214.eng.lan (unknown [10.200.20.26]) by rceng01.eng.lan (Postfix) with ESMTP id F131D14E6F5 for ; Wed, 17 Feb 2010 09:20:57 -0500 (EST) Received: from localhost ([127.0.0.1] ident=richardretanubun) by rcws-214.eng.lan with esmtp (Exim 4.71) (envelope-from ) id 1Nhklt-0001HC-Uf for grub-devel@gnu.org; Wed, 17 Feb 2010 09:20:57 -0500 Message-ID: <4B7BFB49.6030306@RuggedCom.com> Date: Wed, 17 Feb 2010 09:20:57 -0500 From: Richard Retanubun Organization: RuggedCom User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Feb 2010 14:21:34.0762 (UTC) FILETIME=[8252F0A0:01CAAFDC] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP2+, XP SP1+ (seldom 98) Subject: how to get started with developing grub2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 16:51:50 -0000 Greetings, I am getting started with developing grub2 (v1.96 from debian stable) to port some grub1 custom modifications that was done on the existing products and well, I'm a bit lost. I followed this patch thread to learn how to add a new command http://lists.gnu.org/archive/html/grub-devel/2009-04/msg00152.html So I ported that patch to v1.96 and run configure, make and make install (and got stuff in /usr/local) then I go to /usr/local/bin and run grub-mkimage -o mycore.img (it it supposed to make a new /boot/grub/core.img?) then I noticed the size of the binary is smaller (/boot/grub/core.img is 24275; mine is 18242) So what am I missing and how can I install my custom grub2 with the new/custom modules on top of my existing grub2 (still chainloading from grub1) Apologies if this has been asked before, can't seem to find it in the mailing list. If there is any docs written on these topics somewhere, kindly point me to it. Thank you for everyone's time. - Richard