X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=70d514299e07b884044965ac83821135a3162778;hp=846c799b46164078dee6c53700a4d3f472dce44e;hb=8b59cb0b5c0cfa;hpb=705a96b84994905fbc63e3926a5af785ac0c03bc diff --git a/grml2usb b/grml2usb index 846c799..70d5142 100755 --- a/grml2usb +++ b/grml2usb @@ -518,7 +518,7 @@ def check_boot_flag(device): else: logging.debug("boot flag is NOT enabled on %s" % device) raise VerifyException( - "Device %s does not have the bootflag set. " + "Device %s does not have the boot flag set. " "Please enable it to be able to boot." % device ) except ImportError: @@ -1875,10 +1875,6 @@ def install_grml(mountpoint, device): register_tmpfile(device_mountpoint) remove_device_mountpoint = True try: - check_for_fat(device) - if not options.skipbootflag: - check_boot_flag(device) - set_rw(device) mount(device, device_mountpoint, ["-o", "utf8,iocharset=iso8859-1"]) except CriticalException: @@ -2163,6 +2159,9 @@ def main(): # provide upgrade path handle_compat_warning(device) + if not options.skipbootflag: + check_boot_flag(device) + # check for vfat partition handle_vfat(device)