projects
/
grml-terminalserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8622b9d
)
If isolinux template directory is not present inform user about possible workarounds
author
Michael Prokop
<mika@grml.org>
Thu, 13 Sep 2012 14:39:34 +0000
(16:39 +0200)
committer
Michael Prokop
<mika@grml.org>
Thu, 13 Sep 2012 14:39:34 +0000
(16:39 +0200)
templates/grub-pxelinux_config
patch
|
blob
|
history
diff --git
a/templates/grub-pxelinux_config
b/templates/grub-pxelinux_config
index
1be9b18
..
59bda58
100644
(file)
--- 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
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
exit 2
fi