Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Csjgb-0004iP-Cm for mharc-grub-devel@gnu.org; Sun, 23 Jan 2005 10:29:57 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Csjez-0004Nu-MO for grub-devel@gnu.org; Sun, 23 Jan 2005 10:28:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Csjef-0004Bn-2G for grub-devel@gnu.org; Sun, 23 Jan 2005 10:27:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Csjee-0004Az-DN for grub-devel@gnu.org; Sun, 23 Jan 2005 10:27:56 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CsjQQ-0004sc-1l for grub-devel@gnu.org; Sun, 23 Jan 2005 10:13:14 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 9ED00A14E for ; Sun, 23 Jan 2005 16:13:13 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 08224-05 for ; Sun, 23 Jan 2005 16:13:11 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id BB1739063 for ; Sun, 23 Jan 2005 16:13:11 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 75B9BC046 for ; Sun, 23 Jan 2005 16:13:11 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <200501231528.59397.okuji@enbug.org> From: Marco Gerards Date: Sun, 23 Jan 2005 15:13:01 +0000 In-Reply-To: <200501231528.59397.okuji@enbug.org> (Yoshinori K. Okuji's message of "Sun, 23 Jan 2005 15:28:59 +0100") Message-ID: <87ekgc5gci.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: config file 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: Sun, 23 Jan 2005 15:29:56 -0000 "Yoshinori K. Okuji" writes: > In GRUB Legacy, the structure of menu.lst is ugly, because it has a > strange state when interpretting it. The semantics is that commands are > executed until the first "title" is encounterred. Afterwards, commands > are only "remembered" as boot entries. I think it would be more > straightforward if commands are always executed. > > I'd like to redesign it in GRUB 2. One example is to write a boot entry > like this: > > entry "GNU/Hurd" { > root=(hd0,0) > multiboot /boot/gnumach > module /boot/serverboot > ... > } > > This idea is to make a boot entry a kind of shell function. It looks nice to me. How you you want to add the commands that should be run before the menu is shown? Just the same as it is for GRUB Legacy? Thanks, Marco