Ah, so there is still a (small) piece of 8-CURRENT needed to have a working 7-STABLE zfs boot configuration? I am getting really confused now, if I add LOADER_ZFS_SUPPORT=yes to my /etc/make.conf, the RELENG_7 system will be built with zfs boot support, but I still need the actual /boot/loader from 8-CURRENT? Is that getting MFC'ed into into RELENG_7 anytime soon? Where are all make.conf options documented by the way? Neither /usr/share/examples/etc/make.conf nor "man make.conf" make any reference to the LOADER_ZFS_SUPPORT option. - Dan Naumov On Mon, Jun 8, 2009 at 7:49 PM, Alberto Villa<villa.alberto@gmail.com> wrote:> On Monday 08 June 2009 17:44:40 Dan Naumov wrote: >> Several posts made to this list AFTER the zfs v13 MFC to RELENG_7 >> indicated that even after that MFC, you still needed gptzfsboot from >> 8-CURRENT to be able to boot from a full ZFS system. Is this not the >> case? I have a 7.2-STABLE built on May 30 and I do not have gptzfsboot >> in my /boot, only gptboot. I didn't make any changes to the stock >> Makefiles and used GENERIC kernel config. Do I need to adjust some >> options for gptzfsboot to get built? > > no, it's /boot/loader from 8-current which is needed (the one shared on this > list works perfectly for me) > to build your system with zfs boot support just add LOADER_ZFS_SUPPORT=yes > to /etc/make.conf > -- > Alberto Villa <villa.alberto@gmail.com>
Adam McDougall
2009-Jun-08 18:12 UTC
/boot/loader and RELENG_7 (WAS: gptzfsboot and RELENG_7)
Dan Naumov wrote:> Ah, so there is still a (small) piece of 8-CURRENT needed to have a > working 7-STABLE zfs boot configuration? I am getting really confused > now, if I add LOADER_ZFS_SUPPORT=yes to my /etc/make.conf, the > RELENG_7 system will be built with zfs boot support, but I still need > the actual /boot/loader from 8-CURRENT? Is that getting MFC'ed into > into RELENG_7 anytime soon? > > Where are all make.conf options documented by the way? Neither > /usr/share/examples/etc/make.conf nor "man make.conf" make any > reference to the LOADER_ZFS_SUPPORT option. > > - Dan Naumov > > > ZFS booting without partitions >See the last emails in the thread "ZFS booting without partitions", it has a patch which makes the -stable loader work (some changes that didn't get merged to -stable). I think only the change from 8 to 64 is all thats needed but I applied the whole patch when I tested it. Also, yes LOADER_ZFS_SUPPORT causes gptzfsboot to be compiled as well as add ZFS support to loader (and other stuff). It may not have been documented (I didn't check).