[Bug 295070] make vm-image doesn't contain essential files to boot

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 May 2026 00:55:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295070

            Bug ID: 295070
           Summary: make vm-image doesn't contain essential files to boot
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: minsoochoo0122@proton.me

At c4af3f13a4e9932968d92872aaf22312a6e79e4e,

```
$ make -j32 buildworld && make -j32 buildkernel
$ make -C release vm-image WITH_VMIMAGES=yes VMFORMATS=raw NO_ROOT=yes
WITHOUT_QEMU=yes
```

If you inspect the output folder (e.g. vm-image-raw-ufs), you'll see some files
missing. This causes boot failure when using bhyveload:

```
$ sudo bhyveload -m 4G -d
/usr/obj/usr/src/freebsd/main/amd64.amd64/release/vm.ufs.raw vm-main

<splash screen>

Loading kernel...
/boot/kernel/kernel text=0x199aa0 text=0xe7e9fc text=0x4c6114 data=0x180+0xe80
data=0x1afde0+0x850220 0x8+0x1b2af0+0x8+0x17ce2a|
Loading configured modules...
can't find '/etc/hostid'
can't find '/boot/entropy'
```

-- 
You are receiving this mail because:
You are the assignee for the bug.