Details
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 17367 Build 17200: arc lint + arc unit
Event Timeline
This update to rootgen.sh and install-boot.sh covers most all boot cases: amd64{geli,nogeli}-{gpt,mbr}-{ufs,zfs}-{legacy,uefi,both}
Results of the current version:
amd64-geli-gpt-ufs-both: legacy: works, uefi: no geli support
amd64-geli-gpt-ufs-legacy: works
amd64-geli-gpt-ufs-uefi: no geli support
amd64-geli-gpt-zfs-both: legacy: works, uefi: no geli support
amd64-geli-gpt-zfs-legacy: works
amd64-geli-gpt-zfs-uefi: no geli support
amd64-geli-mbr-ufs-both: no geli support
amd64-geli-mbr-ufs-legacy: no geli support
amd64-geli-mbr-ufs-uefi: no geli support
amd64-geli-mbr-zfs-both: no geli support
amd64-geli-mbr-zfs-legacy: no geli support
amd64-geli-mbr-zfs-uefi: no geli support
amd64-nogeli-gpt-ufs-both: legacy: works, uefi: qemu-fails
amd64-nogeli-gpt-ufs-legacy: works
amd64-nogeli-gpt-ufs-uefi: qemu-fails
amd64-nogeli-gpt-zfs-both: legacy: works, uefi: qemu-fails
amd64-nogeli-gpt-zfs-legacy: works
amd64-nogeli-gpt-zfs-uefi: qemu-fails
amd64-nogeli-mbr-ufs-both: not implemented
amd64-nogeli-mbr-ufs-legacy: works
amd64-nogeli-mbr-ufs-uefi: not implemented
amd64-nogeli-mbr-zfs-both: not implemented
amd64-nogeli-mbr-zfs-legacy: works
amd64-nogeli-mbr-zfs-uefi: not implemented
For some reason, qemu will not boot the UEFI images, it starts our UEFI loader and then reports:
>> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: ZFS UFS Load Path: \EFI\BOOT\BOOTX64.EFI Load Device: PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)/HD(1,GPT,1BB47135-71A6-11E8-B31D-00074334F670,0x28,0x640) BootCurrent: 0004 BootOrder: 0000 0001 0002 0003 0004[*] 0005 0006 0007 Probing 6 block devices......*.. done ZFS found the following pools: nogeli-gpt-zfs-uefi UFS found no partitions command args: -h -D -S115200 Failed to start image provided by ZFS (9) panic: No bootable partitions found!
or
Failed to start image provided by UFS (9) panic: No bootable partitions found!
However, all of the UEFI images generated do boot in bhyve with uefi-firmware/BHYVE_UEFI.fd
I still need to investigate how to make an MBR+UEFI image.
Update
amd64-geli-gpt-ufs-both: legacy: works, uefi: no geli support
amd64-geli-gpt-ufs-legacy: works
amd64-geli-gpt-ufs-uefi: no geli support
amd64-geli-gpt-zfs-both: legacy: works, uefi: no geli support
amd64-geli-gpt-zfs-legacy: works
amd64-geli-gpt-zfs-uefi: no geli support
amd64-geli-mbr-ufs-both: no geli support
amd64-geli-mbr-ufs-legacy: no geli support
amd64-geli-mbr-ufs-uefi: no geli support
amd64-geli-mbr-zfs-both: no geli support
amd64-geli-mbr-zfs-legacy: no geli support
amd64-geli-mbr-zfs-uefi: no geli support
amd64-nogeli-gpt-ufs-both: legacy: works, uefi: works
amd64-nogeli-gpt-ufs-legacy: works
amd64-nogeli-gpt-ufs-uefi: works
amd64-nogeli-gpt-zfs-both: legacy: works, uefi: works
amd64-nogeli-gpt-zfs-legacy: works
amd64-nogeli-gpt-zfs-uefi: works
amd64-nogeli-mbr-ufs-both: legacy: works, uefi: works
amd64-nogeli-mbr-ufs-legacy: works
amd64-nogeli-mbr-ufs-uefi: works
amd64-nogeli-mbr-zfs-both: legacy: works, uefi: works
amd64-nogeli-mbr-zfs-legacy: works
amd64-nogeli-mbr-zfs-uefi: works