From nobody Sun Mar 6 15:52:13 2022 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8E99D19E9331 for ; Sun, 6 Mar 2022 15:52:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KBR1W6fnPz3smr for ; Sun, 6 Mar 2022 15:52:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vs1-xe30.google.com with SMTP id y4so14162237vsd.11 for ; Sun, 06 Mar 2022 07:52:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F6kVrfTXu4KTLl9WNflfa4R7pa+IdvMkp/8fso+AGoE=; b=XS/BfXNI88o/3JLmaKY5l21KQMiI0dR6X3XqGc2urHIiszyhivXmVTpYqvCF9IXl15 hso/1k9UaWHB6Duv/+Z5SGafLcQxtx+a/ddpnFF8huG9hCZl/JhZVdQZ47DYHusLQgSQ 2HLUx/VGp+pR3nf3VQHaD1IKuM5Vmqtu+jrNSB46le8HIOIH7qgUgBJ6xKup0w3Qn5Sw tDWJ1U2LZ+7o00XFvPxCcc1MOeHdpuxHKnMPDEdo2+oys7QDLx2QU99RWva/vXkrNOIm LrphdtaWytpW50D3TEVYl3KLku5CSpFiEvkf+2nA13Xe/Wiwh4mFoV6+Bs/D5hPPrAPH y7IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F6kVrfTXu4KTLl9WNflfa4R7pa+IdvMkp/8fso+AGoE=; b=htlikyg3w5jj+GMKgalqBaCkvj3Jb2kuuuEsdWCZdspBhB71rheVTAsTtvRtBdXySm dJnNErHAcyB9TUNXbEvAMptiKNFMaS6Z82dYSfUNyGTCRJP+DeuaKl3jRQnrJtmFLOHl tTdW/SwqExm/f5t9q27QTmZGYVU4HutPMWyhFS+8kCJUJ4PvPpeDUoKCVUebef1JAStt 3IZb5fTJyOb7jVJufte5u1M9qgzOa5uFheItJQwkORHKuD976amVNSLzivp5HbaLnBE/ RaQ7kaTLJTL3gys/uyncKQOx/WuQT9jdF8IVOItVid2xNM+E5npq1VL5z63HPPtoqboy 9wQg== X-Gm-Message-State: AOAM533IHkQCaRcap8ffl4EMOkAF5bjOr7z+LeWB7gab+rCpVLGgqQOB MACS3XpE0CwV41fIAOkpysMia6EtWXDLATfsxI39qUnwAEk= X-Google-Smtp-Source: ABdhPJzik9I0CVn8cQ9uOlY9oaq77n5zf4ePJCCGjL0GgSssMMIJUQn3OtdERpacqaZ40H1KeP5jVB2djglsDAE99II= X-Received: by 2002:a05:6102:cce:b0:31b:b16b:fde1 with SMTP id g14-20020a0561020cce00b0031bb16bfde1mr2287576vst.77.1646581944972; Sun, 06 Mar 2022 07:52:24 -0800 (PST) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: <6f844ccd-b7ba-3061-fad4-958e030e7cd9@zhegan.in> In-Reply-To: <6f844ccd-b7ba-3061-fad4-958e030e7cd9@zhegan.in> From: Warner Losh Date: Sun, 6 Mar 2022 08:52:13 -0700 Message-ID: Subject: Re: FreeBSD UEFI and freebsd-boot second partition To: "Eugene M. Zheganin" Cc: FreeBSD Stable ML Content-Type: multipart/alternative; boundary="000000000000ec8d0a05d98ebbd0" X-Rspamd-Queue-Id: 4KBR1W6fnPz3smr X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b="XS/BfXNI"; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::e30) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.59 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; NEURAL_HAM_MEDIUM(-0.56)[-0.557]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.04)[-0.035]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e30:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[stable]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com] X-ThisMailContainsUnwantedMimeParts: N --000000000000ec8d0a05d98ebbd0 Content-Type: text/plain; charset="UTF-8" On Sun, Mar 6, 2022, 8:40 AM Eugene M. Zheganin wrote: > Hello, > > > Sorry, just failed to find this after a quick googling: bsdinstall in > UEFI environment creates freebsd-boot second partition. What for and > what lives there ? I used to think that only EFI system partition is > needed. > It creates both. This dates from a time that UEFI support was new and people would configure their BIOS to boot in either the old "BIOS" boot or with the new UEFI to help diagnose problems. Now that operation is rare, but we still have this confusing quirk. P.S. Attached a second disk to zroot and now wonder what to put there. > Should I treat it as the regular pre-UEFI gptzfsboot one ? > I'd put nothing on it. Unless you are creating a redundant boot setup.... Warner > > Thanks. > > Eugene. > > > --000000000000ec8d0a05d98ebbd0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Mar 6, 2022, 8:40 AM Eugene M. Zheganin <eugene@zhegan.in> wrote:
=
Hello,


Sorry, just failed to find this after a quick googling: bsdinstall in
UEFI environment creates freebsd-boot second partition. What for and
what lives there ? I used to think that only EFI system partition is needed= .

It creates both. This dates from a time that UEFI support was new and peop= le would configure their BIOS to boot in either the old "BIOS" bo= ot or with the new UEFI to help diagnose problems.=C2=A0 Now that operation= is rare, but we still have this confusing quirk.
P.S. Attached a second disk to zroot and now wonder what to put there.
Should I treat it as the regular pre-UEFI gptzfsboot one ?
=

I'd put nothi= ng on it. Unless you are creating a redundant boot setup....

Warner=C2=A0
<= div class=3D"gmail_quote">

Thanks.

Eugene.


--000000000000ec8d0a05d98ebbd0--