From 4cfe1c9947b437a0a274ca18c1d28afa8a160a80 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Mon, 7 Nov 2022 17:45:42 +0000 Subject: [PATCH] [iso] fix UEFI:NTFS not being installed for ISOs that have a >4GB file, when MBR is selected * GPT was fine but MBR led to the creation of EFI bootable images using NTFS as the file system, but without the UEFI:NTFS partition (e.g. UwUntu-22.10-desktop-amd64.iso). --- src/format.c | 2 +- src/rufus.rc | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/format.c b/src/format.c index 5d3b5ce2..ee40fd06 100644 --- a/src/format.c +++ b/src/format.c @@ -1451,7 +1451,7 @@ DWORD WINAPI FormatThread(void* param) extra_partitions = XP_ESP | XP_MSR; else if ( ((fs_type == FS_NTFS) || (fs_type == FS_EXFAT)) && ((boot_type == BT_UEFI_NTFS) || ((boot_type == BT_IMAGE) && IS_EFI_BOOTABLE(img_report) && - ((target_type == TT_UEFI) || (windows_to_go) || (allow_dual_uefi_bios)))) ) + ((target_type == TT_UEFI) || (windows_to_go) || (allow_dual_uefi_bios) || (img_report.has_4GB_file)))) ) extra_partitions = XP_UEFI_NTFS; else if ((boot_type == BT_IMAGE) && !write_as_image && HAS_PERSISTENCE(img_report) && persistence_size) extra_partitions = XP_CASPER; diff --git a/src/rufus.rc b/src/rufus.rc index 500d298a..e83f5d32 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 232, 326 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 3.21.1942" +CAPTION "Rufus 3.21.1943" FONT 9, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP @@ -396,8 +396,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 3,21,1942,0 - PRODUCTVERSION 3,21,1942,0 + FILEVERSION 3,21,1943,0 + PRODUCTVERSION 3,21,1943,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -415,13 +415,13 @@ BEGIN VALUE "Comments", "https://rufus.ie" VALUE "CompanyName", "Akeo Consulting" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "3.21.1942" + VALUE "FileVersion", "3.21.1943" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2022 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html" VALUE "OriginalFilename", "rufus-3.21.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "3.21.1942" + VALUE "ProductVersion", "3.21.1943" END END BLOCK "VarFileInfo"