diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/disk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/disk.py b/src/utils/disk.py index 99cf36f..323994c 100644 --- a/src/utils/disk.py +++ b/src/utils/disk.py @@ -61,7 +61,7 @@ def get_efi_partition(disknum, enforce_gpt): cxt = fdisk.Context(f'/dev/{disk}') if enforce_gpt and cxt.label == fdisk.FDISK_DISKLABEL_DOS: - raise RuntimeError(f'Disk has DOS partition scheme, cannot find ESP at /dev/{disk}') + raise RuntimeError(f'Windows EFI System requires GPT partition scheme, but /dev/{disk} has DOS partition scheme') for pa in cxt.partitions: logging.info(f'Checking partition "{pa.type.name}"...') |