UEFI dual boot

Mason Loring Bliss mason at blisses.org
Fri Sep 4 19:10:07 UTC 2020


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.

-- 
Mason Loring Bliss   ((  "In the drowsy dark cave of the mind dreams
mason at blisses.org     ))  build  their nest  with fragments  dropped
http://blisses.org/  ((   from day's caravan." - Rabindranath Tagore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200904/46e8b26b/attachment.sig>


More information about the freebsd-questions mailing list