From 42f72bb6a3dd451f2645d8b6dc850cb2f26567dd Mon Sep 17 00:00:00 2001 From: Islam Darwish <51976000+Islam-Darwish@users.noreply.github.com> Date: Sun, 9 Feb 2025 17:38:03 +0200 Subject: [PATCH] fix win 11 --- LinuxGUI/Ventoy2Disk/Core/ventoy_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LinuxGUI/Ventoy2Disk/Core/ventoy_util.c b/LinuxGUI/Ventoy2Disk/Core/ventoy_util.c index 03d93192..f12ccea9 100644 --- a/LinuxGUI/Ventoy2Disk/Core/ventoy_util.c +++ b/LinuxGUI/Ventoy2Disk/Core/ventoy_util.c @@ -442,7 +442,7 @@ int ventoy_fill_gpt(uint64_t size, uint64_t reserve, int align4k, VTOY_GPT_INFO ventoy_gen_preudo_uuid(&(Table[1].PartGuid)); Table[1].StartLBA = Table[0].LastLBA + 1; Table[1].LastLBA = Table[1].StartLBA + VTOYEFI_PART_BYTES / 512 - 1; - Table[1].Attr = 0xC000000000000001ULL; + Table[1].Attr = 0x9000000000000000ULL; ventoy_fill_gpt_partname(Table[1].Name, "VTOYEFI"); #if 0