using GRUB with FreeBSD gmirror

2009-10-21 Thread Brian R. Jones
I'm trying to get GRUB1.97~beta4 working with FreeBSD 8.0 RC1 amd64 and gmirror, but I'm not sure the correct way to to a kernel module. I'm guessing something like: freebsd_module=/boot/kernel/geom_mirror.ko type=??? or freebsd_module_elf=/boot/kernel/geom_mirror.ko I'll probably have trie

Re: grub-install for FreeBSD

2009-09-24 Thread Brian R. Jones
Robert Millan wrote: On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: Not sure if Felix's patch covers it, but there is also a problem with the 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd 'sed' is quite retarded (at least

Re: grub-install for FreeBSD

2009-09-24 Thread Brian R. Jones
Colin Watson wrote: On Thu, Sep 24, 2009 at 11:01:16AM -0700, Brian R. Jones wrote: Not sure if Felix's patch covers it, but there is also a problem with the 'sed' syntax in 10_freebsd and 30_os-prober. It turns out that freebsd 'sed' is quite retarded (at least in 7

Re: grub-install for FreeBSD

2009-09-24 Thread Brian R. Jones
Robert Millan wrote: On Wed, Sep 23, 2009 at 08:36:01AM +0200, Vladimir 'phcoder' Serbinenko wrote: Andrey Shuvikov wrote: Hello, I tried to install Grub2 under FreeBSD but grub-install failed because readlink doesn't understand -f and stat doesn't have -c. I edited grub-mkconfig_lib.in to u