Date: Fri, 11 Dec 2015 12:04:12 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-hackers@freebsd.org Subject: Re: EFI/ZFS Update: successful tests, need more complex vdevs Message-ID: <FD7D72CB-63B8-4E24-A673-D23D089EE3C7@FreeBSD.org> In-Reply-To: <566AA9C3.8040700@multiplay.co.uk> References: <CABnVG=dcayeG7SwzZwv7wzDHqioVXo8uG-u=wW43S0VRJkeiTw@mail.gmail.com> <CALfReyfp6gsbD-x81cU7EX%2B4TM%2Bv7zVNLzFPeOVFDqoXjpq=Kg@mail.gmail.com> <5669C3BD.4010402@multiplay.co.uk> <D1416CE8-966E-489A-B92A-4C8AF752A9D2@FreeBSD.org> <566AA9C3.8040700@multiplay.co.uk>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 11 Dec 2015, at 11:47, Steven Hartland <killing@multiplay.co.uk> wrote: > > On 11/12/2015 08:10, Dimitry Andric wrote: >> On 10 Dec 2015, at 19:26, Steven Hartland <killing@multiplay.co.uk> wrote: >>> We've used Eric's hard work which is currently under review here: >>> https://reviews.freebsd.org/D4104 >>> >>> I'm pleased to report we can now successfully EFI boot root ZFS from a raidz2 pool on Intel P3700 NVMe drives :) >>> >>> Here's a guide for those interested: >>> http://blog.multiplay.co.uk/2015/12/freebsd-10-2-release-efi-zfs-root-boot/ >> The patch set linked there, at: >> >> http://blog.multiplay.co.uk/dropzone/freebsd-10-efi-zfs-boot.tgz >> >> results in a 404. Where is it? :-) >> > Ooops, link corrected its at: http://blog.multiplay.co.uk/dropzone/freebsd/freebsd-10-efi-zfs-boot.tgz Thanks, that one works. Meanwhile, I setup a -CURRENT VM for testing https://reviews.freebsd.org/D4104 directly. I can build the boot1.efi loader just fine, and install it into an EFI partition, but the resulting VM does not boot. The console looks like this: >> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: ZFS UFS Could not load file Could not load file panic: No bootable partitions found! Any clue? (It would be very nice if it printed *which* file it could not load, btw.) The VM was setup with two mirrored disks, using the Auto ZFS option during installation, like this: $ gpart show => 40 209715120 da0 GPT (100G) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 8388608 2 freebsd-swap (4.0G) 8390656 201322496 3 freebsd-zfs (96G) 209713152 2008 - free - (1.0M) => 40 209715120 da1 GPT (100G) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 8388608 2 freebsd-swap (4.0G) 8390656 201322496 3 freebsd-zfs (96G) 209713152 2008 - free - (1.0M) After rebuilding and reinstalling world with the D4104 patch, I deleted the freebsd-boot partitions, created EFI partitions in their place, created msdosfs filesystems on them, and copied the boot1.efi loader to those filesystems. -Dimitry [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 iEYEARECAAYFAlZqrawACgkQsF6jCi4glqOidQCgwfpv+xKKjnGRs1iWCv2drWv3 4xoAn3FH0VoiTgq/VcpiXP6E1YptRvC1 =PPUQ -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FD7D72CB-63B8-4E24-A673-D23D089EE3C7>
