summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/boot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/boot.py b/src/utils/boot.py
index c9b12ee..528c052 100644
--- a/src/utils/boot.py
+++ b/src/utils/boot.py
@@ -52,7 +52,7 @@ def _boot_bios_windows(disk, part, mountpoint):
with open(f'{mountpoint}/ogboot.secondboot', 'w') as f:
f.write('\0' * (3072))
except OSError as e:
- raise RuntimeError(f'Could not create ogboot files in Windows partition: {e}')
+ raise OSError(f'Could not create ogboot files in Windows partition: {e}') from e
def _boot_uefi_windows(disk, part, mountpoint):
logging.info(f'Booting windows system')