Re: grub2 with libzfs

2013-03-27 Thread Christian Mangin
Hello, You don't need libzfs to use grub2 on ZFS. You just need to specify the zfs module if your 'grub-install' target is a ZFS dataset. I've submitted a patch for this port a while ago, There are probably issues I'm not aware of but I've been using this custom port for the last 6 months without

Re: grub2 with libzfs

2013-03-27 Thread Christian Mangin
Beeblebrox a écrit : Hi, very happy to see that there are other grub fans in FreeBSD-land! I was planning to place my grub on a separate UFS partition so that I can boot other things (like loopbacked iso's) if I should want to. The grub UFS partition only has grub files in it (what mounts

Re: grub2 with libzfs

2013-03-27 Thread Christian Mangin
Beeblebrox a écrit : EDIT: I just tried make (without the --enable-libzfs) flag for grub 2.0 and got different error: grub-2.00 # make Makefile, line 20946: Need an operator line 20946 is: 44: export LC_COLLATE := C 45: export LC_CTYPE := C 46: unexport LC_ALL Which source are you

Re: grub2 with libzfs

2013-03-27 Thread Christian Mangin
Beeblebrox a écrit : current version of grub2 in the ports could be sufficient for your need That's what I had hoped for and expected, but the port build fails (that's why I had contacted the port maintainer Sergey Matveychuk). Build for grub 1.98_1 breaks at: gcc -Iefiemu -I./efiemu

Re: grub2 with libzfs

2013-03-27 Thread Christian Mangin
Beeblebrox a écrit : Your Makefile went pretty well for a while - config ran cleanly without any problems. You're compiling with gcc and use gcc46 include files? I have lang/gcc46 installed, but found that many gnu-related ports gave gcc errors. Then I found the fix like this (until gcc