mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-28 13:44:15 -04:00
[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).
This commit is contained in:
parent
3cd6d18ef8
commit
4cfe1c9947
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue