EFI/ZFS Update: successful tests, need more complex vdevs
Dimitry Andric
dim at FreeBSD.org
Fri Dec 11 11:04:17 UTC 2015
On 11 Dec 2015, at 11:47, Steven Hartland <killing at multiplay.co.uk> wrote:
>
> On 11/12/2015 08:10, Dimitry Andric wrote:
>> On 10 Dec 2015, at 19:26, Steven Hartland <killing at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20151211/d402e37a/attachment.sig>
More information about the freebsd-hackers
mailing list