Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2013 11:06:24 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   grub2 with libzfs
Message-ID:  <1364407584254-5799443.post@n5.nabble.com>
In-Reply-To: <51532491.6050507@gmail.com>
References:  <1364397485043-5799405.post@n5.nabble.com> <51532491.6050507@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 under /boot/grub) and no
kernel files.

>> specify the zfs module if your 'grub-install' target is a ZFS dataset
I forgot to mention my dedicated grub partition, so I hope it clarifies that
my grub-install target is not a ZFS dataset. However, "kfreebsd
/@/boot/kernel/kernel" is on a ZFS dataset.

Other things I forgot to mention:
I booted an ubuntu cd and installed grub 1.98 on the UFS grub partition.
When I drop into the grub command line and "grub> zfslist (hd0) or (hd0,1)"
I get message "no labels found". "insmod zfs" is loaded by default at grub
boot-up.
Host info: 10-Current, amd64, ZFS ver: features async_destroy, empty_bpobj,
lz4_compress

>> You don't need libzfs to use grub2 on ZFS.
Please clarify: Do you mean that I don't need to invoke "--enable-libzfs"?
If so, why do I get the error above (no labels found)?

Thank you for the input & Regards.



--
View this message in context: http://freebsd.1045724.n5.nabble.com/grub2-with-libzfs-tp5799405p5799443.html
Sent from the freebsd-ports mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1364407584254-5799443.post>