From: Michael Prokop Date: Thu, 13 Sep 2012 14:39:34 +0000 (+0200) Subject: If isolinux template directory is not present inform user about possible workarounds X-Git-Tag: v0.99.20~1 X-Git-Url: http://git.grml.org/?p=grml-terminalserver.git;a=commitdiff_plain;h=65cff8890bb1d209050addbecfdf64388b9604f9 If isolinux template directory is not present inform user about possible workarounds --- diff --git a/templates/grub-pxelinux_config b/templates/grub-pxelinux_config index 1be9b18..59bda58 100644 --- a/templates/grub-pxelinux_config +++ b/templates/grub-pxelinux_config @@ -112,7 +112,11 @@ if [ -d /live/image/boot ] ; then mv "$DEST_DIR"/boot/ "$TFTPD_DATA_DIR_" else # there is no kernel inside /live/image copy it from /boot if [ ! -d /usr/share/grml-live/templates/boot/isolinux ] ; then - echo "E: Could not find isolinux template directory" >&2 + echo "E: Could not find isolinux directory, can not operate without. + +Did you boot the system with the toram=... boot option? If so please +either do not use the toram boot option at all or use boot option toram +without any arguments (just \"toram\" instead of \"toram=...\")." >&2 exit 2 fi