From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JI6bG-0006lU-1K for mharc-grub-devel@gnu.org; Thu, 24 Jan 2008 13:14:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JI6bD-0006lE-GQ for grub-devel@gnu.org; Thu, 24 Jan 2008 13:14:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JI6bA-0006io-Lk for grub-devel@gnu.org; Thu, 24 Jan 2008 13:14:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JI6bA-0006ik-Ff for grub-devel@gnu.org; Thu, 24 Jan 2008 13:14:48 -0500 Received: from smtp-vbr5.xs4all.nl ([194.109.24.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JI6bA-0000AL-2k for grub-devel@gnu.org; Thu, 24 Jan 2008 13:14:48 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0OIEjKA031017 for ; Thu, 24 Jan 2008 19:14:47 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20080119170105.GJ1341@kirkkit.kollasch.net> <87myqvzkqk.fsf@xs4all.nl> Mail-Copies-To: mgerards@xs4all.nl Date: Thu, 24 Jan 2008 19:16:06 +0100 In-Reply-To: (wa1ter@myrealbox.com's message of "Thu, 24 Jan 2008 06:20:07 -0800") Message-ID: <87ejc73x95.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: UFS (FFS) support seems broken in grub2 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: Thu, 24 Jan 2008 18:14:52 -0000 walt writes: > Marco Gerards wrote: >> walt writes: >> > ... >>> I recompiled my NetBSD kernel with the MULTIBOOT option enabled, but >>> I still get a 'magic broken' error when doing 'multiboot /netbsd'. > >> Can it be loaded from GRUB Legacy using its multiboot capabilities? > > Yes! The error cannot be found in the sourcecode. Can you provide the *exact* error? Providing a kernel might help as well. >> Do you want to work on a loader for BSD? That would be the ideal >> solution and a nice opportunity for you to learn :-) > > Sure, but don't expect very much :o) We know that grub legacy can > boot NetBSD, so maybe I can get grub2 to do the same. Debugging > a free-standing program like grub is something I've never tried. > How would you approach the problem if you were going to do it > yourself? Read how the loader should work (*BSD documents), get a test kernel, write a loader and see if it works. Possibly on qemu, dprintf helps a lot for debugging. -- Marco