Skip to content

Commit

Permalink
1.0.85 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed Dec 18, 2022
1 parent 83f2217 commit 22ad828
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 1 deletion.
Binary file removed INSTALL/EFI/BOOT/grubx64.efi
Binary file not shown.
Binary file modified INSTALL/Ventoy2Disk.exe
Binary file not shown.
Binary file modified INSTALL/Ventoy2Disk_ARM.exe
Binary file not shown.
Binary file modified INSTALL/Ventoy2Disk_ARM64.exe
Binary file not shown.
Binary file modified INSTALL/Ventoy2Disk_X64.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion INSTALL/grub/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 17 additions & 0 deletions Ventoy2Disk/Ventoy2Disk/PhyDrive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 ...");
Expand Down Expand Up @@ -2008,6 +2020,11 @@ int InstallVentoy2PhyDrive(PHY_DRIVE_INFO *pPhyDrive, int PartStyle, int TryId)
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);
Expand Down

0 comments on commit 22ad828

Please sign in to comment.