ventoy / Ventoy

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

[issue]: Theme global property value are required to be strings #2166

Open j-terp opened 1 year ago

j-terp commented 1 year ago

Official FAQ

Ventoy Version

1.0.88

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

64GB

Disk Manufacturer

SanDisk

Image file checksum (if applicable)

None

Image file download link (if applicable)

No response

What happened?

Similar to #2149, my USB would boot into an error alloc magic is broken at ... with different values each time.

After reviewing I found that Ventoy can't handle any global property values that are not strings in the theme.txt of a theme, which is only one of the types grub2 supports.

All of the options below would break when not encapsulated within a string.

desktop-color: "#000000"
terminal-top: "0"
terminal-width: "100%"
ventoy commented 1 year ago

Wait for grub2 community fix. I add a tip message to facilitate problem location.