On Sat, 2008-01-26 at 23:01 +0800, Bean wrote:
> this is the patch, problems found:
> 
> 1, the mbi structure is not initialized to all zeros, this means some
> important member, like mods_count, will contain trash.
> 2, the entry point in the header is virtual address, we need to
> translate it to physical address...

Yes!  I just discovered that I can multiboot the netbsd kernel off
of a FAT32 fs or even an NTFS fs, but *not* off of a UFS fs :o/

Apparently "something bad" happens to the kernel in the process of
reading or loading it from the UFS fs.  I can read small text files
from a UFS fs, however, so I'm thinking maybe this has something to
do with the size of the netbsd kernel?

BTW, I've tried booting the netbsd kernel off of a FreeBSD UFS1 fs
but I can't tell if my NetBSD partition is UFS1 or UFS2 -- dumpfs
doesn't say which kind it is.  I confess I really don't remember if
I have any UFS2 partitions or not.

Excellent work so far in just one day!  Got any other tricks? :o)




_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to