Bean wrote:

Ok. I also fix the alloc magic broken problem, it's caused by
grub_elf_file, which will close the file when the elf magic is not
found. However, the upper level still use that file, that cause the
memory problem.

The patch should be applied after the previous bsd.diff...

I'm very confused by the results :o/  I'm now running today's cvs
plus bsd.diff plus bsd_2.diff.  Some things work and some don't.

I can boot openbsd perfectly -- but only if I load the 'bsd' kernel
from a different filesystem e.g. FAT32.  I can't read any files from
the FFS/UFS on my openbsd partition -- I get 'outside of partition'.

I can multiboot netbsd perfectly -- but not from the netbsd partition.
If I 'multiboot /netbsd' from the netbsd partition I get 'broken magic'.
However, I can 'netbsd /netbsd' perfectly from the netbsd partition.
(See why I'm confused?)

When I 'freebsd /boot/loader' or 'freebsd /boot/kernel/kernel' from
the FreeBSD partition I get 'broken magic'.  If I 'freebsd /kernel'
from a FAT32 partition the kernel seems to load okay but then when
I 'boot' nothing prints to the console and the OS never starts.
If I 'freebsd /loader' from a FAT fs then the loader runs correctly
but of course I need to set 'currdev' by hand.

I'm wondering if you have commited all of your UFS/FFS patches to
cvs.  Seems like I'm seeing some old UFS problems that you fixed
once already(?).



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

Reply via email to