EFI ZFS loader successful load and boot

Eric McCorkle eric at metricspace.net
Sun Jun 28 14:16:23 UTC 2015


Looking at your screenshots, it looks like the ZFS pool is being
detected, but not initialized correctly.

Are you certain you have the latest version of the patch?  This looks
similar to errors I was getting earlier in development, before I figured
out the code for setting everything up correctly.

On 06/28/2015 01:39 AM, Andrey Fesenko wrote:
> On Tue, Jun 9, 2015 at 1:59 AM, Eric McCorkle <eric at metricspace.net> wrote:
>> OK, finally got time to turn the knobs.  This patch should make it
>> through a buildworld.
>>
>> I will at some point add functionality to boot1 to actually check the
>> partition type GUIDs.
>>
>> That aside, this is ready for testing, and I've been EFI-booting a ZFS
>> partition from GRUB using this patch for a while now.
>>
>> On 05/26/2015 10:22 AM, Garrett Cooper wrote:
>>>
>>>> On May 26, 2015, at 05:34, Eric McCorkle <eric at metricspace.net> wrote:
>>>>
>>>> Updates: with a new kernel, and the vt terminal, this works fine.
>>>>
>>>> Unfortunately, the patch doesn't seem to work with a buildworld build (I was doing make from within the directories). This is related to a hack I do of copying zfs.c into the efi loader directory so it can be built with fPIC. The build system seems to get tripped up in mkdep as a result.
>>>>
>>>> Could someone with more knowledge of the build system give me some pointers here? Otherwise, is all set for testing.
>>>
>>> DPSRCS/CLEANFILES are probably the knobs you're looking for...
> 
> Hello,
> Can you describe in more detail the procedure for the use of a new
> boot loader, how to partition and what files where you want to record?
> 
> Until I got here the results link to screenshots:
> http://f-andrey.tumblr.com/post/122566594208/freebsd-uefi-zfs
> 
> Unable to load the kernel, i'm make simple gpart structure
> 
> GPT
> efi part  <- write /boot/loader.efi as efi/boot/bootx64.efi
> ZFS root pool
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150628/9ac76bf4/attachment.bin>


More information about the freebsd-hackers mailing list