Don't fail hard if installing on partition number >4, instead warn user [Closes:...
authorMichael Prokop <mika@grml.org>
Fri, 19 May 2017 14:49:54 +0000 (16:49 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 19 May 2017 14:49:54 +0000 (16:49 +0200)
grml2usb

index 05067e4..f06ab9a 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1840,8 +1840,7 @@ def main():
         if not os.path.isdir(device):
             if device[-1:].isdigit():
                 if int(device[-1:]) > 4 or device[-2:].isdigit():
-                    logging.critical("Fatal: installation on partition number >4 not supported. (BIOS won't support it.)")
-                    sys.exit(1)
+                    logging.warn("Warning: installing on partition number >4, booting *might* fail depending on your system.")
 
         # provide upgrade path
         handle_compat_warning(device)