On Feb 14, 2008 1:25 AM, walt <[EMAIL PROTECTED]> wrote: > 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(?).
Is it possible that your build is not clean ? you can try to run make distclean and then configure and make, see if there is any difference. i'm also putting my compiled version at: http://grub4dos.sourceforge.net/grub2/g2ldr you can load it as linux kernel, please see if it helps. -- Bean _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel