Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JQ1AG-0005gG-44 for mharc-grub-devel@gnu.org; Fri, 15 Feb 2008 09:03:44 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQ1AE-0005dx-Nr for grub-devel@gnu.org; Fri, 15 Feb 2008 09:03:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQ1AD-0005as-0M for grub-devel@gnu.org; Fri, 15 Feb 2008 09:03:41 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQ1AC-0005am-RV for grub-devel@gnu.org; Fri, 15 Feb 2008 09:03:40 -0500 Received: from ti-out-0910.google.com ([209.85.142.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQ1AC-0005n1-2T for grub-devel@gnu.org; Fri, 15 Feb 2008 09:03:40 -0500 Received: by ti-out-0910.google.com with SMTP id a20so600776tia.10 for ; Fri, 15 Feb 2008 06:03:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=c9lK57VHaSZQxllfxUv4l8/Trk4JjJ/rUKuXxcw4e88=; b=whfqWDBS07KIV8LxiIGzj/lLsf9kjD/7TGL2V7t6prM3aE1gSGEbixnAxtkRUNQff0uxm9Ar4Qt0JVK+c2L8pOb8xXM0DKNsNI5COWTfvLQjwG55Ufi3dQ3c31ANq0A78ykBfSzxBaFZH2X8bVcV9GzL0IssySWp+gqW4tTK+Co= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aTyQ+UcwEHiRVYAiP675ww5b9JHNloKFw3+3NdzkuUKrsGzbBf72VjuHIyXCFfg6LvrdDfvTmxFC+WlMLuW3WqI7mefVuz6Qw9Of9YCxWOg5/HJXJmGVmmoprIUBxUEILHJ6C8qu7i3p+qnNddpkdFJO2O2bcn6ojOpkE1rPVTU= Received: by 10.110.3.15 with SMTP id 15mr2130515tic.52.1203084216784; Fri, 15 Feb 2008 06:03:36 -0800 (PST) Received: by 10.110.62.19 with HTTP; Fri, 15 Feb 2008 06:03:36 -0800 (PST) Message-ID: Date: Fri, 15 Feb 2008 22:03:36 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080212111902.GC18073@thorin> <20080212193650.GA3319@thorin> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] a.out support for multiboot and freebsd 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: Fri, 15 Feb 2008 14:03:43 -0000 On Fri, Feb 15, 2008 at 9:29 PM, walt wrote: > > Bean wrote: > > On Feb 14, 2008 4:31 AM, walt wrote: > >> Yes, this works perfectly except that I still can't read my openbsd > >> filesystem correctly. I can list / but none of the subdirectories, > >> and I can't even read a small text file from /. (I guess that also > >> means I can't properly read the directories in /). Everything I try > >> gives me 'out of partition' or similar. > >> > >> Progress! :o) > > > > In that case, it should be a fs problem, what's the disk layout, how > > big is your ufs partition ? It could be handy if you can make a small > > image that produce similar results. > > I made a small openbsd image to send you, but it works perfectly with > your g2ldr so there's no point in sending it :o) I think that problem > is not worth your time or mine. > > I still have the bigger problem that my grub2 doesn't work like your > g2ldr. My version still halts with 'broken magic' or reboots instantly > when I type 'boot'. These are bugs that I was seeing several weeks > ago and you already fixed them once, but now they are back again. > > I still think that a patch or two never got committed to cvs, but I > don't know which one(s). Could you try applying your bsd.diff and > bsd_2.diff to current cvs sources and see if it works for you? > > Here is what I do: > > Apply the two patches to a clean cvs tree. > ./autogen.sh [because you patched an rmk file] > mkdir build > cd build > ../configure && make > rm ata.mod > ./grub-mkimage -d . -o grub2 *.mod Don't include all the modules in the kernel, you only need those necessary to access the boot partition, for example, i use the following command to create core.img: ./grub-mkimage -d . -o core.img biosdisk iso9660 pc fat ntfs ext2 ufs bsd boot ls multiboot To create g2ldr, add the lnxboot.img header: cat lnxboot.img core.img > g2ldr This contain enough modules to do the test, no need to load extra module from disk. Also, please use linux to build grub2, *bsd may compile ok, but don't know if the result is correct. -- Bean