From owner-freebsd-questions@freebsd.org Wed Dec 23 05:45:14 2020 Return-Path: Delivered-To: freebsd-questions@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 725CD4B3C1A for ; Wed, 23 Dec 2020 05:45:14 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D12Gx3TRyz3t61 for ; Wed, 23 Dec 2020 05:45:13 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lf1-x12e.google.com with SMTP id b26so27916160lff.9 for ; Tue, 22 Dec 2020 21:45:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9gpL3r09sY4grrrGRL3AN7vV+O/iF8zaEBcNr58EJOs=; b=f7geL/hc1X/Y9Z6atD+ofS7rDsJnfMcWwLcuqqgr0WqaEMoI6un2p/+QSUkZr2AqsV I0h3aNFwRzry0NgPpaYZ0uxp0+swbvx0J/LP9GFT1PMuEF9Xn+WjXe+I+gfx4+H5Kqvl 9eCj/P9j02zQFFTkZOTDcZry6aaocLtVyIoPFlvgLNMnTklGH0lQU2N9XeKWEUh+LnaH u+N8j/qYnYr7l7fsC07kBeVzyAXDzVF0yxGyiuSTy7xsdQFEEuy/YOwC5pXAB117gf6/ +ujKB4JDXiiDGCI2Yd0Lni4rTJ69ArQF/Umxz3K7xUHugSgePwMK+RnMDqArSKsYF8U4 /sdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9gpL3r09sY4grrrGRL3AN7vV+O/iF8zaEBcNr58EJOs=; b=KHm4uHYHqdtBLxN9/t2N45POww+jmx32mDdt3le6kZL84w4pWt2Mpmway/9cWP8hyU 4AXhcGfrj6BhHMRUoUdUdyfzhb2pEwsaJJlfMvFQLhl0p2JwdZdWM48LKmqxSdXjCSFV hONEXVrIjck60GqO9SheDtgvSQJK5YziettCLvQH1rCUBBFWOJ4O1RB9YyHba8NoJid1 cMJ28uu/f3EaJtC/mGJRP4rlWydryKGVHP8CFcDRAq3JMT0k1QV3/A3PGGNZzdsPEJUK +KXPEaubQW35znEsEANklOkulnuqTgKPOVYE/uIsJjkBKFXc2tK5Ccy3SOgo1wkQpc6e R05A== X-Gm-Message-State: AOAM531Pgr4A+rd7cDDMZwGmoAq9PSl2TKqnXzc/o6g3GGJPSwk4gKSO m5VUs98BejFb8KFBpMUkvPCTbOSUWjYFH3UM/aF3uA== X-Google-Smtp-Source: ABdhPJw4rvohxQNeIERRcMfoAbFUJB7qOvxQycSfOfs7854j60MG34g83a0vLQxjXcSX+1X5LVY04O7ZI6kFxt9K1Jo= X-Received: by 2002:a2e:6a04:: with SMTP id f4mr11585549ljc.255.1608702311576; Tue, 22 Dec 2020 21:45:11 -0800 (PST) MIME-Version: 1.0 References: <20201223041907.GA28380@admin.sibptus.ru> In-Reply-To: <20201223041907.GA28380@admin.sibptus.ru> From: Michael Sierchio Date: Tue, 22 Dec 2020 21:44:35 -0800 Message-ID: Subject: Re: BOOTX64.EFI padding To: Victor Sudakov Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4D12Gx3TRyz3t61 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=f7geL/hc; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::12e) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::12e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12e:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::12e:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2020 05:45:14 -0000 Sorry, this may not be relevant, but what partition scheme? On Tue, Dec 22, 2020 at 8:19 PM Victor Sudakov wrote: > Dear Colleagues, > > From reading uefi(8) one can make the conclusion that boot1.efi is > *the* binary which is put to the EFI partition as BOOTx64.efi. > > However when I examine the files /boot/boot1.efi and > /mnt/efi/boot/BOOTx64.efi (or BOOTx64.efi from the /boot/boot1.efifat > filesystem image), I see that BOOTx64.efi is first identical to > boot1.efi, but then it's padded with spaces. Why is that? > > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ > --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata