From owner-freebsd-questions@freebsd.org Thu Feb 11 22:06:26 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB134AA6604 for ; Thu, 11 Feb 2016 22:06:26 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82F311D97 for ; Thu, 11 Feb 2016 22:06:25 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-ig0-f171.google.com with SMTP id 5so46700353igt.0 for ; Thu, 11 Feb 2016 14:06:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type :content-transfer-encoding; bh=c3QjTad6EoRN+D4ybCakOcGZV2RuAYpYxZBpcvUR4o4=; b=bZafWHP6CyQk/xe3I7PT/2+dk0dBdWJKuDkx6uTwA3wNoJihL9HVqpmRQoknrFG3Ci FNmEw9eGz9DCHkQTA4qF10cnrqmyDc7qGknyqS0s0alL5C/JhHK/GSPBvldRKbz/HzaR hLqqXfzG4OlgTmtiibdcbydLYRpNG8KTV4xxoqOOETbDwxY6k0/jjvDolqFBfR3/HITZ pNTXjiCFB0BncrwFUFfA2db3NyuyQWWTCtPnaZZGUUiWHarNx/IrSxBs2VAHzieEUs3A nxKk6VMFUmTuni5a4NRwSGFtwNYvehvBt3CrlPW6i35tLZC9/3y9UYro/KU78R55cE6I wkBw== X-Gm-Message-State: AG10YOSXlTseQm88WkbYenEIAJH1YJe6D5BUrlAt8H4ho73hpiJmnppPo81Re9qVfDpgDw== X-Received: by 10.50.50.144 with SMTP id c16mr368239igo.82.1455221434508; Thu, 11 Feb 2016 12:10:34 -0800 (PST) Received: from WorkBox.Home.gmail.com (63-231-151-131.mpls.qwest.net. [63.231.151.131]) by smtp.gmail.com with ESMTPSA id l11sm4816756iol.17.2016.02.11.12.10.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Feb 2016 12:10:33 -0800 (PST) References: <20160203213414.GB60231@rancor.immure.com> <56B353E5.9080605@fechner.net> <56BB9BDE.6030706@fechner.net> User-agent: mu4e 0.9.15; emacs 24.5.1 From: Brandon J. Wandersee To: Trond =?utf-8?Q?Endrest=C3=B8l?= Cc: Matthias Fechner , freebsd-questions@freebsd.org Subject: Re: Switch from legacy to UEFI boot?? In-reply-to: Date: Thu, 11 Feb 2016 14:10:31 -0600 Message-ID: <86egcjovns.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 22:06:26 -0000 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 :: ==================================================================