X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=68565db77718e9162725c120100a68ff32db3907;hp=63c26b37598958f301eed341a6efe1412626b52c;hb=cf525c6031463d42ed8c7f9b84d83e3b2c36f600;hpb=5251ce1484272c48247551148a59dbd6bb13f6f1 diff --git a/grml2usb b/grml2usb index 63c26b3..68565db 100755 --- a/grml2usb +++ b/grml2usb @@ -1108,9 +1108,16 @@ def identify_grml_flavour(mountpath): version_files = search_file('grml-version', mountpath, lst_return=True) if not version_files: - logging.critical("Error: could not find grml-version file.") - cleanup() - sys.exit(1) + if mountpath.startswith("/live/image"): + logging.critical("Error: could not find grml-version file.") + logging.critical("Looks like your system is running from RAM but required files are not available.") + logging.critical("Please either boot without toram=... or use boot option toram instead of toram=...") + cleanup() + sys.exit(1) + else: + logging.critical("Error: could not find grml-version file.") + cleanup() + sys.exit(1) flavours = [] logging.debug("version_files = %s", version_files)