diff --git a/INSTALL/EFI/BOOT/grubx64.efi b/INSTALL/EFI/BOOT/grubx64.efi deleted file mode 100644 index 12145cb5..00000000 Binary files a/INSTALL/EFI/BOOT/grubx64.efi and /dev/null differ diff --git a/INSTALL/Ventoy2Disk.exe b/INSTALL/Ventoy2Disk.exe index a002bbfb..bce9fe7f 100644 Binary files a/INSTALL/Ventoy2Disk.exe and b/INSTALL/Ventoy2Disk.exe differ diff --git a/INSTALL/Ventoy2Disk_ARM.exe b/INSTALL/Ventoy2Disk_ARM.exe index 1ef1862d..b8930d77 100644 Binary files a/INSTALL/Ventoy2Disk_ARM.exe and b/INSTALL/Ventoy2Disk_ARM.exe differ diff --git a/INSTALL/Ventoy2Disk_ARM64.exe b/INSTALL/Ventoy2Disk_ARM64.exe index d44835b7..96a5790b 100644 Binary files a/INSTALL/Ventoy2Disk_ARM64.exe and b/INSTALL/Ventoy2Disk_ARM64.exe differ diff --git a/INSTALL/Ventoy2Disk_X64.exe b/INSTALL/Ventoy2Disk_X64.exe index ac4c533d..04610f01 100644 Binary files a/INSTALL/Ventoy2Disk_X64.exe and b/INSTALL/Ventoy2Disk_X64.exe differ diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index 10260146..5f8ae6cd 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -2397,7 +2397,7 @@ function mimg_common_menuentry { ############################################################# ############################################################# -set VENTOY_VERSION="1.0.84" +set VENTOY_VERSION="1.0.85" #ACPI not compatible with Window7/8, so disable by default set VTOY_PARAM_NO_ACPI=1 diff --git a/Ventoy2Disk/Ventoy2Disk/PhyDrive.c b/Ventoy2Disk/Ventoy2Disk/PhyDrive.c index 11e3d966..af68bec3 100644 --- a/Ventoy2Disk/Ventoy2Disk/PhyDrive.c +++ b/Ventoy2Disk/Ventoy2Disk/PhyDrive.c @@ -1750,6 +1750,7 @@ int InstallVentoy2PhyDrive(PHY_DRIVE_INFO *pPhyDrive, int PartStyle, int TryId) UINT64 Part1SectorCount = 0; UINT64 Part2StartSector = 0; BOOL LargeFAT32 = FALSE; + BOOL DefaultExFAT = FALSE; Log("#####################################################"); Log("InstallVentoy2PhyDrive try%d %s PhyDrive%d <<%s %s %dGB>>", TryId, @@ -1862,6 +1863,17 @@ int InstallVentoy2PhyDrive(PHY_DRIVE_INFO *pPhyDrive, int PartStyle, int TryId) goto End; } } + else if (GetVentoyFsType() == VTOY_FS_EXFAT && GetClusterSize() == 0) + { + Log("Formatting part1 exFAT ..."); + DefaultExFAT = TRUE; + if (0 != FormatPart1exFAT(pPhyDrive->SizeInBytes)) + { + Log("FormatPart1exFAT failed."); + rc = 1; + goto End; + } + } else { Log("Zero part1 file system ..."); @@ -2008,6 +2020,11 @@ End: Log("No need to reformat for large FAT32"); pPhyDrive->VentoyFsClusterSize = GetVolumeClusterSize(MountDrive); } + else if (DefaultExFAT) + { + Log("No need to reformat for default exfat"); + pPhyDrive->VentoyFsClusterSize = GetVolumeClusterSize(MountDrive); + } else { bRet = DISK_FormatVolume(MountDrive, GetVentoyFsType(), Part1SectorCount * 512);