Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D2fMh-000640-5W for mharc-grub-devel@gnu.org; Sat, 19 Feb 2005 19:54:27 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D2fMf-00063I-8p for grub-devel@gnu.org; Sat, 19 Feb 2005 19:54:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D2fMd-00062R-5T for grub-devel@gnu.org; Sat, 19 Feb 2005 19:54:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D2fJj-00056V-Hl for grub-devel@gnu.org; Sat, 19 Feb 2005 19:51:23 -0500 Received: from [209.86.89.68] (helo=smtpauth08.mail.atl.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D2eqq-0000pt-LX for grub-devel@gnu.org; Sat, 19 Feb 2005 19:21:32 -0500 Received: from [63.246.184.80] (helo=[192.168.0.100]) by smtpauth08.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1D2eqq-00041H-9z for grub-devel@gnu.org; Sat, 19 Feb 2005 19:21:32 -0500 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <87fyzxy0gg.fsf@marco.marco-g.com> 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> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6e5dae65f19717cef397b85f4b268e72@penguinppc.org> Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Sat, 19 Feb 2005 18:21:28 -0600 To: The development of GRUB 2 X-Mailer: Apple Mail (2.619.2) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec79348071011436140fb855493d26df33c0350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 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 00:54:25 -0000 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*. * 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. 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. It should be pretty easy to build and see what happens... :) (See my patch from earlier today since current CVS doesn't build.) >>> 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" Users trying to boot with the old syntax will fail. -Hollis