X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fgrml%2Ffai%2Fconfig%2Ffiles%2Fusr%2Fshare%2Finitramfs-tools%2Fscripts%2Finit-top%2Fgrml%2FGRMLBASE;h=23ac19c3bb886ca8739fb27853c0486b55a1954e;hb=7f38fb8477ef09a99a5aa59f2c24f5a618406c7a;hp=62e549ec830bb54b9387c62754cea7eb3ef1f196;hpb=c58ac425b0e5e3f146c7cd65013c37561f922d32;p=grml-live.git diff --git a/etc/grml/fai/config/files/usr/share/initramfs-tools/scripts/init-top/grml/GRMLBASE b/etc/grml/fai/config/files/usr/share/initramfs-tools/scripts/init-top/grml/GRMLBASE index 62e549e..23ac19c 100755 --- a/etc/grml/fai/config/files/usr/share/initramfs-tools/scripts/init-top/grml/GRMLBASE +++ b/etc/grml/fai/config/files/usr/share/initramfs-tools/scripts/init-top/grml/GRMLBASE @@ -140,11 +140,11 @@ ${WHITE}based on grml.org. ${NORMAL}" else SPLASH=" -${RED} ____ ____ __ __ _ -${RED} / ___| _ \| \/ | | -${RED} | | _| |_) | |\/| | | -${RED} | |_| | _ <| | | | |___ -${RED} \____|_| \_\_| |_|_____| +${YELLOW} ____ _ +${YELLOW} / ___| _ __ _____ | | +${YELLOW} | | _ | / /| || | +${YELLOW} | |_| || / | | | || | +${YELLOW} \____||_| |_|_|_||_| ${WHITE}Grml Live Linux - http://grml.org/${NORMAL}" fi @@ -174,6 +174,11 @@ fi 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