Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2020 15:09:58 -0400
From:      Mason Loring Bliss <mason@blisses.org>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: UEFI dual boot
Message-ID:  <20200904190958.GK18446@blisses.org>
In-Reply-To: <CAN6yY1trVp2Sj2b1XDx1bzL9DDpY%2BAp1rns9Dt4e9A6k%2BgzMCg@mail.gmail.com>
References:  <CAN6yY1trVp2Sj2b1XDx1bzL9DDpY%2BAp1rns9Dt4e9A6k%2BgzMCg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200904190958.GK18446>