From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BpWbO-0003te-Hs for mharc-grub-devel@gnu.org; Tue, 27 Jul 2004 14:23:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BpWbG-0003ru-1m for grub-devel@gnu.org; Tue, 27 Jul 2004 14:22:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BpWbC-0003oa-6M for grub-devel@gnu.org; Tue, 27 Jul 2004 14:22:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BpWbB-0003na-Gd for grub-devel@gnu.org; Tue, 27 Jul 2004 14:22:49 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BpWXf-0000UL-KY for grub-devel@gnu.org; Tue, 27 Jul 2004 14:19:11 -0400 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id 5EFDE81E7 for ; Tue, 27 Jul 2004 20:06:06 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by localhost (charlie.han.nl [145.74.66.9]) (amavisd-new, port 10024) with ESMTP id 05513-06; Tue, 27 Jul 2004 20:06:04 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 445558174; Tue, 27 Jul 2004 20:06:04 +0200 (CEST) Received: from marco.marco-g.com (a82-92-27-129.adsl.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 39693C045; Tue, 27 Jul 2004 19:06:06 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <87n023rgd9.fsf@marco.marco-g.com> From: Marco Gerards Date: Tue, 27 Jul 2004 20:06:23 +0200 In-Reply-To: <87n023rgd9.fsf@marco.marco-g.com> (Marco Gerards's message of "Tue, 13 Jul 2004 19:01:22 +0200") Message-ID: <87n01lwcio.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@vscan-cn.han.nl Cc: Subject: Re: Linux loader for the 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: Tue, 27 Jul 2004 18:22:54 -0000 Marco Gerards writes: > Here is, as promised, the linux loader for the PPC. Just like Tomas > did for the PC, I made the loader accessible from both rescue mode and > normal mode. There is just one bug in this code, when a kernel is > loaded it is not possible to load another kernel (which should replace > the previous loaded kernel). I think that problem is caused by a bug > elsewhere in GRUB 2. I just committed this (Better late then never ;)). I did not commit hfs support yet because I want to finish hfs+ support first. Unless someone has a good reason for me to commit it now. This can take quite a while before I will finish it. So now GRUB 2 can be used to boot GNU/Linux on the open firmware PPCs. If I am not mistaken, Maurizio is working on module loaded for this port (what is the status, btw?). Hopefully soon I will find the time to finish the interface so it becomes easy to use GRUB 2. The last important missing feature is a loader for macos. And we will need multiboot support, of course. I really hope anyone reading this with a PPC will test this code and tell me which features are missing. If there is any mac/ppc specific feature that is not implemented or mentioned that will most likely mean it will not be implemented. So don't be shy and tell me what you need. And to make it ready for production usage someday, GRUB 2 on the PPC needs to be tested. You can do that by following these steps (a=disk, b=network): 1) Make a CVS checkout of GRUB 2. 2) ./configure && make 3a) Copy grubof to your HFS[+] boot partition. This is the same partition yaboot uses. 3b) Copy grubof to your tftp directory. Setup bootp to load this kernel. 4a) Boot your mac into the open firmware console and boot the grubof ELF. 4b) Boot from network. 5) GRUB is started. You can load and boot GNU/Linux using (for example): linux (hd,10)/vmlinux root=/dev/hda11 boot 6) Or instead of booting just play a bit. Try to access files and find bugs. :) Please send me a report if this does or doesn't work for you. What went wrong, etc. It would be useful for me to hear what kind of machine you were using. Thanks, Marco