Bug#730145: grub-probe fails to accept zfs

Christoph Egger christoph at debian.org
Fri Nov 22 19:15:53 UTC 2013


Moin!

Robert Millan <rmh at debian.org> writes:
> On 22/11/2013 00:02, Christoph Egger wrote:
>>> grub-probe fails to detect my zfs root filesystem and generates a
>>> grub.cfg for filesystem `unknown` which, of course, won't
>>> boot. Relevant error is probably:
>>>
>>>   grub-core/fs/zfs/zfs.c:3072: incorrect nvlist header
>> 
>> Seems to closely relate to 730143 ;-)
>
> Could you confirm? You can try with patch from:
>
> http://git.savannah.gnu.org/cgit/grub.git/patch/include/grub/zfs/zfs.h?id=c71dbd40a9f788d5cdba26e8293dbb95b70f33be

It detects the zfs correctly with the full patch included. However
there's still some problem:

% sudo update-grub       
Generating grub.cfg ...
Found kernel of FreeBSD: /boot/kfreebsd-10.0-0-amd64.gz
Found kernel module directory: /boot/lib/modules/10.0-0-amd64
Found kernel of FreeBSD: /boot/kfreebsd-10.0-CURRENT.gz
Found kernel module directory: /lib/modules/10.0-CURRENT
Found kernel of FreeBSD: /boot/kfreebsd-9.2-1-amd64.gz
Found kernel module directory: /boot/lib/modules/9.2-1-amd64
Found kernel of FreeBSD: /boot/kfreebsd-9.2-RC2.gz
Found kernel module directory: /boot/kernel
ls: cannot access /boot/kernel/opensolaris.ko: No such file or directory

and either no grub.cfg created or still created with set
kFreeBSD.vfs.root.mountfrom=unknown:/dev/ada0s1

Regards

   Christoph



More information about the Pkg-grub-devel mailing list