From owner-svn-src-head@freebsd.org Thu Sep 5 08:42:05 2019 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 24DF6DEB71; Thu, 5 Sep 2019 08:42:05 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46PDhC5Gs6z4QV6; Thu, 5 Sep 2019 08:42:03 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 46PDh44CKyz3l80; Thu, 5 Sep 2019 08:41:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1567672916; bh=L/imUwx91+WcRtYULk8+flWs GMUxopvkjDA+p/sl7jk=; b=N638HFD2926d9osNvMRt4qaHtMtpVRwKDmc2e8Hq C4ykMpZM021hKSRd0/ADw8HKTPwtAYIpkvuESJwk666v9E4crcWTvynpj9AC/CPN qErpv0/X/vExl9h6qZ0yssyTqYMN2I5UVvfLmmhxY2zSDw0B/Iprjc2/v+7+PK9h Iok= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id phgbSyIQfZ0p; Thu, 5 Sep 2019 08:41:56 +0000 (UTC) Received: from garnet.daemonic.se (host-95-192-152-45.mobileonline.telia.com [95.192.152.45]) by mail.daemonic.se (Postfix) with ESMTPSA id 46PDh34wzFz3c7W; Thu, 5 Sep 2019 08:41:55 +0000 (UTC) Subject: Re: svn commit: r351831 - in head: . stand/efi/boot1 stand/efi/gptboot tools/build/mk To: Dimitry Andric , Rebecca Cran Cc: svn-src-head@freebsd.org, svn-src-all , src-committers References: <201909042055.x84KtnH6078288@repo.freebsd.org> <597F1636-E881-4ECF-A341-1C2F658CFB4F@FreeBSD.org> From: Niclas Zeising Message-ID: Date: Thu, 5 Sep 2019 10:41:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: <597F1636-E881-4ECF-A341-1C2F658CFB4F@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46PDhC5Gs6z4QV6 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=N638HFD2; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 176.58.89.161 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-7.70 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-3.72)[ip: (-9.79), ipnet: 176.58.89.0/24(-4.90), asn: 36236(-3.86), country: US(-0.05)]; DKIM_TRACE(0.00)[daemonic.se:+]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; RECEIVED_SPAMHAUS_PBL(0.00)[45.152.192.95.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; TAGGED_FROM(0.00)[freebsd]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2019 08:42:05 -0000 On 2019-09-05 07:57, Dimitry Andric wrote: > On 4 Sep 2019, at 22:55, Rebecca Cran wrote: >> >> Author: bcran >> Date: Wed Sep 4 20:55:48 2019 >> New Revision: 351831 >> URL: https://svnweb.freebsd.org/changeset/base/351831 >> >> Log: >> The efifat files are no longer used: remove the code to build them >> >> Reviewed by: imp, tsoome, emaste >> Differential Revision: https://reviews.freebsd.org/D20562 > > So what are now the instructions for updating an EFI partition, after a > buildworld? I used to find that efifat file quite handy, I could just > use gpart -p to write it into the EFI partition... :-/ > > -Dimitry > This is what I do: mount -t msdosfs /dev/ada0p1 /mnt # (if that's the ESP, check with gpart list) cp /boot/loader.efi /mnt/EFI/FreeBSD/loader.efi umount /mnt This works if proper EFI boot variables have been set up. This can be done with, it's only needed the first time, or if they are somehow overwritten. efibootmgr --create --activate --label FreeBSD --loader /dev/ada0p1:/EFI/FreeBSD/loader.efi Once again, check that /dev/ada0p1 is the ESP. You can check your efi boot variables with efibootmgr -v Regards -- Niclas