ventoy / Ventoy

A new bootable USB solution.
https://www.ventoy.net
GNU General Public License v3.0
60.28k stars 3.94k forks source link

[issue]: Unable to boot NetBSD v10.0 from Ventoy #2883

Open tamdaz opened 2 weeks ago

tamdaz commented 2 weeks ago

Official FAQ

Ventoy Version

1.0.99

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

No. I didn't try these alternative boot modes.

BIOS Mode

UEFI Mode

Partition Style

GPT

Disk Capacity

1TB

Disk Manufacturer

No response

Image file checksum (if applicable)

Yes.

Image file download link (if applicable)

https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.0/images/NetBSD-10.0-amd64.iso

What happened?

When starting NetBSD with version 10.0, I encountered an error related to "coretemp".

IMG_3935

However, I tested the boot on VirtualBox and the installation interface is displayed correctly.

image

Xeckt commented 2 weeks ago

Have you tried to install it without Ventoy on your hardware? (Non-vm)

Ventoy seems to boot the ISO based off your picture, so what bug is there at present? You'll need to test directly on your machine without Ventoy to see if the issue persists.

tamdaz commented 2 weeks ago

I tried to boot NetBSD with the ISO image that is burned on the USB key but unfortunately the computer did not pick it up. Solution: I downloaded the IMG image for this same operating system because it is suitable for bootable USB key.

Without Ventoy

I started NetBSD on my hardware using my USB drive without Ventoy, it starts successfully and displays an installation interface.

https://github.com/ventoy/Ventoy/assets/120991635/dee557ef-2103-4b7a-8330-2fc03a63077d

With Ventoy

However, with Ventoy, the NetBSD boot phase is blocked, so the installation interface was not displayed.

https://github.com/ventoy/Ventoy/assets/120991635/880d6f14-f60d-4894-b62e-9f295ac5a4c1

Xeckt commented 2 weeks ago

Thank you for the videos. It looks like it's not detecting the boot device for some reason. Can you confirm with me the links you're using to download NetBSD ISO and IMG files?

tamdaz commented 2 weeks ago

Here are the links (i did check the integrity of those files): IMG File: https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.0/images/NetBSD-10.0-amd64-install.img.gz CD File: https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.0/images/NetBSD-10.0-amd64.iso

There may be a reason why the computer failed to detect the bootable key when I burned the ISO image. Maybe the latter is only used for older computers and for virtual machines running without the UEFI. In the end, I understood that the IMG file is mainly used for recent hardware (with UEFI).

Xeckt commented 2 weeks ago

I know this may be a little long winded, but can you try to use a NetBSD 9 ISO file in Ventoy and see if it boots into the installer?

Also, what software did you use to make the USB with the ISO you used?

I was sure you're using the official links but I wanted to make sure to see if I could reproduce the problem.

Xeckt commented 2 weeks ago

I've managed to reproduce the problem using QEMU/KVM USB passthrough on UEFI.

Notably @tamdaz - I don't think yours is booting with UEFI. Check my boot menu you yours in comparison, video below.

Regardless, the issue persists on a VM for me with a similar setup, same symptom.

I'm going to attempt with NetBSD 9.4 now.

https://github.com/ventoy/Ventoy/assets/21239633/7425c59e-6a07-4250-be47-2e2e47dba69c

Xeckt commented 2 weeks ago

The same issue occurs on 9.4 as well.

I will try a different version of Ventoy preceding 1.0.99 and see if there is any difference.

Memboot does not work either.

tamdaz commented 2 weeks ago

From my information, I have seen that my computer does work with UEFI. I will try to do the test with NetBSD 9.X as soon as I have a moment.

image

Xeckt commented 2 weeks ago

Still does not work in 0.98 and 0.97

The strange thing is is it does pick up the two devices: wd0 and sd0 respectively. wd0 being the drive to install NetBSD to, and sd0 the one with Ventoy.

image

Additionally, despite the fact it's picking up the devices, I still cannot manually mount them, on ANY filesystem, even if I preconfigured the partition table and filesystem:

image

It does look like this is an issue with Ventoy presenting itself to the distribution.

I'm not completely well versed in NetBSD, but going into the supervisor mode and attempting to manually call functions and trace them, it just errors out despite the devices being visible to the kernel.

@ventoy - Do you have any advice or do you think this is an issue?

tamdaz commented 1 week ago

I know this may be a little long winded, but can you try to use a NetBSD 9 ISO file in Ventoy and see if it boots into the installer?

Also, what software did you use to make the USB with the ISO you used?

I was sure you're using the official links but I wanted to make sure to see if I could reproduce the problem.

I did the same procedure to start NetBSD version 9.4 and I encounter the same problem. To answer your question, I used the GNOME software named "Impression" that enables to burn ISO/IMG images.

With Ventoy (NetBSD v9.4)

https://github.com/ventoy/Ventoy/assets/120991635/776f058f-da20-4d9c-928e-c07f1ece0b7f

Without Ventoy (NetBSD v9.4)

https://github.com/ventoy/Ventoy/assets/120991635/ba0aac93-03fb-4692-b63a-a56e70b56474