Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MPBvw-0001nE-UV for mharc-grub-devel@gnu.org; Fri, 10 Jul 2009 04:58:20 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPBvv-0001mv-8e for grub-devel@gnu.org; Fri, 10 Jul 2009 04:58:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPBvq-0001it-Hk for grub-devel@gnu.org; Fri, 10 Jul 2009 04:58:18 -0400 Received: from [199.232.76.173] (port=57137 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPBvq-0001if-B1 for grub-devel@gnu.org; Fri, 10 Jul 2009 04:58:14 -0400 Received: from mail-px0-f193.google.com ([209.85.216.193]:62991) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPBvp-0001gG-TH for grub-devel@gnu.org; Fri, 10 Jul 2009 04:58:14 -0400 Received: by pxi31 with SMTP id 31so521819pxi.14 for ; Fri, 10 Jul 2009 01:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=BaPpU5yu4zqsungYvOdyeB0cH+iRhN0onh44W6otsbM=; b=IPETvDZ9hx/t79O7/lfEWwlpJOJ6K1AgB9V2AyS4gTJu1V854SMjLgAeYZlNKujrao seSGmdfOgI+UBW6uXsDv8tI9RRCxiFKsHoNMfEkR0ufC4nHExaIdJBqbWCKDghVZnDOm 43kz3VJHAexXxARsQMy8i2MKdvhoCemWVeTXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=UnBlYFh/wsLznMuV3m/Ledvt9APN0CpJQu4AjsVY3jE2evheyRlleQ2pNtzbzKtdaV kEgZV91GdDO6Opq7/Z80TM3oVejBKXE+1QDbl9OFjsOTDPfBgkfuuBju2LwXrZJAoz1Y +hy8+TtvOZFFwkL6siLk6ZCSp1HHevQK4Yh4E= MIME-Version: 1.0 Received: by 10.114.121.19 with SMTP id t19mr2806239wac.83.1247216293055; Fri, 10 Jul 2009 01:58:13 -0700 (PDT) In-Reply-To: <87vdm1m1gc.fsf@xs4all.nl> References: <87vdm1m1gc.fsf@xs4all.nl> Date: Fri, 10 Jul 2009 16:58:13 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: GRUB 1.96 - unknown commands 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: Fri, 10 Jul 2009 08:58:19 -0000 On Fri, Jul 10, 2009 at 3:39 PM, Marco Gerards wrote: > Hello, > > Bean writes: > >> You need to add module sh, minicmd and linux. > > What was the reason it was split up? =A0Sorry, I must have missed a > discussion. > > I prefer scripting and normal.mod to be integrated, to prevent > problems like these. Hi, Some time ago, I split reader and parser, now normal.mod only contains the normal reader, parser is moved to module sh.mod. But normal.mod would tries to load sh.mod from disk. But for EFI, prefix is set to the same directory as grub.efi, not /efi/grub. There are some advantage for splitting the parser. First, we can implement multiple parser, there are currently three of them, rescue, sh and lua. Reader is responsible for user input, now there are two, rescue and normal. Splitting the module also make it possible to fine tune the modules embedded in kernel. --=20 Bean