mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-25 12:14:33 -04:00
[efi] enable the use of exFAT with UEFI:NTFS
* Only applies for blank UEFI:NTFS drives for now. UEFI:NTFS Windows drives are still set to use NTFS only (since Windows 7 doesn't support UEFI exFAT boot).
This commit is contained in:
parent
e522ef6c55
commit
d1d5c2a7b6
5 changed files with 19 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Rufus: The Reliable USB Formatting Utility
|
||||
* Copyright © 2011-2019 Pete Batard <pete@akeo.ie>
|
||||
* Copyright © 2011-2020 Pete Batard <pete@akeo.ie>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -183,6 +183,7 @@ static void SetAllowedFileSystems(void)
|
|||
break;
|
||||
case BT_UEFI_NTFS:
|
||||
allowed_filesystem[FS_NTFS] = TRUE;
|
||||
allowed_filesystem[FS_EXFAT] = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1508,7 +1509,7 @@ static DWORD WINAPI BootCheckThread(LPVOID param)
|
|||
uefi_target:
|
||||
if (boot_type == BT_UEFI_NTFS) {
|
||||
fs_type = (int)ComboBox_GetItemData(hFileSystem, ComboBox_GetCurSel(hFileSystem));
|
||||
if (fs_type != FS_NTFS) {
|
||||
if (fs_type != FS_NTFS && fs_type != FS_EXFAT) {
|
||||
MessageBoxExU(hMainDialog, lmprintf(MSG_097, "UEFI:NTFS"), lmprintf(MSG_092), MB_OK|MB_ICONERROR|MB_IS_RTL, selected_langid);
|
||||
goto out;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue