summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/boot.py2
-rw-r--r--src/utils/uefi.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/boot.py b/src/utils/boot.py
index 1dcc655..9ce5238 100644
--- a/src/utils/boot.py
+++ b/src/utils/boot.py
@@ -109,7 +109,7 @@ def boot_os_at(disk, part):
device = get_partition_device(disk, part)
mountpoint = device.replace('dev', 'mnt')
if not mount_mkdir(device, mountpoint):
- raise RuntimeError(f'Cannot probe OS family. Unable to mount {device} at {esp_mountpoint}.')
+ raise RuntimeError(f'Cannot probe OS family. Unable to mount {device} into {mountpoint}')
is_uefi = is_uefi_supported()
if is_uefi:
diff --git a/src/utils/uefi.py b/src/utils/uefi.py
index 5561a6a..b51d765 100644
--- a/src/utils/uefi.py
+++ b/src/utils/uefi.py
@@ -106,7 +106,7 @@ def copy_windows_efi_bootloader(disk, partition):
device = get_partition_device(disk, partition)
mountpoint = device.replace('dev', 'mnt')
if not mount_mkdir(device, mountpoint):
- raise RuntimeError(f'Cannot probe OS family. Unable to mount {device} at {esp_mountpoint}')
+ raise RuntimeError(f'Cannot probe OS family. Unable to mount {device} into {mountpoint}')
os_family = get_os_family(mountpoint)
is_uefi = is_uefi_supported()