From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JMprE-0000SE-6j for mharc-grub-devel@gnu.org; Wed, 06 Feb 2008 14:22:56 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMprC-0000RS-8w for grub-devel@gnu.org; Wed, 06 Feb 2008 14:22:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMprA-0000QY-Ia for grub-devel@gnu.org; Wed, 06 Feb 2008 14:22:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMprA-0000QS-Eh for grub-devel@gnu.org; Wed, 06 Feb 2008 14:22:52 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JMprA-0001zT-3s for grub-devel@gnu.org; Wed, 06 Feb 2008 14:22:52 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JMpr2-0006cG-5C for grub-devel@gnu.org; Wed, 06 Feb 2008 19:22:44 +0000 Received: from adsl-69-234-176-11.dsl.irvnca.pacbell.net ([69.234.176.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Feb 2008 19:22:44 +0000 Received: from wa1ter by adsl-69-234-176-11.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Feb 2008 19:22:44 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: walt Date: Wed, 06 Feb 2008 11:23:14 -0800 Organization: none Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-176-11.dsl.irvnca.pacbell.net User-Agent: Thunderbird 3.0a1pre (X11/2008020604) Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: aout support almost working now 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: Wed, 06 Feb 2008 19:22:54 -0000 With Bean's last two commits I can almost replace legacy with grub2 at least on x86. I have still one problem with the aout support that Bean posted as a patch on Jan 27. Using legacy, which loads the FreeBSD /boot/loader as the 'kernel', loader then reads its config files from the /boot directory so it knows what parameters to pass to the real kernel and also what menu items to show the user. Using grub2 with Bean's aout patch, I can load /boot/loader and then boot it successfully, but it seems that 'loader' can't find its config files in the /boot directory. This is what it prints: Can't work out which disk we are booting from. Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0: can't load "kernel". At least on my machine, disk0 is the floppy drive and loader does actually go to try to read it before printing the error messages I listed, and then it drops to its interactive prompt. By examining the loader's variables it's clear that it never found its usual config files in /boot. BTW, I did set 'root' and 'prefix' to point at the correct partition before booting the loader. Any ideas what else to try?