# prereq header {{{
# without this header booting will fail with:
-# "PANIC: Circular dependancy. Exiting."
+# "PANIC: Circular dependency. Exiting."
PREREQ=""
prereqs()
{
GREEN="\e[1;32m"
# YELLOW: Descriptions
YELLOW="\e[1;33m"
- # BLUE: System mesages
+ # BLUE: System messages
BLUE="\e[1;34m"
# MAGENTA: Found devices or drivers
MAGENTA="\e[1;35m"
if grep -q 'boot=live' /proc/cmdline 2>/dev/null ; then
log_grml_begin_msg "Finished early booting sequence." ; echo "$SUCCESS"
+ #(256-16)*1024=245760
+ if [ "$(awk '/MemTotal/{print $2}' /proc/meminfo)" -lt 245760 ] ; then
+ log_grml_failure_msg "Warning: less than 256MB RAM, boot may fail"
+ echo
+ fi
log_grml_begin_msg "Searching for GRML file, this might take a few seconds..."
echo
fi