I wonder if, using UEFI and ZFS, a USB memstick could be created that can dual-boot across different architectures (arm64 and amd64). Effectively, use #ZFS boot environments in #FreeBSD / #HardenedBSD to support multi-architecture in this way.
@saper@lattera yes. The uefi firmware will only look at its bootloader, so that will work if you can figure out how to get that bootloader to pick the right executable to chain to
@david@lattera looks like /stand/boot/efi/boot1/boot1.c calls ZFS and UFS modules and tries to figure out anything that has second stage efi loader on it. Some small change to try_boot() logic to try multiple images if the first one fails might do the trick!
@david @lattera looks like /stand/boot/efi/boot1/boot1.c calls ZFS and UFS modules and tries to figure out anything that has second stage efi loader on it. Some small change to try_boot() logic to try multiple images if the first one fails might do the trick!