From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NhocY-0004uK-G6 for mharc-grub-devel@gnu.org; Wed, 17 Feb 2010 13:27:34 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhocX-0004tk-0e for grub-devel@gnu.org; Wed, 17 Feb 2010 13:27:33 -0500 Received: from [140.186.70.92] (port=40991 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhocV-0004tI-RN for grub-devel@gnu.org; Wed, 17 Feb 2010 13:27:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhocU-0001Zl-NI for grub-devel@gnu.org; Wed, 17 Feb 2010 13:27:31 -0500 Received: from mail-fx0-f215.google.com ([209.85.220.215]:59549) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhocU-0001Z7-1u for grub-devel@gnu.org; Wed, 17 Feb 2010 13:27:30 -0500 Received: by fxm7 with SMTP id 7so8003013fxm.8 for ; Wed, 17 Feb 2010 10:27:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=MOpbZFjGKVi3zgGDL71A+aSe+n27tB8jIeAesB5pAsU=; b=KXnVdl6nLKKUaY05Alt8C4ib7l2PXgdsUi27Jv22tKAX6TEqtcMZp4Ag79Ewlb2qTi IGFRpah3B1Hon0imUmVB5XDMT1Lab7G3tmz/ur2tz/fkdxQgnwY5c0c3u+UVp9EAPxR6 izI9zcQIVGHqXexdOLP29g0vv05C6EtF4v2N4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=AlqaV2QylZD9MvuwyT6qOHu/F6YhNDgDZXl0KkXoKS/763JRr+gP8+PIuU74ne7VWk Rgv6SKndnwh0lVKG2tnQhl+3QEvcKQL3dhrEHDOLesf2Qa+9nq1MpdcwwOnL10W8IK9f VihYI9znLIAJ5tylttdg2LMsq8eK7QCmG5xGU= Received: by 10.87.61.5 with SMTP id o5mr3056682fgk.79.1266431247196; Wed, 17 Feb 2010 10:27:27 -0800 (PST) Received: from debian.bg45.phnet ([81.62.103.21]) by mx.google.com with ESMTPS id l19sm12333100fgb.15.2010.02.17.10.27.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Feb 2010 10:27:25 -0800 (PST) Message-ID: <4B7C3506.6060503@gmail.com> Date: Wed, 17 Feb 2010 19:27:18 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <4B7BFB49.6030306@RuggedCom.com> In-Reply-To: <4B7BFB49.6030306@RuggedCom.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigDA05622EF5333C4922A99293" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: 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 18:27:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDA05622EF5333C4922A99293 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Richard Retanubun wrote: > 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. > 1) First of all use the latest version. Either BZR trunk or BZR experimental branch: http://bzr.savannah.gnu.org/r/grub/trunk/grub/ and http://bzr.savannah.gnu.org/r/grub/branches/experimental/ In your case 'clear' command is already in since a long time. 2) Then speak before you do. It's quite possible that what you want is done with something else or by somebody else. 3) Get to develop when feature you proposed is considered good > Thank you for everyone's time. > > - Richard > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigDA05622EF5333C4922A99293 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAkt8NQwACgkQNak7dOguQgkElQEArHgPmt3MwKzIdbtExAQwKuUf jfedlpVnth1cKXwkpNABALurlQNo1FTIvfHxpU09oG/RVv0KETnHn3nBNzfbgxDf =I/Dd -----END PGP SIGNATURE----- --------------enigDA05622EF5333C4922A99293--