ventoy / Ventoy

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

[issue]: GParted live 1.6.0-10 - Ventoy 1.0.99 - Problem loading X.509 certificate #3034

Open Hanatarou opened 6 days ago

Hanatarou commented 6 days 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

Yes. I have tried them, but the bug still exist.

BIOS Mode

UEFI Mode

Partition Style

MBR

Disk Capacity

16GB

Disk Manufacturer

Kingston

Image file checksum (if applicable)

Yes.

Image file download link (if applicable)

https://sinalbr.dl.sourceforge.net/project/gparted/gparted-live-stable/1.6.0-10/gparted-live-1.6.0-10-amd64.iso?viasf=1

What happened?

My computer has a Gigabyte AERO G Z790 motherboard with BIOS version F12 (latest). My operating system is Windows 11 24H2 fully updated. My boot configuration is CSM disabled, UEFI x64 with secure boot enabled.

I used Ventoy version 1.0.99 to create a bootable USB drive with the GParted ISO version 1.6.0-10. The USB drive has an MBR partition style and NTFS file system. When I attempt to boot in normal mode, the following error message is displayed.

20241120_213717

After this, I am forced to reboot the computer, and the following error message is displayed.

20241120_141940

Afterwards, I can no longer boot from the USB drive, regardless of what option I change in the motherboard's secure boot settings. I tried everything, including "Reset to setup mode," which clears the NVRAM security keys.

I had to clear the CMOS, which I could only do by updating the BIOS to the same version, which, as far as I know, clears the CMOS.

Here are some screenshots of my BIOS options related to secure boot.

20241120_142541

20241120_142548

In the end, I gave up and disabled the secure boot option. Can anyone help me diagnose the problem and get secure boot working again?

Hanatarou commented 4 days ago

Hello everyone,

After additional research and testing, I downloaded and updated my Ventoy version to the Ventoy-CI version from the following link:

https://github.com/ventoy/Ventoy/actions/runs/11868854580

This version fixed the bug "Update to latest Shim (Fix verifying shim SBAT data failed) #2947."

After this update, the loop error "...shim SBAT data failed..." stopped, and I can now boot normally from the USB drive. However, the error "...Problem loading X.509..." from the GParted image persists. I even tested a more recent version of the GParted image, "gparted-live-1.6.0-12-amd64.iso", but the error remains.

The problem seems to lie with the GParted image; perhaps the developer needs to update its shim as well.

Can anyone advise if my conclusion is correct?

Is there a way to manually update the shim for the GParted image? If so, could someone guide me on how to test it myself?

Best regards,

Hanatoru