From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D2vlf-0004bJ-0s for mharc-grub-devel@gnu.org; Sun, 20 Feb 2005 13:25:19 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D2vlX-0004Z7-HU for grub-devel@gnu.org; Sun, 20 Feb 2005 13:25:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D2vjW-0004G6-2g for grub-devel@gnu.org; Sun, 20 Feb 2005 13:23:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D2vjU-0004F7-PN for grub-devel@gnu.org; Sun, 20 Feb 2005 13:23:04 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D2vDy-0000MJ-1c for grub-devel@gnu.org; Sun, 20 Feb 2005 12:50:30 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 8B96F89F5 for ; Sun, 20 Feb 2005 18:50:29 +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 07053-05 for ; Sun, 20 Feb 2005 18:50:28 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 7A37189C2 for ; Sun, 20 Feb 2005 18:50:28 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 430C0C045 for ; Sun, 20 Feb 2005 18:50:28 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <20050213165452.GA4503@miracle> <87mzu8tiid.fsf@marco.marco-g.com> <5c9273e9e7f6eba181c088feaedb314c@penguinppc.org> <87mzu7arut.fsf@marco.marco-g.com> <87fyzxy0gg.fsf@marco.marco-g.com> <6e5dae65f19717cef397b85f4b268e72@penguinppc.org> From: Marco Gerards Date: Sun, 20 Feb 2005 17:50:49 +0000 In-Reply-To: <6e5dae65f19717cef397b85f4b268e72@penguinppc.org> (Hollis Blanchard's message of "Sat, 19 Feb 2005 18:21:28 -0600") Message-ID: <873bvryvba.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: [patch] set prefix on PPC 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, 20 Feb 2005 18:25:13 -0000 Hollis Blanchard writes: > On Feb 15, 2005, at 3:31 PM, Marco Gerards wrote: >> Ok. But the file does not need to be blessed to boot from it. It's >> just used so the user can use: >> >> boot hd,0 >> >> instead of: >> >> boot hd,0:grubof >> >> To me the second sounds good enough. Or does that cause other >> problems? > > Remember that resetting the PRAM (a rare but not unusual action on > Macs) will revert to the stock firmware configuration, and if OS X is > the only blessed OS, the user will find themselves unable to boot into > Linux without a decent understanding of Open Firmware. Blessing GRUB > would eliminate this problem*. This is a good explanation of the problem. When we have documentation we should have a text like this in it. :) > * If OS X is on a lower partition number, the user will still boot > into OS X after a PRAM reset. However, if the firmware recognizes GRUB > as a valid kernel, there is a graphical "select boot device" interface > on newer machines that can be triggered by holding down the Option key > at startup. Ok. >>> Ok. I assume you want to test my patch and review it further, so I >>> will wait for more comments before committing it. >> >> Sure, I will test and review it on both of my PPC systems and review >> the patch. I hope you understand that it can take a while. :/ > > I hope I can talk you into taking a look soon, as this functionality > is essential if we want to actually *use* GRUB2. Ok. > It should be pretty easy to build and see what happens... :) (See my > patch from earlier today since current CVS doesn't build.) That's something I could do. :) >>>> I don't want to add a fancy parser yet. At the moment we just use a >>>> single argument. If more will be used, this code has to be changed. >>> >>> And in that case, the format of "bootargs" will have to change >>> too. It's never too early to think about backwards compatibility, >>> especially if people are thinking of packaging and distributing a >>> grub2.deb... :) >> >> Huh? Why would backward compatibility be broken? > > If a user installs GRUB now with this bootargs patch, then later if we > wish to add a debug option with "fancy parser" they will no longer be > able to boot, as the syntax will change. > > Now: "boot grubof hd0,6" > Later: "boot grubof prefix=hd0,6 debug=all" I do not like the prefix= syntax. What I want is: Now: "boot grubof (hd0,6)" Later: "boot grubof (hd0,6) --debug=all" > Users trying to boot with the old syntax will fail. In my case it will still work. :) Thanks, Marco