print("Could not find %s, waiting 1s..."%partition_path)
os.system("sync")
time.sleep(1)
else:
fromfrontend.gtk_interfaceimportErrorDialog
dialog=ErrorDialog(_("Installer"),_("The partition %s could not be created. The installation will stop. Restart the computer and try again.")%partition_path)