I am struggling to figure out how to get FreeBSD installed to two partitions on the same disk. My problem, as least as far as I'm aware, is that I cannot figure out how to boot the other installation. I can boot one installation, and I can mount the ZFS partition and see the installed files of the other system, but I cannot figure out how to boot it.
I originally followed Installing FreeBSD Root on ZFS using GPT so I could manually partition the drive to get both installs. I'm not sure how I need to go about modifying those instructions to get the multi-boot working.
I've experimented with efibootmgr. I tried copying another *.efi file to the boot and got it to show up in the efibootmgr, but both entries boot the same OS. Since the *.efi is binary, I'm not sure how, if possible, I can point the two to separate partitions.
I've tried experimenting with boot0cfg, but nothing I do seems to change anything and it just auto-boots the single FreeBSD.
Do I need two EFI partitions? From what I understand I only need one per drive and not one per bootable partition.
How do I configure the EFI to boot two separate partitions? Is it supposed to be automatic where I messed up the install? If that's the case, how do I modify the instructions linked to get it working?
I've done a lot of searching and have come up empty. I even seen this recent thread, but it is about two separate disks and not two partitions on the same drive. It talks about boot0cfg, but I haven't gotten that to work. Most of everything else I see is about Windows and/or Linux and most reference GRUB or rEFInd, but I'm trying to make due without needing third party tools.
I originally followed Installing FreeBSD Root on ZFS using GPT so I could manually partition the drive to get both installs. I'm not sure how I need to go about modifying those instructions to get the multi-boot working.
I've experimented with efibootmgr. I tried copying another *.efi file to the boot and got it to show up in the efibootmgr, but both entries boot the same OS. Since the *.efi is binary, I'm not sure how, if possible, I can point the two to separate partitions.
I've tried experimenting with boot0cfg, but nothing I do seems to change anything and it just auto-boots the single FreeBSD.
Do I need two EFI partitions? From what I understand I only need one per drive and not one per bootable partition.
How do I configure the EFI to boot two separate partitions? Is it supposed to be automatic where I messed up the install? If that's the case, how do I modify the instructions linked to get it working?
I've done a lot of searching and have come up empty. I even seen this recent thread, but it is about two separate disks and not two partitions on the same drive. It talks about boot0cfg, but I haven't gotten that to work. Most of everything else I see is about Windows and/or Linux and most reference GRUB or rEFInd, but I'm trying to make due without needing third party tools.