On 01/12/2021 04:51, Cédric Le Goater wrote:
The ISO is too big for quick tests. Isn't there a minimum initrd ? can
we build a
builroot-like image for FreeBSD ?
FreeBSD doesn't use initrd. Its bootloader loads kernel modules directly
from disk (unfortunately, it doesn't work on PowerNV).
But it's possible to build a minimum disk image and make FreeBSD load it
as a ramdisk, by passing it through QEMU's -initrd (even though it's not
an initrd). By default FreeBSD builds a program called rescue, that is
similar to busybox, that would help when building a minimum image.