mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Don't check for availability of 32KB of free space for bootloader in UEFI boot mode since in this case bootloader will be stored in EFI partition and not in the unallocated space at the beginning of the drive
This commit is contained in:
@@ -5187,7 +5187,7 @@ namespace VeraCrypt
|
|||||||
if (SystemDriveIsDynamic())
|
if (SystemDriveIsDynamic())
|
||||||
throw ErrorException ("SYSENC_UNSUPPORTED_FOR_DYNAMIC_DISK", SRC_POS);
|
throw ErrorException ("SYSENC_UNSUPPORTED_FOR_DYNAMIC_DISK", SRC_POS);
|
||||||
|
|
||||||
if (config.InitialUnallocatedSpace < TC_BOOT_LOADER_AREA_SIZE)
|
if (!config.SystemPartition.IsGPT && (config.InitialUnallocatedSpace < TC_BOOT_LOADER_AREA_SIZE))
|
||||||
throw ErrorException ("NO_SPACE_FOR_BOOT_LOADER", SRC_POS);
|
throw ErrorException ("NO_SPACE_FOR_BOOT_LOADER", SRC_POS);
|
||||||
|
|
||||||
DISK_GEOMETRY_EX geometry = GetDriveGeometry (config.DriveNumber);
|
DISK_GEOMETRY_EX geometry = GetDriveGeometry (config.DriveNumber);
|
||||||
|
|||||||
Reference in New Issue
Block a user