Date: Fri, 29 Mar 2013 12:28:53 -0700 (PDT) From: Beeblebrox <zaphod@berentweb.com> To: freebsd-ports@freebsd.org Subject: Re: grub2 with libzfs Message-ID: <1364585333718-5799993.post@n5.nabble.com> In-Reply-To: <CAOFF%2BZ0jui0MnFL8QFZsix6hPMeYvWD1MsoO3Lh6XY5G8P2UZA@mail.gmail.com> References: <1364397485043-5799405.post@n5.nabble.com> <51532491.6050507@gmail.com> <1364407584254-5799443.post@n5.nabble.com> <1364409110302-5799450.post@n5.nabble.com> <20130327204130.GA40854@triton8.kn-bremen.de> <1364469893741-5799652.post@n5.nabble.com> <201303291836.r2TIarVc080730@triton8.kn-bremen.de> <CAOFF%2BZ0jui0MnFL8QFZsix6hPMeYvWD1MsoO3Lh6XY5G8P2UZA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sam: it goes like this: menuentry "FreeBSD Direct-Boot" { search -s -l zpool kfreebsd /@/boot/kernel/kernel kfreebsd_module_elf /@/boot/kernel/opensolaris.ko kfreebsd_module_elf /@/boot/kernel/zfs.ko kfreebsd_module /@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache kfreebsd_loadenv /@/boot/device.hints set kFreeBSD.vfs.root.mountfrom=zfs:zpool } This is valid if root is on the zfs dataset with the same name as the zpool - a zfs dataset is created at the same time when pool is created. If root is on that dataset, this is the syntax. If root is on another dataset (say pool/myzfsroot) then modify @ with myzfsroot@ => kfreebsd /myzfsroot@/boot/kernel/kernel kfreebsd_module_elf /myzfsroot@/boot/kernel/opensolaris.ko etc... -- View this message in context: http://freebsd.1045724.n5.nabble.com/grub2-with-libzfs-tp5799405p5799993.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?1364585333718-5799993.post>