Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2016 14:10:31 -0600
From:      Brandon J. Wandersee <brandon.wandersee@gmail.com>
To:        Trond =?utf-8?Q?Endrest=C3=B8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        Matthias Fechner <idefix@fechner.net>, freebsd-questions@freebsd.org
Subject:   Re: Switch from legacy to UEFI boot??
Message-ID:  <86egcjovns.fsf@WorkBox.Home>
In-Reply-To: <alpine.BSF.2.20.1602110945020.55912@mail.fig.ol.no>
References:  <20160203213414.GB60231@rancor.immure.com> <alpine.BSF.2.20.1602040842580.1065@mail.fig.ol.no> <56B353E5.9080605@fechner.net> <alpine.BSF.2.20.1602041447560.1065@mail.fig.ol.no> <56BB9BDE.6030706@fechner.net> <alpine.BSF.2.20.1602110945020.55912@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help

Trond Endrestøl writes:

> On Wed, 10 Feb 2016 21:21+0100, Matthias Fechner wrote:
>
>> i just tested the loader.efi from base.txz from: 
>> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/10.3-PRERELEASE/ 
>> it does not boot. It seems that the new version is there not 
>> included.
>
> Try the latest 10.3-BETA1 image. That one should be recent enough.
>
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/10.3-BETA1/
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.3/
>
>> If I use beadm for my ZFS I expect that I have to manually edit the
>> loader.rc from the efi partition to load the correct environment or?
>
> I don't use any loader.rc on the ESP. Just boot1.efi renamed to 
> /EFI/BOOT/BOOTX64.EFI. boot1.efi reads the bootfs property from the 
> bootpool/rootpool, and navigates to the correct /boot directory to 
> find everything else.

Assuming your install is on disk ada0, and your ESP is the first
parition, you can just run:

$ dd if=/path/to/boot1.efifat of=/dev/ada0p1

You'll find boot1.efifat in /boot, relative to wherever you extracted
base.txz. As always, make sure your `dd` target is actually the one you
want before running.

-- 
=================================================================
   		      :: Brandon Wandersee ::
                  :: brandon.wandersee@gmail.com ::
==================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86egcjovns.fsf>