# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Mon Apr 16 19:33:47 CEST 2007 [mika]
+# Latest change: Son Jul 01 20:35:13 CEST 2007 [mika]
################################################################################
################################################################################
CONFIG_LD_MOD='yes' # run ldconfig and depmod on systems running from harddisk; remove /etc/grml.first.boot for forcing
CONFIG_LOCAL_NET='yes' # bring up loopback interface
CONFIG_LOG='yes' # DEBUG=/dev/null or logfile int /tmp/...
+CONFIG_LVM='yes' # logical volume setup
CONFIG_MIXER='yes' # set audio volumes [only in live-cd mode relevant, except for bootoption nosound]
CONFIG_MODEM='yes' # check for AC'97 Modem Controller modem
CONFIG_MODULES='yes' # load modules specified in /etc/grml/modules
# Authors: grml-team (grml.org), (c) Klaus Knopper <knopper@knopper.net>, (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Sam Mai 12 00:46:15 CEST 2007 [mika]
+# Latest change: Son Jul 01 20:34:14 CEST 2007 [mika]
################################################################################
# {{{ path, variables, signals, umask, zsh
}
# }}}
+# {{{ LVM (Logical Volumes)
+config_lvm(){
+ if [ -z "$INSTALLED" ] ; then
+ # notice: checkbootparam "forensic" is just for users who don't know how to really use the bootoption
+ if checkbootparam 'nolvm' ; then
+ ewarn "Skipping LVM code as requested on boot commandline." ; eend 0
+ else
+ if ! [ -x /sbin/lvm -a -x /etc/init.d/lvm2 -a -x /sbin/lvdisplay ] ; then
+ eerror "LVM not available, can not execute it." ; eend 1
+ else
+ if lvdisplay 1>/dev/null 2>&1 ; then
+ einfo "You seem to have logical volumes (LVM) on your system."
+ eindent
+ einfo "Just run 'Start lvm2' to activate them or boot using 'lvm' as bootoption for autostart."
+ eend 0
+ if checkbootparam 'lvm' ; then
+ einfo "Bootoption LVM found. Searching for logical volumes:"
+ /etc/init.d/lvm2 start ; eend $?
+ fi
+ eoutdent
+ fi
+ fi # check for lvm binary
+ fi # check for bootoption nolvm
+ fi # run only in live-cd mode
+}
+# }}}
+
# {{{ debnet: setup network based on an existing one found on a partition
config_debnet(){
if checkbootparam "debnet" ; then
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Mon Apr 16 19:33:45 CEST 2007 [mika]
+# Latest change: Son Jul 01 20:35:11 CEST 2007 [mika]
################################################################################
################################################################################
CONFIG_LD_MOD='yes' # run ldconfig and depmod on systems running from harddisk; remove /etc/grml.first.boot for forcing
CONFIG_LOCAL_NET='yes' # bring up loopback interface
CONFIG_LOG='yes' # DEBUG=/dev/null or logfile int /tmp/...
+CONFIG_LVM='yes' # logical volume setup
CONFIG_MIXER='no' # set audio volumes [only in live-cd mode relevant, except for bootoption nosound]
CONFIG_MODEM='yes' # check for AC'97 Modem Controller modem
CONFIG_MODULES='yes' # load modules specified in /etc/grml/modules
+grml-autoconfig (0.7.4) unstable; urgency=low
+
+ * support LVM (logical volumes):
+ - bootoption 'lvm' activates them
+ - no special bootoption just runs 'lvdisplay' and if something
+ can be found the user gets a hint to execute 'Start lvm2' to
+ set it up
+ - bootoption 'nolvm' completely disables the lvm code/checks
+
+ -- Michael Prokop <mika@grml.org> Sun, 01 Jul 2007 20:35:30 +0200
+
grml-autoconfig (0.7.3) unstable; urgency=low
* language-functions: support dvorak keyboard layout [Closes: issue227]
checkvalue $CONFIG_SWRAID && config_swraid
+checkvalue $CONFIG_LVM && config_lvm
+
# No kernel messages while probing modules
echo "0" > /proc/sys/kernel/printk