ISO icon indicating copy to clipboard operation
ISO copied to clipboard

13.1-RELEASE based experimental build does not boot on Ventoy

Open probonopd opened this issue 2 years ago • 7 comments

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 avatar May 21 '22 16:05 probonopd

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 avatar May 21 '22 16:05 probonopd

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 avatar May 21 '22 16:05 probonopd

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

probonopd avatar May 21 '22 16:05 probonopd

IMG_20220708_211026 GhostBSD-22.06.18.iso Ventoy 1.0.77 TOSHIBA SATELLITE S50T

0hip avatar Jul 09 '22 03:07 0hip

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 avatar Jul 09 '22 08:07 probonopd

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:

  • https://github.com/ventoy/Ventoy/discussions/1721

probonopd avatar Jul 09 '22 09:07 probonopd

  • https://github.com/ventoy/Ventoy/releases/download/v1.0.79/ventoy-1.0.79-windows.zip
  • https://github.com/helloSystem/ISO/releases/download/experimental-13.1/hello-0.8.0_0H78-FreeBSD-13.1-amd64.iso
  • replacing hellosystem_ISO's geom_ventoy.ko with v1.0.70: https://github.com/ventoy/Ventoy/blob/v1.0.70/Unix/ventoy_unix/FreeBSD/geom_ventoy_ko/13.x/64/geom_ventoy.ko.xz I get: 1 4 :)

0hip avatar Aug 25 '22 18:08 0hip

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

probonopd avatar Sep 24 '22 13:09 probonopd