Blinking underscore when attempting to boot from Ventoy USB


I’m using Ventoy on a USB flash drive and I’m trying to boot haiku-r1beta3-x86_64-anyboot.iso from it on an Lenovo X220. I chose the Haiku iso from the Ventoy menu and then I only get a blinking white underscore (?) in the upper left corner. Nothing happens, I’ve waited 30 minutes and tried a few times.

I have other OS that boots fine from the same flash drive on the same machine.


Ventoy cant boot Haiku.

But it can chainload haiku_loader.efi and boot installed haiku from a partition on an USB stick.

Will burning it to a flash drive the old fashioned way work without haiku_loader.efi fiddling, or do I have to go through that when booting directly from USB without Ventoy?

The image contains the efi file, no need to mess with it for boot from usb, but you still have to place it manually into the correct folder AFTER the installation.

Thanks @extrowerk.

What would it take for Haiku to work with Ventoy? It seems Ventoy loads the kernel, but then the kernel can’t find the .iso. Is this a kernel issue, or an EFI loader issue (not providing data the kernel needs)?

I think Ventoy needs some support from Haiku itself? Multiboot protocol or something? @mmu_man or @PulkoMandy or @davidkaroly could know something about it.

1 Like

The haiku inage contains a got partition with the mbr bootcode and an efi partition with a file in the fallback path. I don’t see why you would need anything else.

It seems like some info isn’t passed to the kernel, so it panics when trying to load from disk.

They reinvented the wheel but only for Linux, the current system injects kernel modules at runtime to find the image file and make it appear as a usable partition to continue booting.
So yeah, not much should be needed, just needs someone to look at it.

For the record, I added some support for the MultiBootImage protocol in our loader, the only missing thing being understanding the boot partition information. (Yes, you can run haiku_loader as a kernel in QEMU, it will just ask for the boot partition.)


Where would one should look in this case?

On the Haiku side you can look at src/system/boot/platform/bios_ia32/multiboot.cpp (IIRC the command line isn’t passed along because I couldn’t find a way to piggy back into driver_settings back then).
On the Ventoy side I’d check how it does it for linux, I don’t remember if it’s passed on the kernel command line or elsewhere.


Just as an update to this, Ventoy now supports non-Linux OSes:

Perhaps Ventoy support in Haiku could be looked at now, if anyone is interested/

1 Like