[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] a.out support for multiboot and freebsd
From: |
Bean |
Subject: |
Re: [PATCH] a.out support for multiboot and freebsd |
Date: |
Thu, 14 Feb 2008 01:37:47 +0800 |
On Feb 14, 2008 1:25 AM, walt <address@hidden> 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
- Re: [PATCH] a.out support for multiboot and freebsd, (continued)
- Re: [PATCH] a.out support for multiboot and freebsd, Robert Millan, 2008/02/12
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/11
- Re: [PATCH] a.out support for multiboot and freebsd, Robert Millan, 2008/02/12
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/12
- Re: [PATCH] a.out support for multiboot and freebsd, Robert Millan, 2008/02/12
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/13
- Re: [PATCH] a.out support for multiboot and freebsd, Robert Millan, 2008/02/13
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/13
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/13
- Re: [PATCH] a.out support for multiboot and freebsd,
Bean <=
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/13
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/13
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/15
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/15
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/15
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/15
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/15
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/16
- Re: [PATCH] a.out support for multiboot and freebsd, walt, 2008/02/16
- Re: [PATCH] a.out support for multiboot and freebsd, Bean, 2008/02/16