Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 08:39:25 +0300
From:      Andrey Fesenko <f0andrey@gmail.com>
To:        Eric McCorkle <eric@metricspace.net>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: EFI ZFS loader successful load and boot
Message-ID:  <CA%2BK5SrM4n8hCzGMpTwhuswjgEP2T6zmEBCGy00__8Ne9j7WoqQ@mail.gmail.com>
In-Reply-To: <55761E58.6040704@metricspace.net>
References:  <5560F4FE.4030502@metricspace.net> <5560F743.9000507@metricspace.net> <7CD9D028-8BCE-4361-966B-140642BAE341@metricspace.net> <98598C0A-D09A-4BC7-A15C-5422BBA2EE4C@gmail.com> <55761E58.6040704@metricspace.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 9, 2015 at 1:59 AM, Eric McCorkle <eric@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@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 f=
PIC. 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 poin=
ters 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BK5SrM4n8hCzGMpTwhuswjgEP2T6zmEBCGy00__8Ne9j7WoqQ>