Date: Tue, 17 Nov 2009 12:51:45 -0600 From: Scot Hetzel <swhetzel@gmail.com> To: Thomas Backman <serenity@exscape.org> Cc: current@freebsd.org Subject: Re: [PATCH] Build a separate ZFS-enabled loader.zfs Message-ID: <790a9fff0911171051u167c40fpf62deb8102fa0468@mail.gmail.com> In-Reply-To: <F1E19C4E-DB2A-4E3E-A9FB-979058D136F0@exscape.org> References: <200911171017.58140.jhb@freebsd.org> <F1E19C4E-DB2A-4E3E-A9FB-979058D136F0@exscape.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 17, 2009 at 9:26 AM, Thomas Backman <serenity@exscape.org> wrot= e: > On Nov 17, 2009, at 4:17 PM, John Baldwin wrote: > >> This patch is a workaround to enabling ZFS support by default in the boo= t >> loader. =A0It enables building a loader.zfs which is a ZFS-enabled loade= r and >> changing zfsboot and gptzfsboot to use /boot/loader.zfs instead >> of /boot/loader. =A0I have only tested that things built ok, I have not >> boot-tested it as I don't have ZFS setup anywhere. =A0The patch is avail= able at >> http://www.FreeBSD.org/~jhb/loader.zfs/. =A0You will also need to copy >> the 'loader.zfs/Makefile' file from that URL into a new >> sys/boot/i386/loader.zfs directory after applying the patch. > If I may ask (and sorry for my ignorance, but): what problem does this wo= rkaround solve? This solution fixes boot issues on systems that are using ZFS to boot FreeBSD. Currently, if such a system uses the freebsd-update service to update the system, it receives a /boot/loader that doesn't support booting from a ZFS root and breaks the boot process. It also makes it easier to setup a Root On ZFS system, as you will no longer need to add LOADER_ZFS_SUPPORT to /etc/src.conf and rebuilding the /boot/loader. Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0911171051u167c40fpf62deb8102fa0468>