From owner-freebsd-questions@freebsd.org Fri Sep 4 19:10:07 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 B5EE13CCC37 for ; Fri, 4 Sep 2020 19:10:07 +0000 (UTC) (envelope-from mason@blisses.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BjnLR3r11z4TVK for ; Fri, 4 Sep 2020 19:10:07 +0000 (UTC) (envelope-from mason@blisses.org) Received: by mailman.nyi.freebsd.org (Postfix) id 83A0E3CC9DA; Fri, 4 Sep 2020 19:10:07 +0000 (UTC) Delivered-To: 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 836823CC966 for ; Fri, 4 Sep 2020 19:10:07 +0000 (UTC) (envelope-from mason@blisses.org) Received: from phlegethon.blisses.org (phlegethon.blisses.org [50.56.97.101]) (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 4BjnLQ5QVbz4TX1 for ; Fri, 4 Sep 2020 19:10:06 +0000 (UTC) (envelope-from mason@blisses.org) Received: from cocytus.blisses.org (service.blisses.org [64.223.129.151]) by phlegethon.blisses.org (Postfix) with ESMTP id D4966194D03; Fri, 4 Sep 2020 15:09:59 -0400 (EDT) Received: from blisses.org (acheron.int.blisses.org [10.0.1.10]) by cocytus.blisses.org (Postfix) with ESMTPSA id 6E169A1; Fri, 4 Sep 2020 15:09:59 -0400 (EDT) Date: Fri, 4 Sep 2020 15:09:58 -0400 From: Mason Loring Bliss To: Kevin Oberman Cc: questions@freebsd.org Subject: Re: UEFI dual boot Message-ID: <20200904190958.GK18446@blisses.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AXxEqdD4tcVTjWte" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4BjnLQ5QVbz4TX1 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mason@blisses.org designates 50.56.97.101 as permitted sender) smtp.mailfrom=mason@blisses.org X-Spamd-Result: default: False [-4.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-0.995]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[blisses.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.58)[-0.583]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:19994, ipnet:50.56.0.0/17, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2020 19:10:07 -0000 --AXxEqdD4tcVTjWte Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 03, 2020 at 07:52:02PM -0700, Kevin Oberman wrote: > Should I have two efi partitions? If so, how does the system figure out > which to use? Into which does the efi loader go? In general, you only want one per drive. It'll have directories for each OS's bootloader. You have a set of boot variables you set with efibootmgr that can reference either partition, but you don't gain anything having more than one. In general, you'll want to take your free space and make the necessary FreeBSD partitions, and just populate a directory in your ESP with FreeBSD's bootloader. You'll want boot variables for both Windows and FreeBSD. There are examples you can pull from here: https://wiki.freebsd.org/MasonLoringBliss/ZFSandGELIbyHAND Don't follow the guide verbatim, as it assumes you only want FreeBSD on the disk and will wipe out anything else it finds, but do look at ESP handling, general partitioning, and its use of efibootmgr, as those are relevant to you. --=20 Mason Loring Bliss (( "In the drowsy dark cave of the mind dreams mason@blisses.org )) build their nest with fragments dropped http://blisses.org/ (( from day's caravan." - Rabindranath Tagore --AXxEqdD4tcVTjWte Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEEXtBZz1axB5rEDCEnrJXcHbvJVUFAl9SkQQACgkQnrJXcHbv JVWlcBAAzSBeBar7LOXCEcHCdSUXOIKFRj/a/fhNFMhsh7uCegqrD82TmTMHdgmi AQAy/cR/F8zGBewh1UFHRhOicvNoHr5Nb1xJszlvMd53JKicm04BNfjKo4bp/YXC i7vbRNDKhm/NBwOpoOKuCzOTLamxD6sm7CHTfkLpJazvO3fKw+4jkGv8NPBzdNuh K/eWTMessMtFhJarf91JQcWqiv7krlg3UZ6rLfGvwPMlhKIZGIjsxYS/JarpkCAW WJLmNpyDiAWewqa/iJLzuQkQkmBsAHKO7ECj86TLMmgP3g0L0e/KLmdXt6d/LfZO CSTgiiRWhR/HzP5YBwM521qiDlaojwGoM3PPVf8DHEli/rEvt3Ur34AhooH4Jnym fkY5+hcktfr+45GT7OX7euUAudQwcZ6OJjA1e57y2/axqnPTehufDx7K87pMPCyt IgNt5+PC5Wa3v48MimerNRPHe2yQDTtoauDxC7hmcx39wl097Jxhmdd5770q4Xvg 2Jp4ctXnG3RlnRPpFTRwmi//Ie6ZEEpbzyavfmKHiCBd7Gp5DHyx41IQbGPTd5tb AFNyrMeR9+NBs4t4YTZXykUMR0yIdn1qDuUbwJ6XQ3MUAlCleMlgYW0sRNYC2/zA 8lpRpw0PFGPnXJ5oS71pUpg2DYMHGF5E/683OgPIH+NI4sEUQns= =Lteo -----END PGP SIGNATURE----- --AXxEqdD4tcVTjWte--