From 65cff8890bb1d209050addbecfdf64388b9604f9 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 13 Sep 2012 16:39:34 +0200 Subject: [PATCH] If isolinux template directory is not present inform user about possible workarounds --- templates/grub-pxelinux_config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.1.4