=== modified file 'util/grub.d/10_linux.in' --- util/grub.d/10_linux.in 2009-06-24 13:00:17 +0000 +++ util/grub.d/10_linux.in 2009-06-24 13:09:26 +0000 @@ -35,6 +35,11 @@ ;; esac +# add crashkernel option if we have the requierd tools +if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then + GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT crashkernel=384M-2G:64M,2G-:128M" +fi + if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \ || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" ; then LINUX_ROOT_DEVICE=${GRUB_DEVICE}