helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
805 stars 58 forks source link

13.1-RELEASE based experimental build does not boot on Ventoy #385

Closed probonopd closed 1 year ago

probonopd commented 2 years ago

13.1-RELEASE based experimental build does not boot on Ventoy.

https://github.com/helloSystem/ISO/releases/tag/experimental-13.1-RELEASE

geom_ventoy.ko is on the disk and geom_ventoy_load="YES" is set in loader.conf. Why does it not work?

probonopd commented 2 years ago

Ventoy can boot https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.1/FreeBSD-13.1-RELEASE-amd64-bootonly.iso though. So the issue must be with helloSystem?

probonopd commented 2 years ago
mountroot: waiting for device /dev/iso9660/LIVE

Unlike to what we had in https://github.com/ventoy/Ventoy/discussions/1235#discussioncomment-1639191

there are no mentions of g_ventoy_taste at all when booted with

unset boot_mute
boot -v
probonopd commented 2 years ago

It will be interesting to see whether GhostBSD based on FreeBSD 13.1 will be bootable with Ventoy.

0hip commented 2 years ago

IMG_20220708_211026 GhostBSD-22.06.18.iso Ventoy 1.0.77 TOSHIBA SATELLITE S50T

probonopd commented 2 years ago

With the FreeBSD 13.1-RELEASE based ISO of helloSystem when I boot with -v, then I don't see g_ventoy_taste(VENTOY, da0) nor ######## ventoy disk <da0> ########, unlike with GhostBSD-22.06.18.iso using the exact same hardware. Turns out that the geom_ventoy.ko module is not getting loaded at all. Why?

probonopd commented 2 years ago

If we interrupt early boot by pressing backspace, then above the OK bootloader prompt we get don't know how to load module '/boot/kernel/geom_ventoy.ko'. Same result if we type load /boot/kernel/geom_ventoy.ko.

This is only the case when the ISO is loop-mounted using Ventoy, it is not the case when we are booting from a dedicated USB stick.

So, why does the Ventoy kernel module get loaded on GhostBSD-22.06.18.iso booted through Ventoy but not on https://github.com/helloSystem/ISO/releases/tag/experimental-13.1 booted through Ventoy?

Reference:

0hip commented 1 year ago
probonopd commented 1 year ago

I can confirm that the kernel module from Ventoy v1.0.70 works with FreeBSD 13. Thanks @0hip.