grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub


From: Marco Gerards
Subject: Re: booting kernel of NetBSD (Re: UFS (FFS) support seems broken in grub2)
Date: Mon, 28 Jan 2008 14:00:27 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Bean <address@hidden> writes:

> On Jan 28, 2008 9:54 AM, walt <address@hidden> wrote:
>>
>> On Mon, 2008-01-28 at 04:25 +0800, Bean wrote:
>> ...
>> > > > please make a small ufs image containing the netbsd kernel, i don't a
>> > > > a bsd system at hand
>>
>> http://leaf.dragonflybsd.org/~wa1ter/ufs.gz
>>
>> I included a small text file (motd) to demonstrate that you can cat it
>> okay, but when you try 'multiboot /netbsd' you should get the same error
>> I've been describing.
>>
>>
>> > btw, if you have time, please try the a.out loader, it should be able
>> > to boot /boot/loader of freebsd, i don't know if openbsd and netbsd
>> > use the same booting method.
>>
>> diff --git a/conf/i386-pc.rmk b/conf/i386-pc.rmk
>>
>> Heh.  I'm assuming an .rmk file involves ruby somehow?  The bonehead
>> build process that I'm using doesn't turn an .rmk into a .mk AFAICT,
>> but I'd like to know how to do it.
>
> all you need to do is do install ruby.
>
> here is a patch for ufs, it fix the indirect block calculation problem.
>
>       * fs/ufs.c (INODE_BLKSZ): Fix incorrect value.
>       (grub_ufs_get_file_block): Fix indirect block calculation problem.

Fine for me, if you tested this.

This patch fixes this specific problem regarding loading this
multiboot kernel from UFS?

--
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]