From: grml User Date: Sat, 15 Sep 2007 22:39:18 +0000 (+0200) Subject: Remove deprecated / old files X-Git-Tag: 0.0.1~55 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=456fdaade7f2ce774ab1af2a3e2b16d5e4d7d49f Remove deprecated / old files --- diff --git a/old/TODO b/old/TODO deleted file mode 100644 index 98dcac2..0000000 --- a/old/TODO +++ /dev/null @@ -1,17 +0,0 @@ -Main TODOs -========== - -* install packages: - core / minimal - grml-small - full grml - own-selection - kernel + modules -* initrd creation -* squashfs generation -* iso generation - -Checkout -======== - -* initrd creation via genext2fs diff --git a/old/config/grml-live.conf b/old/config/grml-live.conf deleted file mode 100644 index 948e097..0000000 --- a/old/config/grml-live.conf +++ /dev/null @@ -1,34 +0,0 @@ -# Filename: /etc/grml-live/grml-live.conf -# Purpose: configuration file for creating grml live-cd -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2. -# Latest change: Mon Feb 12 22:56:59 CET 2007 -################################################################################ - -DEBUG=1 # be more verbose on stdout? -DEBUG_SYSLOG=1 # log actions to syslog? - -ARCH='i386' # see 'dpkg-architecture' and 'dpkg-architecture -L' -TARGET='/home/mika/chroot/grml-etch' # - -RELEASE='etch' - -DEBCONF_PRIORITY="critical" -DEBCONF_FRONTEND="noninteractive" -RECOMMENDS="no" - -# PACKAGE_LIST='' - -SOURCES_LIST=' - deb http://deb.grml.org/ grml-stable main - deb http://deb.grml.org/ grml-testing main - deb http://ftp.tu-graz.ac.at/mirror/debian etch main contrib non-free - -# deb http://ftp.tu-graz.ac.at/mirror/debian unstable main contrib non-free -# deb-src http://deb.grml.org/ grml-stable main -# deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free -' - -## END OF FILE ################################################################# -# vim: ai tw=80 ft=zsh expandtab diff --git a/old/debian/changelog b/old/debian/changelog deleted file mode 100644 index 51ae4c0..0000000 --- a/old/debian/changelog +++ /dev/null @@ -1,6 +0,0 @@ -grml-live (0.1.1) unstable; urgency=low - - * Initial release. - - -- Michael Prokop Thu, 8 Feb 2007 20:59:14 +0100 - diff --git a/old/debian/compat b/old/debian/compat deleted file mode 100644 index 7ed6ff8..0000000 --- a/old/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/old/debian/control b/old/debian/control deleted file mode 100644 index 86f4cb3..0000000 --- a/old/debian/control +++ /dev/null @@ -1,16 +0,0 @@ -Source: grml-live -Section: grml -Priority: optional -Maintainer: Michael Prokop -Build-Depends: debhelper (>= 5) -Standards-Version: 3.7.2 -S-X-Vcs-Hg: http://hg.grml.org/grml-live - -Package: grml-live -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, zsh -Description: build scripts for creating grml live cd - This package provides build scripts for creating - a grml live cd. - . - Homepage: http://grml.org/grml-live/ diff --git a/old/debian/copyright b/old/debian/copyright deleted file mode 100644 index d68ade8..0000000 --- a/old/debian/copyright +++ /dev/null @@ -1,30 +0,0 @@ -This package was debianized by Michael Prokop on -Thu, 8 Feb 2007 20:59:14 +0100. - -It was downloaded from http://grml.org/ - -Upstream Author: Michael Prokop - -Copyright: (c) 2007++ Michael Prokop - -License: - - This package is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. - -The Debian packaging is (C) 2007, Michael Prokop and -is licensed under the GPL, see above. diff --git a/old/debian/rules b/old/debian/rules deleted file mode 100755 index 9f05b02..0000000 --- a/old/debian/rules +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -build: build-stamp - -build-stamp: - dh_testdir - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs usr/sbin - - # Add here commands to install the package into debian/grml-live. - install ... debian/grml-live/usr/sbin/ - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install diff --git a/old/docs/Makefile b/old/docs/Makefile deleted file mode 100644 index 4fb6d5e..0000000 --- a/old/docs/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -all: doc - -# doc: doc_man doc_html -doc: doc_html - -doc_html: html-stamp - -html-stamp: grml-live.txt - asciidoc -b xhtml11 grml-live.txt - touch html-stamp - -doc_man: man-stamp - -man-stamp: grml-live.txt - asciidoc -d manpage -b docbook grml-live.txt - sed -i 's///' grml-live.xml - xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl grml-live.xml - # ugly hack to avoid duplicate empty lines in manpage - # notice: docbook-xsl 1.71.0.dfsg.1-1 is broken! make sure you use 1.68.1.dfsg.1-0.2! - cp grml-live.8 grml-live.8.tmp - uniq grml-live.8.tmp > grml-live.8 - rm grml-live.8.tmp - touch man-stamp - -clean: - rm -rf grml-live.html grml-live.xml grml-live.8 html-stamp man-stamp - -online: - scp grml-live.html grml:/var/www/grml/grml-live/index.html diff --git a/old/docs/building-process b/old/docs/building-process deleted file mode 100644 index 701c1db..0000000 --- a/old/docs/building-process +++ /dev/null @@ -1,738 +0,0 @@ -################################################################################ -Get an initial chroot ---------------------- - -Used initial version of ~/grml-live/scripts/grml-live for this. - -Install essential software --------------------------- - -# cat > /etc/apt/sources.list << EOF - - deb http://deb.grml.org/ grml-stable main - deb http://deb.grml.org/ grml-testing main - deb http://ftp.tu-graz.ac.at/mirror/debian etch main contrib non-free - -EOF - -# cat > /etc/apt/preferences << EOF -// main grml-repository: -Package: * -Pin: origin deb.grml.org -Pin-Priority: 996 - -// fallback grml-repository: -Package: * -Pin: origin grml.org -Pin-Priority: 995 - -// debian unstable pool (default): -Package: * -Pin: release a=unstable,o=Debian -Pin-Priority: 991 - -EOF - -# mount /proc -# apt-get update -# apt-get install grml-etc grml-etc-core grml-scripts -# rm /var/run/dbus/pid -# umount /proc - -# cd /etc -# mv inittab inittab.orig -# cp inittab.grml inittab - -# touch /etc/ld.so.nohwcap -# touch /etc/grml_cd -# echo "0.00a Release Codename grml-etch [$(date +%Y-%m-%d)]" > /etc/grml_version -# echo 'grml-etch' > /etc/hostname - -# cat > /etc/hosts << EOF -127.0.0.1 grml-etch localhost - -# The following lines are desirable for IPv6 capable hosts -# (added automatically by netbase upgrade) - -::1 ip6-localhost ip6-loopback grml-etch -fe00::0 ip6-localnet -ff00::0 ip6-mcastprefix -ff02::1 ip6-allnodes -ff02::2 ip6-allrouters -ff02::3 ip6-allhosts -EOF - -# echo 'Yes, do as I say!' | apt-get --force-yes -y install file-rc -# cp /etc/runlevel.conf /etc/runlevel.conf.orig -# cp /etc/runlevel.conf.livecd /etc/runlevel.conf - -# cat >> /etc/network/interfaces << EOF -# The loopback interface -# automatically added when upgrading -auto lo -iface lo inet loopback -EOF - -# addgroup --gid 1000 grml -# adduser --uid 1000 --gid 1000 --disabled-password grml -# sed -i 's/^root::/root:*:/' /etc/shadow - -# cat > /etc/sudoers << EOF -# sudoers file. -# This file MUST be edited with the "visudo" command as root. -# See the man page for details on how to write a sudoers file. - -# Host alias specification - -# User alias specification - -# Cmnd alias specification - -# User privilege specification -root ALL=(ALL) ALL - -# WARNING: This allows the unprivileged grml user to start commands as root -# WARNING: This is totally insecure and (almost) makes grml a second root account. -# WARNING: Never allow external access to the grml user!!! -grml ALL=NOPASSWD: ALL - -# allow editing of files with editor: -# grml ALL=NOPASSWD: sudoedit - -# usage examples: -# grml ALL=NOPASSWD: /sbin/hdparm -# grml ALL=NOPASSWD: /usr/sbin/hwinfo -# Cmnd_Alias DEBIAN = /usr/bin/apt-get, /usr/bin/dpkg, /usr/bin/auto-apt, /usr/bin/apt-file -# grml ALL=NOPASSWD: DEBIAN -# chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot -# chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot - -secvpn ALL=NOPASSWD: /usr/sbin/secvpn, /usr/sbin/pppd -EOF - - -# apt-get install linux-image-2.6.20-grml -# aptitude install powernowd aumix alsa-utils hwinfo mdadm locales -# cp /etc/locale.gen.minimal /etc/locale.gen && locale-gen -# mv /etc/motd.dpkg-new /var/run/motd - -# aptitude install dctrl-tools usbutils bzip2 pdmenu -# apt-get clean -# aptitude forget-new -# umount /proc /sys 2>/dev/null -# exit # finally leave chroot... - -Build ISO ---------- - -# mkdir /home/mika/grml/chroot/grml_cd.etch/ -# cd /home/mika/grml/chroot/grml_cd.etch/ -# cp -a /home/mika/grml/chroot/grml_cd.large/* . -# mksquashfs /home/mika/grml/chroot/grml_uncompressed.etch/* /home/mika/grml/chroot/grml_cd.etch/GRML/GRML -noappend - -# cd /home/mika/grml/chroot/grml_cd.etch -# mkisofs -V "grml-etch 0.00a" -publisher 'Michael Prokop ' -l \ - -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -c boot/isolinux/boot.cat -b \ - boot/isolinux/isolinux.bin -o /home/mika/grml/chroot/grml-etch_0.00a.iso . - - -Extend the software list ------------------------- - -# aptitude install grml-x xserver-xorg-input-vmmouse xterm xcursor-themes idesk -# mv /etc/X11/xorg.conf /etc/X11/xorg.conf.debian - -# update-alternatives --set x-terminal-emulator /usr/bin/xterm -# update-alternatives --set x-cursor-theme /etc/X11/cursors/whiteglass.theme -# update-alternatives --set editor /usr/bin/vim.basic -# chsh -s /bin/zsh root -# chsh -s /bin/zsh grml - -# aptitude install deborphan -# aptitude --purge remove $(deborphan) - -# aptitude install grml grml2usb grml2hd -# aptitude install openssh-server - -# aptitude install iceweasel sane sane-utils xsane cups -# aptitude install wireless-tools wpasupplicant -################################################################################ - -################################################################################ -grml-ppc -======== - -"Old" system (WD-harddisk): ---------------------------- - -# debootstrap etch /data/chroot http://ftp.tu-graz.ac.at/mirror/debian -# chroot /data/chroot - -# cat > /etc/apt/sources.list << EOF - - deb http://deb.grml.org/ grml-stable main - deb http://deb.grml.org/ grml-testing main - deb http://ftp.tu-graz.ac.at/mirror/debian etch main contrib non-free - -EOF - -# gpg --keyserver subkeys.pgp.net --recv-keys F61E2E7CECDEA787 -# gpg --export F61E2E7CECDEA787 > /etc/apt/grml.key -# apt-key add /etc/apt/grml.key - -# apt-get update -# apt-get install vim zsh -# apt-get install grml-etc grml-etc-core grml-scripts - -System died :-/ -http://michael-prokop.at/blog/2007/03/22/sterbende-festplatte/ - -Reinstalled it: -http://michael-prokop.at/blog/2007/03/23/murphy-2/ - -"New" system (Samsung-harddisk): --------------------------------- - -Installed new system via USB-stick, d-i from efika.de. Now booting the system via USB­stick: - - boot hd0:0 kernel_efika console=ttyPSC0 root=/dev/sda1 - -Setup on main system: - -# apt-get update ; apt-get install zsh mercurial debootstrap screen devscripts fakeroot gcc debhelper bzip2 libc6-dev ntpdate - -% cat >> /etc/apt/sources.list << EOF -deb http://deb.grml.org/ grml-stable main -deb http://deb.grml.org/ grml-testing main -EOF - -# apt-get install grml-etc grml-etc-core grml-scripts -# apt-get install vim zsh - -Install chroot: - -# mkdir /data -# mount /dev/sda4 /data -# mkdir /data/chroot - -# debootstrap etch /data/chroot http://ftp.tu-graz.ac.at/mirror/debian -# chroot /data/chroot /bin/sh - -# cat > /etc/apt/sources.list << EOF - - deb http://deb.grml.org/ grml-stable main - deb http://deb.grml.org/ grml-testing main - deb http://ftp.tu-graz.ac.at/mirror/debian etch main contrib non-free - -EOF - -# gpg --keyserver subkeys.pgp.net --recv-keys F61E2E7CECDEA787 -# gpg --export F61E2E7CECDEA787 > /etc/apt/grml.key -# apt-key add /etc/apt/grml.key - -# cat > /usr/bin/policy-rc.d << EOF -> #!/bin/sh -> exit 101 -> EOF -# chmod 755 /usr/bin/policy-rc.d -# mount -t proc none /proc -# apt-get update -# aptitude install vim zsh grml-etc grml-etc-core grml-scripts - -# cat > /etc/apt/preferences << EOF -// main grml-repository: -Package: * -Pin: origin deb.grml.org -Pin-Priority: 996 - -// fallback grml-repository: -Package: * -Pin: origin grml.org -Pin-Priority: 995 - -// debian unstable pool (default): -Package: * -Pin: release a=unstable,o=Debian -Pin-Priority: 991 - -EOF - -# cd /etc -# mv inittab inittab.orig -# cp inittab.grml inittab -# touch /etc/ld.so.nohwcap -# touch /etc/grml_cd -# echo "0.00a Release Codename grml-ppc [$(date +%Y-%m-%d)]" > /etc/grml_version -# echo "0.00a Release Codename grml-etch [$(date +%Y-%m-%d)]" > /etc/grml_version -# echo 'grml-ppc' > /etc/hostname - -# cat > /etc/hosts << EOF -127.0.0.1 grml-ppch localhost - -# The following lines are desirable for IPv6 capable hosts -# (added automatically by netbase upgrade) - -::1 ip6-localhost ip6-loopback grml-ppch -fe00::0 ip6-localnet -ff00::0 ip6-mcastprefix -ff02::1 ip6-allnodes -ff02::2 ip6-allrouters -ff02::3 ip6-allhosts -EOF - -# echo 'Yes, do as I say!' | apt-get --force-yes -y install file-rc -# cp /etc/runlevel.conf /etc/runlevel.conf.orig -# cp /etc/runlevel.conf.livecd /etc/runlevel.conf - -# cat >> /etc/network/interfaces << EOF -# The loopback interface -# automatically added when upgrading -auto lo -iface lo inet loopback -EOF - -# addgroup --gid 1000 grml -# adduser --uid 1000 --gid 1000 --disabled-password grml -# sed -i 's/^root::/root:*:/' /etc/shadow - -# cat > /etc/sudoers << EOF -# sudoers file. -# This file MUST be edited with the "visudo" command as root. -# See the man page for details on how to write a sudoers file. - -# Host alias specification - -# User alias specification - -# Cmnd alias specification - -# User privilege specification -root ALL=(ALL) ALL - -# WARNING: This allows the unprivileged grml user to start commands as root -# WARNING: This is totally insecure and (almost) makes grml a second root account. -# WARNING: Never allow external access to the grml user!!! -grml ALL=NOPASSWD: ALL - -# allow editing of files with editor: -# grml ALL=NOPASSWD: sudoedit - -# usage examples: -# grml ALL=NOPASSWD: /sbin/hdparm -# grml ALL=NOPASSWD: /usr/sbin/hwinfo -# Cmnd_Alias DEBIAN = /usr/bin/apt-get, /usr/bin/dpkg, /usr/bin/auto-apt, /usr/bin/apt-file -# grml ALL=NOPASSWD: DEBIAN -# chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot -# chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot - -secvpn ALL=NOPASSWD: /usr/sbin/secvpn, /usr/sbin/pppd -EOF - -# aptitude install powernowd aumix alsa-utils hwinfo mdadm locales dctrl-tools usbutils sudo bzip2 pdmenu -# cp /etc/locale.gen.minimal /etc/locale.gen && locale-gen -# mv /etc/motd.dpkg-new /var/run/motd - -mika@funkenzutzler ~/kernel % scp linux-image-2.6.19-grml_grml.02_powerpc.deb efika:/data/chroot/root/ - -% cd ~/kernel -% cvs -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs login -% cvs -z3 -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs co aufs -% cd aufs -% export ARCH=powerpc -% make GCC=powerpc-linux-gnu-gcc-4.1 KDIR=~/kernel/linux-2.6.19 -f local.mk - -# dpkg -i /root/linux-image-2.6.19-grml_grml.02_powerpc.deb - -# umount /proc -# apt-get clean -# aptitude forget-new -# umount /proc /sys 2>/dev/null -# exit # finally leave chroot... - -Build ISO ---------- - -# aptitude install squashfs-tools mkisofs -# cd /data && mkdir grml_cd.ppc && mkdir grml_cd.ppc/GRML -# mksquashfs /data/chroot/* /data/grml_cd.ppc/GRML/GRML -noappend - -# cd /data/grml_cd.ppc && mkdir -p boot/yaboot && cd boot/yaboot -# cp /data/chroot/boot/vmlinux-2.6.19-grml linux -# cat > yaboot.conf << EOF -device=cd: -default=grml - -message=/boot/yaboot/boot.msg - -image=/boot/yaboot/linux - label=grml - initrd=/boot/yaboot/minirt - append="quiet" - read-only - -image=/boot/yaboot/linux - label=debug - initrd=/boot/yaboot/minirt - append="debug" - read-only -EOF - -# cat > boot.msg << EOF - -Welcome to grml-ppc. - -EOF - -# cd /tmp -# dd if=/dev/zero of=minirt26 bs=6000k count=1 -# mke2fs -b 1024 -N 8192 -F -q -m 0 minirt26 -# mount -o loop /tmp/minirt26 /mnt/initrd -# cd /mnt/initrd && rm -rf lost+found - - -% mkdir busybox && cd busybox -% wget http://www.busybox.net/downloads/busybox-1.5.0.tar.gz -% tar zxf busybox-1.5.0.tar.gz -% cd busybox-1.5.0 -% wget grml.org/tmp/busybox -% cp busybox .config -% make - -# cd /mnt/minirtd/ -# mkdir afs cdrom dev etc GRML media mnt modules proc selinux static swap sys -# ln -s /GRML/bin bin -# ln -s /GRML/boot boot -# ln -s /GRML/lib lib -# ln -s /GRML/opt opt -# ln -s static sbin -# ln -s /var/tmp tmp -# ln -s /GRML/user usr - -# cd /mnt/initrd/dev && MAKEDEV generic - -# cd /mnt/initrd/GRML -# ln -s /cdrom/GRML/bin bin -# ln -s /cdrom/GRML/boot boot -# ln -s /cdrom/GRML/etc etc -# ln -s /cdrom/GRML/lib lib -# ln -s /cdrom/GRML/opt opt -# ln -s /cdrom/GRML/sbin sbin -# ln -s /cdrom/GRML/usr usr -# ln -s /cdrom/GRML/var var - -# cp /home/mika/busybox/busybox-1.5.0/busybox /mnt/initrd/static/ - -# cd /mnt/initrd/static/ -# for i in \ - \[ \[\[ addgroup adduser adjtimex ar arping ash awk basename bunzip2 bzcat cal cat chgrp chmod chown chroot chvt clear cmp \ - cp cpio crond crontab cut date dc dd deallocvt delgroup deluser df dirname dmesg dos2unix dpkg dpkg-deb du dumpkmap echo \ - egrep env expr false fbset fdflush fdisk fgrep find fold free freeramdisk fsck.minix ftpget ftpput getopt getty grep gunzip \ - gzip halt head hexdump hostid hostname httpd hwclock id ifconfig ifdown ifup init insmod ip ipcalc kill killall klogd \ - last length linuxrc ln loadfont loadkmap logger login logname logread losetup ls lsmod makedevs md5sum mesg mkdir mkfifo \ - mkfs.minix mknod mkswap mktemp modprobe more mount mt mv nameif nc netstat nslookup od openvt passwd patch pidof ping, \ - ping6 pivot_root poweroff printf ps pwd rdate readlink realpath reboot renice reset rm rmdir rmmod route rpm rpm2cpio run-parts \ - sed setkeycodes sh sha1sum sleep sort start-stop-daemon strings stty su sulogin swapoff swapon sync syslogd tail tar tee \ - telnet telnetd test tftp time top touch tr traceroute true tty udhcpc udhcpd umount uname uncompress uniq unix2dos unzip \ - uptime usleep uudecode uuencode vi vlock watch watchdog wc wget which who whoami xargs yes zcat ; \ - do ln -s ./busybox $i ; done - -# cd /mnt/initrd/ -# cat > etc/fstab << EOF -# /etc/fstab - static file system information -# -proc /proc proc rw,nosuid,nodev,noexec 0 0 -none /proc/bus/usb usbfs defaults,noauto 0 0 -sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 -devpts /dev/pts devpts mode=0622 0 0 -/dev/fd0 /mnt/floppy auto users,noauto,exec 0 0 -/dev/external /mnt/external auto users,noauto,exec,rw,uid=grml,gid=grml 0 0 -/dev/external1 /mnt/external1 auto users,noauto,exec,rw,uid=grml,gid=grml 0 0 -/dev/cdrom /mnt/cdrom auto users,noauto,exec,ro 0 0 -/dev/dvd /mnt/dvd auto users,noauto,exec,ro 0 0 -# some other examples: -# /dev/hda1 /Grml ext3 dev,suid,user,noauto 0 2 -# //1.2.3.4/pub /smb/pub smbfs defaults,user,noauto,uid=grml,gid=grml 0 0 -# linux:/pub /beer nfs defaults 0 0 -# tmpfs /tmp tmpfs size=300M 0 0 -# -# Warning! Please do *not* change any lines below because they are auto-generated by rebuildfstab! -# If you want to disable rebuildfstab set CONFIG_FSTAB='no' in /etc/grml/autoconfig! -# See 'man grml-rebuildfstab' for more details about the following entries. -EOF - -# cat > etc/group << EOF -root::0:root -grml::1000:grml -slocate::21:root -nobody::-1:nobody -EOF - -# cat > etc/mtab << EOF -/dev/root / ext2 rw 0 0 -EOF - -# cat > etc/passwd << EOF -root:*:0:0:grml Administrator:/root:/bin/zsh -grml:*:1000:1000:grml User:/home/grml:/bin/zsh -nobody:*:-1:-1:Nobody:/:/bin/true -EOF - -# cat > etc/resolv.conf << EOF -# Insert nameservers here -# nameserver 127.0.0.1 -EOF - -# cat > etc/shadow << EOF -root:*:11312:0:99999:7::: -grml:*:11312:0:99999:7::: -nobody:*:11312:0:99999:7::: -EOF - -# cat > etc/init << EOF -#!/static/ash -# This script is called in case of loading this initrd image as -# root-partition, so execute linuxrc first, then replace process -# with the real init. -# (C) Klaus Knopper May 2004, License: GPL - -# linuxrc will configure the ramdisk system, anc then copy a static -# init from CD to ramdisk, after finishing the autoconfiguration. -/linuxrc - -# Call the real init now -exec /etc/init "$@" /dev/console 2>&1 -EOF - -# cd /mnt/initrd/etc && ln -s /GRML/etc/ld.so.conf ld.so.conf - -# cd /mnt/initrd -# wget grml.org/files/devel/linuxrc -# chmod 755 linuxrc - -mika@funkenzutzler ~ % scp kernel/aufs/fs/aufs/aufs.ko root@efika:/mnt/initrd/modules/ - -# cd /mnt/initrd/modules -# mkdir div && cd div -# for mod in ehci-hcd.ko firmware_class.ko ieee1394.ko ntfs.ko ohci1394.ko ohci-hcd.ko \ -pcmcia_core.ko pcmcia.ko rsrc_nonstatic.ko sbp2.ko uhci-hcd.ko usbcore.ko usbhid.ko \ -usb-storage.ko yenta_socket.ko ; do find /data/chroot/lib/modules -name "$mod" -exec cp {} . \; ; done - -# cd /tmp -# umount /mnt/initrd -# gzip -9 minirt26 -# mv minirt26.gz /data/grml_cd.ppc/boot/yaboot/ - -# cp /usr/lib/yaboot/yaboot /data/grml_cd.ppc/boot/yaboot/ - -# cd /data/grml_cd.ppc -# mkisofs -V "grml-etch 0.00a" -publisher 'Michael Prokop ' -l \ - -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -c boot/yaboot/boot.cat \ - -b boot/yaboot/yaboot -o /data/grml-ppc_0.00a.iso . - -=> PROBLEMS :-/ - - -mkisofs -o /data/grml-ppc_0.00a.iso -part -hfs -r -l -J \ --A "grml-ppc" \ --P "Michael Prokop" \ --p "Michael Prokop" \ --abstract "grml-ppc" \ --sysid "grml-ppc" \ --V "grml-ppc 0.0" \ --volset "grml-ppc" \ --volset-size 2 \ --volset-seqno 1 \ --hfs-volid "grml-ppc" \ --map `pwd`/mapping \ --magic `pwd`/magic \ --m "*.orig" \ --hide '*.MacOS' -hide '*.DOS' \ --hide-joliet '*.Unix' -hide-joliet '*.MacOS' \ --hide-hfs '*.Unix' -hide-hfs '*.DOS' \ --graft-points \ -install/yaboot.conf=boot/yaboot/yaboot.conf ./ - -#Bless install folder so yaboot can boot -hmount $2 -hattrib -b install -#hattrib -t tbxi -c chrp :install:yaboot -humount - -################################################################################ - -grml64 -====== - -debootstrap sid /grml/grml_uncompressed.grml64 http://ftp.tu-graz.ac.at/mirror/debian -chroot /grml/grml_uncompressed.grml64 /bin/sh - -cat > /etc/apt/sources.list << EOF - - deb http://deb.grml.org/ grml-stable main - deb http://deb.grml.org/ grml-testing main - deb http://ftp.tu-graz.ac.at/mirror/debian unstable main contrib non-free - -EOF - -cat > /etc/apt/preferences << EOF -// main grml-repository: -Package: * -Pin: origin deb.grml.org -Pin-Priority: 996 - -// fallback grml-repository: -Package: * -Pin: origin grml.org -Pin-Priority: 995 - -// debian unstable pool (default): -Package: * -Pin: release a=unstable,o=Debian -Pin-Priority: 991 - -EOF - -gpg --keyserver subkeys.pgp.net --recv-keys F61E2E7CECDEA787 -gpg --export F61E2E7CECDEA787 > /etc/apt/grml.key -apt-key add /etc/apt/grml.key - -mount /proc -apt-get update -apt-get install grml-etc grml-etc-core grml-scripts -umount /proc - -cd /etc -mv inittab inittab.orig -cp inittab.grml inittab - -touch /etc/ld.so.nohwcap -touch /etc/grml_cd -echo "0.01 Release Codename grml64 [$(date +%Y-%m-%d)]" > /etc/grml_version -echo 'grml64' > /etc/hostname - -cat > /etc/hosts << EOF -127.0.0.1 grml64 localhost - -# The following lines are desirable for IPv6 capable hosts -# (added automatically by netbase upgrade) - -::1 ip6-localhost ip6-loopback grml64 -fe00::0 ip6-localnet -ff00::0 ip6-mcastprefix -ff02::1 ip6-allnodes -ff02::2 ip6-allrouters -ff02::3 ip6-allhosts -EOF - -echo 'Yes, do as I say!' | apt-get --force-yes -y install file-rc -cp /etc/runlevel.conf /etc/runlevel.conf.orig -cp /etc/runlevel.conf.livecd /etc/runlevel.conf - -cat >> /etc/network/interfaces << EOF -# The loopback interface -# automatically added when upgrading -auto lo -iface lo inet loopback -EOF - -addgroup --gid 1000 grml -adduser --uid 1000 --gid 1000 --disabled-password --shell /bin/zsh grml -sed -i 's/^root::/root:*:/' /etc/shadow -sed -i 's#SHELL=.*#SHELL=/bin/zsh#' /etc/default/useradd -sed -i 's#/bin/bash#/bin/zsh#' /etc/passwd - -cat > /etc/sudoers << EOF -# sudoers file. -# This file MUST be edited with the "visudo" command as root. -# See the man page for details on how to write a sudoers file. - -# Host alias specification - -# User alias specification - -# Cmnd alias specification - -# User privilege specification -root ALL=(ALL) ALL - -# WARNING: This allows the unprivileged grml user to start commands as root -# WARNING: This is totally insecure and (almost) makes grml a second root account. -# WARNING: Never allow external access to the grml user!!! -grml ALL=NOPASSWD: ALL - -# allow editing of files with editor: -# grml ALL=NOPASSWD: sudoedit - -# usage examples: -# grml ALL=NOPASSWD: /sbin/hdparm -# grml ALL=NOPASSWD: /usr/sbin/hwinfo -# Cmnd_Alias DEBIAN = /usr/bin/apt-get, /usr/bin/dpkg, /usr/bin/auto-apt, /usr/bin/apt-file -# grml ALL=NOPASSWD: DEBIAN -# chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot -# chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot - -secvpn ALL=NOPASSWD: /usr/sbin/secvpn, /usr/sbin/pppd -EOF - -aptitude install powernowd aumix alsa-utils hwinfo mdadm locales -cp /etc/locale.gen.grml /etc/locale.gen && locale-gen -mv /etc/motd.dpkg-new /var/run/motd -aptitude install grml grml-x - -wget http://dufo.tugraz.at/~prokop/grml-kernel/2.6.20-grml/linux-image-2.6.20-grml64_grml.01_amd64.deb -wget http://dufo.tugraz.at/~prokop/grml-kernel/2.6.20-grml/linux-headers-2.6.20-grml64_grml.01_amd64.deb - -aptitude install dctrl-tools usbutils bzip2 pdmenu - -aptitude install multitail htop iptstate idesk xserver-xorg-video-vmware - -wget http://grml.org/files/devel/create-scsi-mod-file.sh -chmod 755 ./create-scsi-mod-file.sh -./create-scsi-mod-file.sh > scsi-modules.txt - -apt-get clean -aptitude forget-new -umount /proc /sys 2>/dev/null -exit # finally leave chroot... - -Build ISO ---------- - -# cd /grml && mkdir grml_cd.grml64 -# scp -r mika@192.168.1.104:~/grml/chroot/grml_cd.large/boot grml_cd.grml64/ -# cd /grml/grml_cd.grml64/boot/isolinux -# cp /grml/grml_uncompressed.grml64/boot/vmlinuz-2.6.20-grml64 linux26 -# mkdir /grml/grml_cd.grml64/GRML/ -# mksquashfs /grml/grml_uncompressed.grml64/* /grml/grml_cd.grml64/GRML/GRML -noappend - -$UPDATE-INITRD... -for mod in *.ko ; do find /grml/grml_uncompressed.grml64/lib/modules/2.6.20-grml64 -name "$mod" -exec cp {} . \; ; done - -Important: - ln -s /GRML/emul/ia32-linux/lib emul - ln -s /GRML/lib64 lib64 - - -$BUILD_BUSYBOX - -scsi-modules not present in grml64: - - 53c700.ko advansys.ko aha152x_cs.ko aha152x.ko aha1542.ko aha1740.ko dpt_i2o.ko - dtc.ko fd_mcs.ko g_NCR5380.ko g_NCR5380_mmio.ko ibmmca.ko in2000.ko NCR53c406a.ko - NCR_D700.ko NCR_Q720_mod.ko nsp32.ko nsp_cs.ko pas16.ko psi240i.ko qlogicfas.ko - sim710.ko sym53c416.ko t128.ko u14-34f.ko ultrastor.ko wd7000.ko - -% cd ~/kernel -% cvs -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs login -% rehash -% cvs -z3 -d:pserver:anonymous@aufs.cvs.sourceforge.net:/cvsroot/aufs co aufs -% cd aufs -% make KDIR=~/kernel/linux-2.6.20 -f local.mk - -# cp ~mika/kernel/aufs/fs/aufs/aufs.ko /mnt/initrd/modules/ - -# cd /home/mika/grml/chroot/grml_cd.grml64 -# mkisofs -V "grml64 0.01" -publisher 'Michael Prokop ' -l \ - -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -c boot/isolinux/boot.cat -b \ - boot/isolinux/isolinux.bin -o /grml/grml64_0.01.iso . -################################################################################ diff --git a/old/docs/grml-live.txt b/old/docs/grml-live.txt deleted file mode 100644 index b13165f..0000000 --- a/old/docs/grml-live.txt +++ /dev/null @@ -1,36 +0,0 @@ -grml-live(8) -============ - -Name ----- -grml-live - create grml-live ISO - -Synopsis --------- -grml-live - -Design decisions + Plans ------------------------- - -* support at least i386, amd64 and ppc as architectures -* allow manual interaction within build-process (through hooks) -* support template(s/ files) for all the files outside the squashfs image -* support additional hooks -* support user specified scripts -* support creation of DVDs -* support update-alternatives configuration via a file - -Why not use make-live/live-package? ------------------------------------- - -At the time of writing this lines (8th february 2007) mainly because of the following limitations: - -* does not support powerpc -* does not support booting via usb/firewire (using initramfs => casper) -* manual configuration of packages not really supported -* overwrites several files in the chroot without checking for its existance before -* supports only one so called $LIVE_MIRROR - -Author ------- -Michael Prokop diff --git a/old/info/dpkg.get-selections.debootstrap b/old/info/dpkg.get-selections.debootstrap deleted file mode 100644 index 889af11..0000000 --- a/old/info/dpkg.get-selections.debootstrap +++ /dev/null @@ -1,128 +0,0 @@ -adduser install -apt install -apt-utils install -aptitude install -base-files install -base-passwd install -bash install -bsdmainutils install -bsdutils install -coreutils install -cpio install -cron install -cyrus-sasl2-doc install -debconf install -debconf-i18n install -debian-archive-keyring install -debianutils install -dhcp3-client install -dhcp3-common install -diff install -dmidecode install -dpkg install -dselect install -e2fslibs install -e2fsprogs install -ed install -findutils install -gcc-4.1-base install -gnupg install -gpgv install -grep install -groff-base install -gzip install -hostname install -ifupdown install -info install -initscripts install -iptables install -iputils-ping install -klogd install -laptop-detect install -libacl1 install -libattr1 install -libblkid1 install -libbz2-1.0 install -libc6 install -libcap1 install -libcomerr2 install -libconsole install -libdb4.2 install -libdb4.3 install -libdb4.4 install -libdevmapper1.02 install -libgcc1 install -libgcrypt11 install -libgdbm3 install -libgnutls13 install -libgpg-error0 install -libldap-2.3-0 install -libldap2 install -liblocale-gettext-perl install -liblzo1 install -liblzo2-2 install -libncurses5 install -libncursesw5 install -libnewt0.52 install -libopencdk8 install -libpam-modules install -libpam-runtime install -libpam0g install -libpopt0 install -libreadline5 install -libsasl2 install -libsasl2-2 install -libselinux1 install -libsepol1 install -libsigc++-1.2-5c2 install -libsigc++-2.0-0c2a install -libslang2 install -libss2 install -libssl0.9.8 install -libstdc++6 install -libtasn1-3 install -libtext-charwidth-perl install -libtext-iconv-perl install -libtext-wrapi18n-perl install -libusb-0.1-4 install -libuuid1 install -libwrap0 install -login install -logrotate install -lsb-base install -makedev install -man-db install -manpages install -mawk install -mktemp install -module-init-tools install -mount install -nano install -ncurses-base install -ncurses-bin install -net-tools install -netbase install -netcat install -openbsd-inetd install -passwd install -perl-base install -procps install -readline-common install -sed install -sysklogd install -sysv-rc install -sysvinit install -sysvinit-utils install -tar install -tasksel install -tasksel-data install -tcpd install -traceroute install -tzdata install -update-inetd install -util-linux install -vim-common install -vim-tiny install -wget install -whiptail install -zlib1g install diff --git a/old/packages/essential b/old/packages/essential deleted file mode 100644 index 21b6e8a..0000000 --- a/old/packages/essential +++ /dev/null @@ -1 +0,0 @@ -grml-etc-core diff --git a/old/packages/grml-all b/old/packages/grml-all deleted file mode 100644 index c078ce7..0000000 --- a/old/packages/grml-all +++ /dev/null @@ -1,35 +0,0 @@ -grml -grml-autoconfig -grml-btnet -grml-crypt -grml-ddcxinfo -grml-debootstrap -grml-debugtools -grml-docs -grml-etc -grml-etc-core -grml-files -grml-firefox -grml-hwinfo -grml-laptop -grml-mercurial-utils -grml-network -grml-policyrcd -grml-rebuildfstab -grml-reportbug -grml-saveconfig -grml-scanpartitions -grml-scripts -grml-sectools -grml-shlib -grml-sysvinit -grml-templates -grml-terminalserver -grml-terminalserver-data -grml-tips -grml-usleep -grml-vpn -grml-x -grml2hd -grml2hd-utils -grml2usb diff --git a/old/rewrite/clean_dpkg_status b/old/rewrite/clean_dpkg_status deleted file mode 100644 index 50a4ef8..0000000 --- a/old/rewrite/clean_dpkg_status +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/perl - -use warnings; -use strict; - -my $filename='/var/lib/dpkg/status'; - -open FILE, $filename or -die "Failed to open $filename\n"; - -while (my $line=) { - - chomp($line); - my @section=(); - - while ($line ne "") { - push(@section,$line); - $line=; - chomp($line); - } - - if ($section[1] ne 'Status: purge ok not-installed') { - - foreach (@section) { - $_ = $_ . "\n"; - print; - } - - print"\n"; - } -} diff --git a/old/rewrite/create-scsi-mod-file.sh b/old/rewrite/create-scsi-mod-file.sh deleted file mode 100644 index aba5bdf..0000000 --- a/old/rewrite/create-scsi-mod-file.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -[ -n "$KERNEL" ] || KERNEL='2.6.20-grml' -for s in $(find /lib/modules/$KERNEL/kernel/drivers/scsi -name *.ko); do - # DEP=$(modinfo $s|grep '^depends:'|echo $(cut -d' ' -f2-)) - DEP=$(modinfo $s|grep '^depends:'|cut -d' ' -f2-) - case $DEP in - *pcmcia*) - ;; - *) - modinfo $s|grep '^alias:'|grep pci|while read a; do - echo $a $DEP $(basename $s|sed 's/\.ko//')|cut -f3- -d: - done - ;; - esac -done|sort|uniq diff --git a/old/rewrite/grml.prepare b/old/rewrite/grml.prepare deleted file mode 100644 index 62e5be1..0000000 --- a/old/rewrite/grml.prepare +++ /dev/null @@ -1,483 +0,0 @@ -#!/bin/bash -# Filename: grml.clean -# Purpose: clean up grml chroot -# Authors: (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is copyright by Michael Prokop -# Latest change: Sun Apr 22 14:15:03 CEST 2007 [mika] -################################################################################ - -# misc stuff - umask 022 - . /etc/grml_colors || exit 5 - . /etc/grml/lsb-functions || exit 6 - -# variables - grep -q small /etc/grml_version && GRML_SMALL=yes || GRML_SMALL='' - if [ -n "$GRML_SMALL" ] ; then - echo -n 'Are you sure you want to run GRML_SMALL stuff? [y|N] ' - read a - if [ "$a" == 'y' ] ; then - echo 'Continuing as requested.' - else - echo 'Exiting as requested.' - unset GRML_SMALL - exit 1 - fi - fi - -# detect kernel version, assume newest kernel version - KERNEL=$(ls -1 /lib/modules/ | sort -r -u | head -1) - -if [ -f /usr/share/fonts/X11/misc/artwiz-cursor.pcf.gz ] ; then - if dpkg-divert --list artwiz-cursor | grep -q /usr/share/fonts/X11/misc/cursor.pcf.gz ; then - eerror "Broken diversion of artwiz-cursor, see #341397" - exit 1 - fi -fi - -#if [ -r /usr/share/fonts/X11/misc/cursor.pcf.gz ] ; then -# einfo "Fixing the broken artwiz-cursor" -# ( cd /usr/share/fonts/X11/misc/ && \ -# dpkg-divert --remove /usr/share/fonts/X11/misc/cursor.pcf.gz && mkfontdir ) -# eend $? -#fi - -# start of main cleanup process... -if ! [ -r /boot/config-"$KERNEL" ] ; then - eerror "/boot/config-$KERNEL not available. \$KERNEL not set to correct value?" - eend 1 - exit 9 -fi - -einfo "Preparing grml-system: `cat /etc/grml_version`." ; eend 0 - -einfo "Setting up /etc/motd.tail" -echo "" > /etc/motd.tail ; eend 0 - -einfo "Do not forget to run the final check:" - eindent - einfo 'adjust grml-version: vim -X /etc/grml_version' - einfo 'is runlevel.conf ok: vimdiff -X /etc/runlevel.conf /etc/runlevel.conf.livecd' - einfo 'find old files: find /etc -name \*dpkg\*' - einfo "delete conffiles: dpkg --purge \`dpkg --list | grep '^rc' | awk '{print \$2}'\`" - einfo 'dangling symlinks: ls **/*(-@)' - eoutdent - -einfo "Setting up /etc/modules: " -cat>/etc/modules<> /etc/modules -grep '^[a-z]' /etc/grml/modules >> /etc/modules -eend 0 - -if [ -z "$GRML_SMALL" ] ; then - if [ -L /usr/include/linux ] ; then - einfo "/usr/include/linux is ok" ; eend 0 - else - if [ -d /usr/src/linux-headers-"$KERNEL" ] ; then - eerror "/usr/include/linux is NOT a symlink to /usr/src/linux/include/linux/ - error" - eend 1 - exit 10 - else - ewarn "linux-headers-$KERNEL not installed." ; eend 0 - fi - fi -fi - -einfo "Creating ~/.zshrc" - touch ~/.zshrc -eend $? - -if [ -r /usr/share/lintian/overrides/ion3 ] ; then - einfo "Stripping ion3-stuff" - cat /usr/share/lintian/overrides/ion3 | sed 's#.*./usr#/usr#' | \ - sed 's/.comment//' | xargs strip --strip-unneeded ; eend $? -else - ewarn "ion3 not installed" ; eend 0 -fi - -if [ -d /usr/lib/valgrind/x86-linux/ ] ; then - einfo "Stripping /usr/lib/valgrind/x86-linux/" - strip --strip-unneeded /usr/lib/valgrind/x86-linux/* - eend $? -else - ewarn "valgrind not installed" ; eend 0 -fi - -if [ -x /usr/sbin/localepurge ] ; then - einfo "Running localepurge" - localepurge ; eend $? -else - ewarn "localepurg not available" ; eend 0 -fi - -if [ -d /var/lib/backuppc/pc/localhost/ ] ; then - einfo "Cleaning /var/lib/backuppc/pc/localhost/" - rm -rf /var/lib/backuppc/pc/localhost/* ; eend $? -else - ewarn "backuppc not installed" ; eend 0 -fi - -if [ -d /var/lib/clamav/ ] ; then - einfo "Cleaning /var/lib/clamav/" - rm -f /var/lib/clamav/clamav-* ; eend $? - if [ -f /var/lib/clamav/daily.cvd ] ; then - ( cd /usr/share/doc/clamav-freshclam/examples/ && \ - ln -sf /var/lib/clamav/daily.cvd . && \ - ln -sf /var/lib/clamav/main.cvd . ) - fi -else - ewarn "clamav[-freshclam] not installed" ; eend 0 -fi - -# find /var -name \*.pid -einfo "Removing pid-files" - find /var/run -name \*.pid -exec rm {} \; -eend $? - -einfo "Unmounting proc, /dev/pts, /dev/capi" - umount /proc 2>/dev/null - umount /dev/pts 2>/dev/null - umount /dev/capi 2>/dev/null - umount -a -eend $? - -einfo "Removing initrd-images" - rm -f /boot/initrd.img-* -eend $? - -einfo "Removing /var/lib/apt/lists/*-stuff, dpkg-status-old and pkgcache.bin" - # for i in $(find /var/lib/apt/lists -type f \( -name \*Packages -o -name \*Sources \) 2>/dev/null); do :>"$i"; done - # for i in /var/lib/apt/lists/*_{Release,Packages,Sources}; do :>$i; touch -t 198103190000.00 $i; done - # sync-available 2>/dev/null - # apt-get check - rm -f /var/lib/apt/lists/*Packages - rm -f /var/lib/apt/lists/*Release - rm -f /var/lib/apt/lists/*Sources - rm -f /var/lib/apt/lists/*.gpg - # :> /var/cache/apt/pkgcache.bin - # :> /var/cache/apt/srcpkgcache.bin - rm -f /var/cache/debconf/templates.dat-old - rm -f /var/cache/apt/*.bin - apt-get check 2>/dev/null - dpkg --clear-avail - apt-cache gencaches 2>/dev/null - rm -f /var/lib/dpkg/status-old - rm -f /var/lib/dpkg/available-old -eend $? - -if [ -x /usr/bin/grep-dctrl ] ; then - einfo "Cleaning up /var/lib/dpkg/status" - grep-dctrl -v -F Status "purge ok not-installed" /var/lib/dpkg/status > status.new && \ - cp status.new /var/lib/dpkg/status && chmod 644 /var/lib/dpkg/status && \ - chown root:root /var/lib/dpkg/status && rm status.new && eend 0 || eend 1 -else - ewarn "Warning: /usr/bin/grep-dctrl not available." -fi - -einfo "Copying original runlevel.conf to /etc/runlevel.conf" - if ! [ -z $GRML_SMALL ] ; then - cp /etc/runlevel.conf.livecd.small /etc/runlevel.conf - else - cp /etc/runlevel.conf.livecd /etc/runlevel.conf - fi -eend $? - -einfo "Removing x-server-conffiles" - rm -f /etc/X11/xorg.conf /etc/X11/XF86Config-4 \ - /etc/X11/XF86Config /etc/XF86Config /etc/XF86Config-4 -eend $? - -einfo "Removing ssh-keys" - rm -f /etc/ssh/*key* -eend $? - -# remove only "temporary" or saved files in the given directories -nuke(){ - for i in `find "$@" -name \*.gz -o -name \*.bz2 -o -name \*.0 2>/dev/null`; do - rm -f "$i" - done -} - -# set all files in the given directories to a length of zero -zero(){ - for i in `find "$@" -type f -size +0 -not -name \*.ini 2>/dev/null`; do - :> "$i" - done -} - -#rmdir /mnt/cdrom?* /mnt/hd?* 2>/dev/null - -#for i in `find /usr/*/man -name \*.\[0-9ln\]` ; do -# [ -f "$i".gz -o -f "$i".bz2 ] && rm -f "$i" -#done - -if [ -d /var/spool/squid/ ] ; then - einfo "Cleaning /var/spool/squid/0*" - rm -rf /var/spool/squid/0* - eend $? -else - ewarn "update-ca-certificates not installed" ; eend 0 -fi - -# delete old dowloaded packages -einfo "Running apt-get clean" - apt-get clean -eend $? - -# remove files from packages which have been removed -# COLUMNS=200 dpkg --purge `dpkg -l | grep '^rc' | awk '{ print $2 }'` - -if [ -x /usr/bin/nvi ] ; then - if ! [ -d /var/tmp/vi.recover ] ; then - einfo "Creating nvi /var/tmp directory" - mkdir -p /var/tmp/vi.recover - chown root:root /var/tmp/vi.recover - chmod 1777 /var/tmp/vi.recover - eend $? - fi -else - ewarn "nvi not installed" ; eend 0 -fi - -if [ -x /sbin/depmod ] ; then - if [ -r /lib/modules/$KERNEL ] ; then - einfo "Updating modules.dep for kernel $KERNEL" - depmod -a $KERNEL - eend $? - fi -else - ewarn "depmod not installed" ; eend 0 -fi - -if [ -n "$NOONLINE" ] ; then - einfo "\$NOONLINE is set, skipping online tasks" ; eend 0 -else - -if [ -x /usr/bin/freshclam ] ; then - einfo "Updating clamav database via running freshclam" - /usr/bin/freshclam ; eend $? -else - ewarn "freshclam not installed" ; eend 0 -fi - -if [ -x /usr/bin/update-pciids ] ; then - einfo "Updating PCI- and USB-ids" - update-pciids - update-usbids -# ls -la /usr/share/misc/*.ids* -# ls -la /var/lib/usbutils/usb* - eend $? -else - ewarn "update-pciids/update-usbids not installed" ; eend 0 -fi - -if [ -x /usr/sbin/nessus-update-plugins ] ; then - einfo "Updating nessus-plugins" - nessus-update-plugins - eend $? -else - ewarn "nessus-update-plugins not installed" ; eend 0 -fi - -fi # end of $NOONLINE-check - -einfo "Cleaning and removing some misc files and directories" - rm -f /etc/sysconfig/* /etc/motd.dpkg-new /etc/auto.master.distrib.dpkg-new \ - /etc/samba/*.SID /etc/samba/*.tdb /dev/mouse* /dev/cdrom* /dev/cdwriter* \ - /var/run/*/* /var/run/* /var/log/ksymoops/* /var/lock/*/* /var/lock/* \ - /var/state/*/* /var/state/* /var/log/nessus/* \ - /halt /reboot /ash.static /etc/dhcpc/*.info /etc/dhcpc/resolv* \ - /etc/resolv.conf /etc/*passwd- /etc/*shadow- /etc/*group- \ - /var/spool/postfix/maildrop/* \ - /etc/lvm/.cache 2>/dev/null - rm -rf /tmp/* /var/tmp/* /var/tmp/.* /var/backups/* /.ssh /root/.ssh /home/*/.ssh \ - /home/grml/* /home/grml/.??* /var/lib/texmf/ls-R /var/spool/texmf/ls-R \ - /var/lib/mysql 2>/dev/null - nuke /var/log /var/cache - zero /var/local /var/log /var/spool \ - /var/lib/games /var/cache/man \ - /var/lib/nfs /var/lib/xkb \ - /var/mail/grml /var/account/pacct - mkdir -p /etc/sysconfig/network-scripts /etc/sysconfig/provider - # Recreate empty utmp and wtmp - :>/var/run/utmp - :>/var/run/wtmp -eend $? - -einfo "Setting up /etc/resolv.conf" - if [ -d /etc/dhcpc ] ; then - cat >/etc/dhcpc/resolv.conf </etc/resolv.conf </dev/null - eend $? -else - ewarn "update-ca-certificates not installed" ; eend 0 -fi - -# some stuff does not have to run every single time... -if [ -n "$FAST" ] ; then - einfo "\$FAST is set, skipping some tasks" ; eend 0 -else - -# regenerate module dependencies and ls.so.cache -if [ -x /sbin/ldconfig ] ; then - einfo "Updating ld.so.cache" - ldconfig - eend $? -else - ewarn "ldconfig not installed" ; eend 0 -fi - -#if [ -r /lib/modules/$KERNEL/ ] ; then -# einfo "Searching for modules not compiled against $KERNEL" -# ( cd /lib/modules/$KERNEL/ && modinfo **/*.ko | grep vermagic | grep -v $KERNEL ) -# eend 0 -#else -# eerror "/lib/modules/$KERNEL/ not found" ; eend 1 -#fi - -if [ -x /usr/bin/update-menus ] ; then - einfo "Updating windowmanager menus" - update-menus -v - eend $? -else - ewarn "update-menus not installed" ; eend 0 -fi - -if [ -x /usr/bin/mktexlsr ] ; then - einfo "Updating texhash" - mktexlsr - eend $? -else - ewarn "mktexlsr not installed" ; eend 0 -fi - -if [ -x /usr/bin/mandb ] ; then - einfo "Updating mandb" - mandb -c - man doesnotexist >/dev/null 2>&1 - eend $? -else - ewarn "mandb not installed" ; eend 0 -fi - -if [ -n "$GRML_SMALL" ] ; then - einfo "Cleaning up /etc/skel..." - rm -rf /etc/skel/.fluxbox - rm -rf /etc/skel/.gkrellm2 - rm -rf /etc/skel/.idesktop - rm -rf /etc/skel/.pekwm - eend $? - - einfo "Cleaning documentation directories..." - mv /usr/share/doc/grml-docs /tmp/ - rm -rf /usr/share/doc - mkdir /usr/share/doc - mv /tmp/grml-docs /usr/share/doc/grml-docs - rm -rf /usr/share/gtk-doc/ - rm -rf /usr/share/man/ - rm -rf /usr/man - rm -rf /usr/share/info - eend $? - - einfo "Creating /usr/share/info/..." - mkdir -p /usr/share/info/ - eend $? -fi - -if ! [ -r /etc/ld.so.nohwcap ] ; then - einfo "Creating /etc/ld.so.nohwcap" - touch /etc/ld.so.nohwcap -fi - -if [ -x /usr/bin/updatedb ] ; then - einfo "Updating locate-database" - mount -t proc none /proc - updatedb --prunepaths='/tmp /usr/tmp /var/tmp /grml /root /proc /sys' - umount /proc - eend $? -else - ewarn "updatedb not installed" ; eend 0 -fi - -fi # end of $FAST-check - -einfo "Unmounting all filesystems" - umount -a -eend $? - -################################################################################ -# MISC STUFF -# ~~~~~~~~~~ -# -# Security-audit: -# find / \! -type l -perm -2000 -ls > audit/sgid-files -# find / \! -type l -perm -0002 -ls > audit/world-writeable-files -# find / \! -type l -perm -4000 -ls > audit/suid-files -# find / ( -perm 4000 -o -perm -2000 \) -exec ls -ld {} \; -# find / -perm -0777 -type d -ls > audit/writeable-dirs -# find / -size +3000k > audit/big_files.new -# find /all_filesystems -name ".. " -print -xdev | cat -vet -# find / -name ".*" -print -xdev | cat -v > audit/hidden-files -# find / -name ".. " -print -xdev | cat -vet > audit/unusal-file-names -# -# list non-stripped files: -# file /usr/sbin/* | grep -v ', stripped' | grep -v 'perl' | grep -v 'Bourne' | grep -v 'python' | grep -v 'symbolic link' -# -# einfo "Removing unused architecture Kernel sources: " -# for i in `ls -1 /usr/src/linux/arch/ | grep -v i386`; do -# echo -n "$i "; rm -rf /usr/src/linux/arch/"$i" /usr/src/linux/include/asm-"$i" -# done -# eend $? -# -# Is software by grml-repos up2date? -# grep-dctrl --field Maintainer 'Michael Prokop' /var/lib/apt/lists/grml.org_repos_._* | grep Package | awk '{print $2}' | xargs echo -# -# runlevel.conf: -# for file in /etc/init.d/* ; do grep $file -q /etc/runlevel.conf.hdinstall || echo $file not found ; done -################################################################################ -# ISO -# ~~~ -# /usr/bin/mksquashfs /home/mika/grml/chroot/grml_uncompressed.large/* \ -# /home/mika/grml/chroot/grml_cd.large/GRML/GRML -noappend -sort /home/mika/grml/svn/grml/remastering/sort -# -# mkisofs -V "grml 0.8" -publisher 'Michael Prokop ' -l -r \ -# -J -no-emul-boot -boot-load-size 4 -boot-info-table -c boot/isolinux/boot.cat \ -# -b boot/isolinux/isolinux.bin -o /home/mika/grml/chroot/grml_0.8.iso . -# -# vim grml_cd.large/GRML/grml-version -# -# find . -type f -not -name md5sums -not -name boot.cat -exec md5sum {} \; > GRML/md5sums -################################################################################ -# -## END OF FILE ################################################################# diff --git a/old/rewrite/linuxrc b/old/rewrite/linuxrc deleted file mode 100644 index ba11fe5..0000000 --- a/old/rewrite/linuxrc +++ /dev/null @@ -1,1078 +0,0 @@ -#!/static/sh -# Filename: /linuxrc -# Purpose: minirt for kernel 2.6 running on grml live-cd -# Authors: (c) Klaus Knopper , (c) Michael Prokop -# Latest change: Thu May 10 11:29:02 CEST 2007 [mika] -####################################################################################### - -# hardcoded configurable options -# Default maximum size of dynamic ramdisk in kilobytes -RAMSIZE=1000000 -# End of options - -# Don't allow interrupt signals -trap "" 1 2 3 15 - -# Misc functions -INSMOD="/static/insmod" -# [ -x /modules/insmod ] && INSMOD="/modules/insmod" - -RMMOD="/static/rmmod" -# [ -x /modules/rmmod ] && RMMOD="/modules/rmmod" - -# Builin filesystems -# BUILTIN_FS="iso9660 ext2 vfat" -BUILTIN_FS="iso9660 ext2 ext3 reiserfs vfat xfs jfs reiser4" - -mountit(){ -# Usage: mountit src dst "options" -for fs in $BUILTIN_FS; do - if test -b $1; then - options="$3" - case "$fs" in vfat) - # We REALLY need this for Knoppix on DOS-filesystems - shortname="shortname=winnt" - [ -n "$options" ] && options="$options,$shortname" || options="-o $shortname" - ;; - esac - mount -t $fs $options $1 $2 >/dev/null 2>&1 && return 0 - fi -done -return 1 -} - -FOUND_SCSI="" -FOUND_GRML="" -INTERACTIVE="" - -# Clean input/output -exec >/dev/console &1 - -# Mount /proc and /dev/pts -mount -t proc /proc /proc - -# Disable kernel messages while probing modules in autodetect mode -echo "0" > /proc/sys/kernel/printk - -mount -t devpts /dev/pts /dev/pts -# Kernel 2.6 -mount -t sysfs /sys /sys >/dev/null 2>&1 - -# Read boot command line with builtin cat command (shell read function fails in Kernel 2.4.19-rc1) -CMDLINE="$(cat /proc/cmdline)" - -# Simple shell grep -stringinfile(){ - case "$(cat $2)" in *$1*) return 0;; esac - return 1 -} - -# same for strings -stringinstring(){ - case "$2" in *$1*) return 0;; esac - return 1 -} - -# Reread boot command line; echo last parameter's argument or return false. -getbootparam(){ - stringinstring " $1=" "$CMDLINE" || return 1 - result="${CMDLINE##*$1=}" - result="${result%%[ ]*}" - echo "$result" - return 0 -} - -# Check boot commandline for specified option -checkbootparam(){ - stringinstring " $1" "$CMDLINE" - return "$?" -} - -if checkbootparam "nocolor" ; then - echo "Disabling colors in bootsequence as requested on commandline." - # Reset fb color mode - RESET="]R" - # ANSI COLORS - # Erase to end of line - CRE=" " - # Clear and reset Screen - CLEAR="c" -else - # Reset fb color mode - RESET="]R" - # ANSI COLORS - # Erase to end of line - CRE=" " - # Clear and reset Screen - CLEAR="c" - # Normal color - NORMAL="" - # RED: Failure or error message - RED="" - # GREEN: Success message - GREEN="" - # YELLOW: Descriptions - YELLOW="" - # BLUE: System mesages - BLUE="" - # MAGENTA: Found devices or drivers - MAGENTA="" - # CYAN: Questions - CYAN="" - # BOLD WHITE: Hint - WHITE="" -fi - -# don't output anything if running with bootsplash feature -if checkbootparam "splash" ; then - echo "" - echo "${WHITE}Welcome to" - echo "" - echo "${RED} ____ ____ __ __ _ " - echo "${RED} / ___| _ \| \/ | | " - echo "${RED} | | _| |_) | |\/| | | " - echo "${RED} | |_| | _ <| | | | |___ " - echo "${RED} \____|_| \_\_| |_|_____|" - echo "" - echo "${WHITE}grml.org - Linux for sysadmins and texttool users." - echo "${NORMAL}" - exec >/dev/null &1 -fi - -# helper functions {{{ -#log_success_msg () { -# echo " * $@" -#} - -log_failure_msg () { - echo -n " ${RED}*${NORMAL} $@" -} - -#log_warning_msg () { -# echo " ${BLUE}*${NORMAL} $@" -#} - -# int log_begin_message (char *message) -log_begin_msg () { - echo -n " ${GREEN}*${NORMAL} $@" -} - -log_warn_msg () { - echo -n " ${YELLOW}*${NORMAL} $@" -} - -# int log_end_message (int exitstatus) -SUCCESS=" ${BLUE}[ ${GREEN}ok ${BLUE}]${NORMAL}" -FAILED=" ${NORMAL}[${RED}fail${NORMAL}]" -# }}} - -# Clear screen with colormode reset -# echo "$CLEAR$RESET" -# echo "$CLEAR" -# Just go to the top of the screen -# echo -n "" -DISTRI="$(getbootparam 'distri' 2>/dev/null)" -if [ -n "$DISTRI" ] ; then -SPLASH=" -${RED} $DISTRI - -${WHITE}based on grml.org. - -${NORMAL}" -else -SPLASH=" -${RED} ____ ____ __ __ _ -${RED} / ___| _ \| \/ | | -${RED} | | _| |_) | |\/| | | -${RED} | |_| | _ <| | | | |___ -${RED} \____|_| \_\_| |_|_____| - -${WHITE}grml.org - Linux for sysadmins and texttool users. - -${NORMAL}" -fi - -echo "" -echo "${WHITE}Welcome to" -echo "$SPLASH" - -# We need the builtin commands and /static only starting at this point -PATH=/static -export PATH - -umask 022 - -case "$CMDLINE" in *debuglinuxrc*) set -x; echo "linuxrc debugging activated"; DEBUG="yes"; ;; esac -case "$CMDLINE" in *BOOT_IMAGE=expert\ *) INTERACTIVE="yes"; :>/interactive; ;; esac -case "$CMDLINE" in *BOOT_IMAGE=vmware\ *) VMWARE="yes"; ;; esac -case "$CMDLINE" in *modules-disk*) INTERACTIVE="yes"; ;; esac -case "$CMDLINE" in *BOOT_IMAGE=debug\ *|*\ debug\ *) DEBUG="yes"; ;; esac -case "$CMDLINE" in *secure*) SECURE=",nosuid"; ;; esac -# Does the user want to skip scsi detection? -NOSCSI="" -NOUSB="" -NOFIREWIRE="" -case "$CMDLINE" in *noscsi*|*nobootscsi*) NOSCSI="yes"; ;; esac -case "$CMDLINE" in *nousb\ *|*nobootusb*) NOUSB="yes"; ;; esac -case "$CMDLINE" in *nofirewire*|*nobootfirewire*) NOFIREWIRE="yes"; ;; esac -NOCD="" -case "$CMDLINE" in *fromhd*) NOCD="yes"; ;; esac -case "$CMDLINE" in *fromdvd*) FROMDVD="yes"; ;; esac -case "$CMDLINE" in *idecd*|*atapicd*) IDECD="yes"; ;; esac -case "$CMDLINE" in *noideraid*) NOIDERAID="yes"; ;; esac -USB2="ehci-hcd.ko" -case "$CMDLINE" in *nousb2*) USB2="" NOUSB2="yes"; ;; esac -case "$CMDLINE" in *\ usb*) USB="yes"; ;; esac - -GRML_DIR="GRML" -GRML_NAME="GRML" -case "$CMDLINE" in *grml_dir=*) GRML_DIR="$grml_dir"; ;; esac -case "$CMDLINE" in *grml_name=*) GRML_NAME="$grml_name"; ;; esac -case "$CMDLINE" in *small*) GRML_TYPE="small"; ;; esac - -# NFS -for i in $cmdline; do case "$i" in nfsdir=*|NFSDIR=*) eval $i;; esac; done -[ -n "$nfsdir" ] && NFS="$nfsdir" - -if [ -n "$DEBUG" ]; then - log_begin_msg "Bootoption debug detected. Printing kernel command line:" - echo "" - cat /proc/cmdline -fi - -# Run a shell if in debug mode -# echo "${BLUE}Dropping you to a busybox shell for debugging.${NORMAL}" -stage=1 -rundebugshell(){ - if [ -n "$DEBUG" ]; then - log_begin_msg "Starting intermediate shell stage $stage as requested by \"debug\" option." - echo "" - echo " ${GREEN}-${NORMAL} Just exit the shell to continue boot process...${NORMAL}" - if [ -x /static/sh ]; then - /static/sh - else - /bin/bash - fi - fi -} -rundebugshell - -# Mount module disk -mountmodules(){ -TYPE="$1"; shift -echo -n "${CRE}Please insert ${TYPE} modules disk and hit Return." -read a -echo -n "${CRE}Mounting ${TYPE} modules disk... " -# We always mount over /modules/scsi (because it's there ;-) -if mountit /dev/fd0 /modules/scsi "-o ro"; then -echo "${GREEN}OK.${NORMAL}" -return 0 -fi -echo "${RED}NOT FOUND.${NORMAL}" -return 1 -} - -# Unmount module disk -umountmodules(){ -TYPE="$1"; shift -echo -n "${CRE}Unmounting ${TYPE} modules disk... " -umount /modules/scsi 2>/dev/null -echo "${GREEN}DONE.${NORMAL}" -} - -# Ask user for modules -askmodules(){ - TYPE="$1"; shift - echo "${TYPE} modules available:${WHITE}" - c="" - for m in "$@"; do - if test -f "/modules/scsi/$m"; then - test -z "$c" && { echo -n " $m"; c="1"; } || { echo " $m"; c=""; } - fi - done - [ -n "$c" ] && echo "" - echo "Load ${TYPE} Modules?" - echo "[Enter full filename(s) (space-separated), Return for autoprobe, n for none] " - echo -n "insmod module(s)> " - read MODULES - case "$MODULES" in n|N) MODULES=""; ;; y|"") MODULES="$*"; ;; esac -} - -# Try to load the given modules (full path or current directory) -loadmodules(){ - TYPE="$1"; shift - test -n "$INTERACTIVE" && echo "6" > /proc/sys/kernel/printk - echo "" - for i in "$@"; do - echo -n " Probing ${TYPE}... ${WHITE}$i${NORMAL}: " - if test -f /modules/scsi/$i.ko && $INSMOD /modules/scsi/$i.ko >/dev/null 2>&1 && echo " $SUCCESS" || echo " failed " ; then - case "$TYPE" in scsi|SCSI) FOUND_SCSI="yes"; ;; esac - fi - done - test -n "$INTERACTIVE" && echo "0" > /proc/sys/kernel/printk - echo -n "${CRE}" -} - -# Check for SCSI, use modules on bootfloppy first -# Trying to do kind of /proc/pci hardware detection -if checkbootparam oldscsi ; then - PROCPCI="`cat /proc/pci 2>/dev/null`" - case "$PROCPCI" in *[Aa][Ii][Cc]-*|*[Aa][Hh][Aa]-*) SCSI_PROBE="$SCSI_PROBE aic7xxx" ;; esac - case "$PROCPCI" in *[Bb][Uu][Ss][Ll][Oo][Gg][Ii][Cc]*) SCSI_PROBE="$SCSI_PROBE BusLogic" ;; esac - case "$PROCPCI" in *[Tt][Rr][Mm]-[Ss]1040*|*[Dd][Cc]395*|*[Dd][Cc]315*) SCSI_PROBE="$SCSI_PROBE dc395x" ;; esac - case "$PROCPCI" in *53[Cc]8*) SCSI_PROBE="$SCSI_PROBE sym53c8xx" ;; esac - case "$PROCPCI" in *53[Cc]9*) SCSI_PROBE="$SCSI_PROBE NCR53C9x" ;; esac - case "$PROCPCI" in *53[Cc]406*) SCSI_PROBE="$SCSI_PROBE NCR53c406a" ;; esac - case "$PROCPCI" in *[Ii][Nn][Ii][Tt][Ii][Oo]\ *|*[Ii][Nn][Ii]-[Aa]100[Uu]2[Ww]*) SCSI_PROBE="$SCSI_PROBE initio" ;; esac - case "$PROCPCI" in *[Mm][Pp][Tt]*[Ss][Cc][Ss][Ii]*) SCSI_PROBE="$SCSI_PROBE mptbase mptscsih" ;; esac - case "$PROCPCI" in *[Aa][Dd][Vv][Aa][Nn][Cc][Ee][Dd]\ [Ss][Yy][Ss]*) SCSI_PROBE="$SCSI_PROBE advansys" ;; esac - case "$PROCPCI" in *[Aa][Tt][Pp]8*|*[Aa][Ee][Cc]6*) SCSI_PROBE="$SCSI_PROBE atp870u" ;; esac - case "$PROCPCI" in *[Dd][Tt][Cc]*) SCSI_PROBE="$SCSI_PROBE dtc" ;; esac - case "$PROCPCI" in *[Ee][Aa][Tt][Aa]*) SCSI_PROBE="$SCSI_PROBE eata" ;; esac - case "$PROCPCI" in *[Ff]*[Dd][Oo][Mm][Aa][Ii][Nn]*) SCSI_PROBE="$SCSI_PROBE fdomain" ;; esac - case "$PROCPCI" in *[Gg][Dd][Tt]\ *) SCSI_PROBE="$SCSI_PROBE gdth" ;; esac - case "$PROCPCI" in *[Mm][Ee][Gg][Aa][Rr][Aa][Ii][Dd]*) SCSI_PROBE="$SCSI_PROBE megaraid_mm megaraid_mbox" ;; esac - case "$PROCPCI" in *[Qq][Ll][Oo][Gg][Ii][Cc]*) SCSI_PROBE="$SCSI_PROBE qlogicfas408 qlogicfas qlogicfc" ;; esac - case "$PROCPCI" in *53[Cc]974*) SCSI_PROBE="$SCSI_PROBE tmscsim" ;; esac - case "$PROCPCI" in *[Uu][Ll][Tt][Rr][Aa][Ss][Tt][Oo][Rr]*) SCSI_PROBE="$SCSI_PROBE ultrastor" ;; esac - case "$PROCPCI" in *3[Ww][Aa][Rr][Ee]*) SCSI_PROBE="$SCSI_PROBE 3w-xxxx" ;; esac -fi - -# New sysfs based SCSI detection (thanks, Jörg Schirottke) -sysfsscsi(){ -SYS=$(for x in $(find /sys/devices/ -name modalias); do grep pci: $x 2>/dev/null; done|cut -f2 -d:) -while read id driver; do - for sysid in $SYS; do - case $sysid in $id) - if [ -z "$SCSI_PROBE" ]; then - SCSI_PROBE="$driver" - else - SCSI_PROBE="$SCSI_PROBE $driver" - fi - ;; - esac - done -done </dev/null - test -n "$MODULES" && loadmodules SCSI $MODULES && echo -n "" || echo " ${BLUE}[${NORMAL} none found ${BLUE}]${NORMAL} (try bootoption scsi=probe)" -else - log_warn_msg "Not scanning for SCSI devices as requested on commandline." && echo " $SUCCESS" -fi - -if checkbootparam scsi ; then - MODULE="$(getbootparam 'scsi' 2>/dev/null)" - if test "$MODULE" = "probe" ; then - log_begin_msg "Bootoption scsi=probe found. Trying to autoprobe SCSI modules:" - echo "" - echo -n " Trying to load scsi_debug: " ; $INSMOD /modules/scsi/scsi_debug.ko 1>/dev/null && echo " $SUCCESS" || echo " [ failed ]" - for module in /modules/scsi/*.ko ; do - echo -n " Probing ${WHITE}${module}${NORMAL}..." - $INSMOD ${module} >/dev/null 2>&1 && echo " $SUCCESS" || echo " [ failed ]" - done - elif test "$MODULE" = "ask" ; then - askmodules SCSI $(cd /modules/scsi; echo *.ko) - test -z "$NOSCSI" && test -n "$MODULES" && loadmodules SCSI $MODULES - else - [ -n "$MODULE" ] || echo " ${RED}Neither a specific module nor option probe nor option ask for SCSI module given. Skipping.${NORMAL}" - [ -n "$MODULE" ] && echo -n " Trying to load module ${WHITE}${MODULE}${NORMAL}:" ; \ - $INSMOD "/modules/scsi/${MODULE}.ko" 1>/dev/null && echo " $SUCCESS" || echo " [ failed ]" - fi -fi -# End of SCSI check - -if test -n "$VMWARE" ; then - log_begin_msg "Bootoption VMware detected. Trying to load SCSI modules:" - echo "" - for module in mptbase mptscsih mptspi BusLogic ; do - echo -n " Trying to load ${WHITE}${module}${NORMAL}: " - $INSMOD /modules/scsi/${module}.ko >/dev/null 2>&1 && echo " $SUCCESS" || echo " [ failed ]" - done -fi - -# Check for USB, use modules on bootfloppy first -if test -z "$NOUSB"; then - log_begin_msg "Checking for USB." - if test -f /modules/div/usbcore.ko; then - $INSMOD /modules/div/usbcore.ko >/dev/null 2>&1 - FOUNDUSB="" - for i in $USB2 uhci-hcd.ko ohci-hcd.ko usbhid.ko ; do - test -f /modules/div/$i && $INSMOD /modules/div/$i >/dev/null 2>&1 && FOUNDUSB="yes" - done - if test -n "$FOUNDUSB"; then - test -f /modules/div/usb-storage.ko && $INSMOD /modules/div/usb-storage.ko >/dev/null 2>&1 - echo " $SUCCESS" - else - echo " ${BLUE}[${NORMAL} not found ${BLUE}]${NORMAL}" - true - fi - if [ -n "$NOUSB2" ] ; then - echo " Not loading usb2 module ehci-hcd as requested on commandline." - echo " Notice: to skip loading of USB in initrd at all use bootoption nousb" - fi - fi -else - log_warn_msg "Not scanning for USB devices as requested on commandline." && echo " $SUCCESS" - echo " Notice that bootoption nousb affects initrd only, it does *not*" - echo " avoid loading of usb modules in userspace afterwards" - echo " Boot using something like 'nousb blacklist=uhci-hcd' to avoid loading of usb modules at all" -fi -# End of USB check - -# Check for Firewire, use modules on bootfloppy first -if test -z "$NOFIREWIRE" ; then - log_begin_msg "Checking for Firewire." - if test -f /modules/div/ieee1394.ko ; then - $INSMOD /modules/div/ieee1394.ko > /dev/null 2>&1 - FOUNDFIREWIRE="" - test -f /modules/div/ohci1394.ko && $INSMOD /modules/div/ohci1394.ko > /dev/null 2>&1 && FOUNDFIREWIRE="yes" - if test -n "$FOUNDFIREWIRE" ; then - test -f /modules/div/sbp2.ko && $INSMOD /modules/div/sbp2.ko > /dev/null 2>&1 - echo " $SUCCESS" - else - echo " ${BLUE}[${NORMAL} not found ${BLUE}]${NORMAL}" - true - fi - fi -else - log_warn_msg "Not scanning for firewire devices as requested on commandline." && echo " $SUCCESS" - echo " Notice that bootoption nofirewire affects initrd only, it does *not*" - echo " avoid loading of firewire modules in userspace afterwards" - echo " Boot with something like 'nofirewire blacklist=ohci1394' to avoid loading of firewire modules at all" -fi -# End of FIREWIRE check - -# Unfortunately, hotpluggable devices tend to need some time in order to register -if test -n "$FOUNDUSB" -o -n "$FOUNDFIREWIRE"; then - log_begin_msg "Scanning for USB/Firewire devices." - sleep 6 - if test -n "$USB"; then - sleep 10 - fi - echo " $SUCCESS" -fi - -if checkbootparam scandelay ; then - DELAY="$(getbootparam 'scandelay' 2>/dev/null)" - [ -z $DELAY ] && DELAY='10' - log_begin_msg "Delaying bootsequence as requested for ${WHITE}${DELAY}${NORMAL} seconds." - sleep $DELAY && echo " $SUCCESS" -fi - -# boot via pcmcia - not yet supported! -if checkbootparam bootpcmcia ; then - log_begin_msg "Bootoption bootpcmcia found. Trying to load ${WHITE}PCMCIA${NORMAL} modules..." - if $INSMOD /modules/div/pcmcia_core.ko 1>/dev/null ; then - $INSMOD /modules/div/firmware_class.ko 1>/dev/null && \ - $INSMOD /modules/div/pcmcia.ko 1>/dev/null && \ - $INSMOD /modules/div/rsrc_nonstatic.ko 1>/dev/null && \ - $INSMOD /modules/div/yenta_socket.ko 1>/dev/null && echo " $SUCCESS" - else - echo " [ failed ]" - fi -fi - -# Check for misc modules in expert mode -if test -n "$INTERACTIVE" ; then - another="" - answer="" - while test "$answer" != "n" -a "$answer" != "N" ; do - echo -n "${CYAN}Do you want to load additional modules from$another floppy disk? [${WHITE}Y${CYAN}/n] ${NORMAL}" - another=" another" - read answer - case "$answer" in n*|N*) break; ;; esac - if mountmodules new ; then - askmodules new $(cd /modules/scsi; echo *.ko) - test -n "$MODULES" && loadmodules new $MODULES - umountmodules current - fi - done -fi -# All interactively requested modules should be loaded now. - -# Check for ide-scsi supported CD-Roms et al. -test -f /proc/scsi/scsi && FOUND_SCSI="yes" - -# Disable kernel messages again -echo "0" > /proc/sys/kernel/printk - -# We now enable DMA right here, for faster reading/writing from/to IDE devices -# in FROMHD or TORAM mode -case "$CMDLINE" in *\ nodma*) ;; *) - for d in $(cd /proc/ide 2>/dev/null && echo hd[a-z]); do - if test -d /proc/ide/$d; then - MODEL="$(cat /proc/ide/$d/model 2>/dev/null)" - test -z "$MODEL" && MODEL="[GENERIC IDE DEVICE]" - log_begin_msg "Enabling DMA acceleration for: ${MAGENTA}$d ${YELLOW}[${MODEL}]${NORMAL}" - echo "using_dma:1" >/proc/ide/$d/settings && echo "" - fi - done - ;; -esac - -stage=2 -rundebugshell -if [ -n "$NFS" ]; then - tmp_="$(getbootparam nfsdir)" - log_begin_msg "Bootoption NFS found." ; echo "$SUCCESS" - - /static/cdir - - log_begin_msg "Trying to load network driver(s)." ; echo - modLoad() - { - for mod in $@ ; do - if [ -n "$DEBUG" ] ; then - echo "Debug: trying to load $mod:" - modprobe -v $mod - else - modprobe $mod 2>/dev/null - fi - done - } - # modules.alias and modules.dep are in place so USE IT :)! - find /sys/devices/ -name modalias |/static/xargs -r /static/grep -h pci: |while read i; do - modLoad "$i" - done - # loading additional modules - modLoad sunrpc lockd af_packet nfs - - dhcp_iface_=$(getbootparam dhcp_iface) - if [ -z "$dhcp_iface_" ]; then - dhcp_iface_=`ifconfig -a | grep '^eth' | sed 's/ .*//'` - fi - - # make sure we have a udhcpc executable, if it's not present - # assume that busybox provides one - if ! [ -x /static/udhcpc ] ; then - ln -s /static/busybox /static/udhcpc - fi - - for INTERFACE in $dhcp_iface_ ; do - log_begin_msg "Requesting network configuration using udhcp for ${INTERFACE}:" ; echo - /static/timeout 10 /static/udhcpc --interface="${INTERFACE}" --foreground --quit --script=/static/udhcp-config.sh - # echo "press to start a system shell and configure your system" - # sh - done - - # recreate dir layout + remove extra modules - /static/rdir - - log_begin_msg "Looking for GRML in: ${MAGENTA}$NFS${NORMAL}" ; echo "$SUCCESS" - if mount -t nfs "$NFS" -o "async,ro,nolock" /cdrom #>/dev/null 2>&1 - then - if test -f /cdrom/$GRML_DIR/$GRML_NAME - then - log_begin_msg "Accessing grml CDROM at ${MAGENTA}$NFS${NORMAL}" ; echo "$SUCCESS" - FOUND_GRML="$NFS" - break - fi - fi -fi - -# Now that the right SCSI driver is (hopefully) loaded, try to find CD-ROM -grmlmount() -{ - if test -z $NFS ; then - DEVICES="/dev/hd?" - test -n "$FOUND_SCSI" -a -z "$NOCD" && DEVICES="/dev/scd? /dev/scd?? $DEVICES" - # New: Also try parallel port CD-ROMs - DEVICES="$DEVICES /dev/pcd?" - # New: also check HD partitions for a GRML/GRML image - # notice: use /dev/sd? for usb-sticks without partition(s) - test -n "$FOUND_SCSI" -a -z "$NOSCSI" && DEVICES="$DEVICES /dev/sd?[1-9] /dev/sd?[1-9][0-9] /dev/sd?" - DEVICES="$DEVICES /dev/hd?[1-9] /dev/hd?[1-9][0-9]" - case "$CMDLINE" in *fromhd=/dev/*) DEVICES="$fromhd"; ;; esac - # make sure we dont' search for the booting device if cdrom=... is present - case "$CMDLINE" in *cdrom=/dev/*) - CDROMDEV="$(echo $CMDLINE | tr ' ' '\n' | sed -n '/cdrom=/s/.*=//p' | tail -1)" - DEVICES="$(echo $CDROMDEV | awk -F/ '{ print $1 "/" $2 "/" $3 }')" - ;; - esac - for i in $DEVICES ; do - log_begin_msg "${CRE} ${GREEN}*${NORMAL} Looking for CD-ROM in: ${MAGENTA}$i${NORMAL}" - if mountit $i /cdrom "-o ro" >/dev/null 2>&1 ; then - echo " $SUCCESS" - if test -f /cdrom/$GRML_DIR/$GRML_NAME ; then - log_begin_msg "Accessing grml CD-ROM at: ${MAGENTA}$i${NORMAL}" ; echo " $SUCCESS" - FOUND_GRML="$i" - break - fi - umount /cdrom - fi - done - fi -} - -# Rerun the grml-CDROM part 3 times at total -grmlmount -if [ -z "$FOUND_GRML" ] ; then - echo - log_warn_msg "grml CD-ROM not yet found, sleeping for 5 seconds and trying again then." - sleep 5 && echo " $SUCCESS" - grmlmount - if [ -z "$FOUND_GRML" ] ; then - echo - log_warn_msg "grml CD-ROM still not yet found, sleeping for 5 more seconds and trying once more again." - sleep 5 && echo " $SUCCESS" - fi -fi - -# Harddisk-installed script part version has been removed -# (GRML can be booted directly from HD now). -mount_grml() -{ - if test -n "$FOUND_GRML" -a -f $1/$GRML_DIR/$GRML_NAME ; then - # echo "6" > /proc/sys/kernel/printk - mount -t squashfs $1/$GRML_DIR/$GRML_NAME /GRML -o loop,ro$SECURE || FOUND_GRML="" - fi -} - -remount_grml() -{ - if test -f $TARGET/$GRML_DIR/$GRML_NAME; then - umount /GRML # unmount it - umount $SOURCE # unmount CD - [ -n "$SOURCE2" ] && umount $SOURCE2 # umount possible loop-device - mount_grml $TARGET - else - log_failure_msg "Warning: Changing to $TARGET failed." ; echo "$FAILED" - return 1 - fi - - return 0 -} - -boot_from() -{ - # preparations - /bin/mkdir $TARGET - - SOURCE_DEV=$(echo $CMDLINE | /usr/bin/tr ' ' '\n' | /bin/sed -n '/bootfrom=/s/.*=//p' | /usr/bin/tail -1) - - LOOP_DEV=$(echo $SOURCE_DEV | /usr/bin/gawk -F/ '{ print $1 "/" $2 "/" $3 }') - ISO_PATH=$(echo $SOURCE_DEV | /bin/sed "s|$LOOP_DEV||g" ) - case "$ISO_PATH" in /*.[iI][sS][oO]) ;; *) ISO_PATH="" ;; esac - LOOP_SOURCE="" - - # load filesystems - /GRML/sbin/modprobe fuse - /GRML/sbin/modprobe ntfs - if [ -r /modules/div/ntfs.ko ] ; then - grep -q ntfs /proc/modules || $INSMOD /modules/div/ntfs.ko 1>/dev/null - else - log_failure_msg "No NTFS kernel module found." ; echo "$FAILED" - fi - - if [ -n "$ISO_PATH" ]; then - LOOP_SOURCE="$TARGET.loop" - LOOP_SOURCE2="$LOOP_SOURCE" - TARGET_DEV="$LOOP_SOURCE$ISO_PATH" - /bin/mkdir $LOOP_SOURCE - /bin/mount -o ro $LOOP_DEV $LOOP_SOURCE || LOOP_SOURCE="" - /bin/mount -n -o loop $LOOP_SOURCE2$ISO_PATH $TARGET - else - TARGET_DEV="$SOURCE_DEV" - /bin/mount -n -o ro $SOURCE_DEV $TARGET - fi - if [ $? -ne 0 ]; then - [ -n "$LOOP_SOURCE" ] && /bin/umount $LOOP_SOURCE - log_failure_msg "Accessing grml CD-ROM failed. ${MAGENTA}$TARGET_DEV${NORMAL} is not mountable." ; echo "$FAILED" - sleep 2 - return 1 - fi - - if [ -f "$TARGET/$GRML_DIR/$GRML_NAME" ]; then - log_begin_msg "Accessing grml CD-ROM at ${MAGENTA}$TARGET_DEV${NORMAL}." ; echo " $SUCCESS" - else - log_failure_msg "Accessing grml CD-ROM failed. Could not find $GRML_DIR/$GRML_NAME on ${MAGENTA}$TARGET_DEV${RED}.${NORMAL}" ; echo "$FAILED" - [ -n "$LOOP_SOURCE" ] && /bin/umount $LOOP_SOURCE - umount $TARGET - sleep 2 - return 1 - fi - # remount the CD - remount_grml -} - -copy_to() -{ - # preparations - /bin/mkdir $TARGET - COPY="$SOURCE/$GRML_DIR" - - # look if we copy to hd or to ram - SIZE="$(/usr/bin/du -s $COPY | /usr/bin/gawk '{print int($1*1.1)}')" - test -n "$SIZE" || SIZE="800000" - - case "$1" in - ram) - TARGET_DEV="/dev/shm" - TARGET_DEV_DESC="ramdisk" - FOUNDSPACE="$(/usr/bin/gawk '/MemTotal/{print $2}' /proc/meminfo)" - /bin/mount -n -t tmpfs -o size=${SIZE}k $TARGET_DEV $TARGET - ;; - hd) - TARGET_DEV=$(echo $CMDLINE | /usr/bin/tr ' ' '\n' | /bin/sed -n '/tohd=/s/.*=//p' | /usr/bin/tail -1) - TARGET_DEV_DESC="$TARGET_DEV" - # load filesystems - /GRML/sbin/modprobe fuse - /GRML/sbin/modprobe ntfs - FS="ext3 ext2 reiserfs reiser4 vfat ntfs" - - MOUNTED="" - for i in $FS; do - if /GRML/bin/mount -o rw -t "$i" "$TARGET_DEV" "$TARGET"; then - MOUNTED="true" - break - fi - done - if test -z "$MOUNTED"; then - log_failure_msg "Copying grml CD-ROM failed. ${MAGENTA}$TARGET_DEV_DESC${NORMAL} is not mountable." ; echo "$FAILED" - sleep 2 - return 1 - fi - # check for enough free space - USED_SPACE=0 - [ -f $TARGET/$GRML_DIR/$GRML_NAME ] && USED_SPACE=$(/usr/bin/du -s $TARGET/$GRML_DIR/$GRML_NAME | /usr/bin/gawk '{ print $1 }') - FOUNDSPACE="$(/bin/df -k $TARGET | /usr/bin/tail -1 | /usr/bin/gawk '{ print $4+int('$USED_SPACE') }')" - ;; - *) - return 1 - ;; - esac - - # sanity check - if [ $FOUNDSPACE -lt $SIZE ] ; then - log_failure_msg "Copying grml CD-ROM failed. Not enough free space on ${MAGENTA}${TARGET_DEV_DESC}${NORMAL}:" ; echo "$FAILED" - log_failure_msg "Found: ${MAGENTA}${FOUNDSPACE}k${NORMAL} Need: ${MAGENTA}${SIZE}k${NORMAL}" ; echo "$FAILED" - sleep 2 - umount $TARGET - return 1 - fi - - # do the real copy - log_begin_msg "Copying grml CD-ROM to ${TARGET_DEV_DESC}... Please be patient." - echo - if [ -z "$use_cp" -a -x /usr/bin/rsync ] ; then - # first cp the small files - /usr/bin/rsync -a --exclude="$GRML_DIR/$GRML_NAME" $COPY $TARGET # Copy grml to $TARGET - # then the big file with nice progress meter - [ -f $TARGET/$GRML_DIR/$GRML_NAME ] && /bin/rm -f $TARGET/$GRML_DIR/$GRML_NAME - /usr/bin/rsync -a --progress --include="$GRML_DIR/$GRML_NAME" --include="$GRML_DIR/" --exclude="*" $COPY $TARGET # Copy grml to $TARGET - #/usr/bin/rsync -avP $COPY $TARGET # Copy grml to $TARGET - # make sure to support directories from http://grml.org/config/ - for dir in scripts bootparams config debs ; do - if [ -d "/cdrom/$dir" ] ; then - log_begin_msg "Customization directory $dir found, copying to $TARGET" - cp -a /cdrom/$dir $TARGET/ && echo "$SUCCESS" || echo "$FAILED" - fi - done - else - /bin/cp -a -f $COPY $TARGET # Copy grml to $TARGET - fi - if [ $? -ne 0 ] ; then - log_failure_msg "Copying grml CD-ROM failed. ${MAGENTA}$TARGET_DEV_DESC${NORMAL} possibly has not enough space left." ; echo "$FAILED" - sleep 2 - return 1 - fi - # remount r/o - /bin/mount -n -o remount,ro $TARGET 1>/dev/null 2>&1 - remount_grml -} - -mount_grml /cdrom - -COPYTO="" -BOOTFROM="" -DO_REMOUNT="" -REAL_TARGET="" -UNIONFS="" - -case "$CMDLINE" in *toram*) DO_REMOUNT="yes"; COPYTO="ram"; ;; esac -case "$CMDLINE" in *tohd=*) DO_REMOUNT="yes"; COPYTO="hd"; ;; esac -case "$CMDLINE" in *bootfrom=*) DO_REMOUNT="yes"; BOOTFROM="yes" ;; esac - -# Remount later after copying/isoloading/driverloading? -# pre-test if everything succeeded -if test -n "$DO_REMOUNT" -a -n "$FOUND_GRML" ; then - # copy library cache - cat /GRML/etc/ld.so.cache > /etc/ld.so.cache - echo "" - - SOURCE="/cdrom" - TARGET="/cdrom2" - - # first copy_to, then boot_from - if [ -n "$COPYTO" ]; then - copy_to $COPYTO && REAL_TARGET="$TARGET" - fi - if [ -n "$BOOTFROM" ]; then - boot_from - if [ "$?" -eq "0" ]; then - # set new source / target paths - REAL_TARGET="$TARGET" - SOURCE2="$LOOP_SOURCE" - SOURCE="/cdrom2" - TARGET="/cdrom3" - fi - fi -fi - -# Final test if everything succeeded. -if test -n "$FOUND_GRML" ; then -# copy library cache -cat /GRML/etc/ld.so.cache > /etc/ld.so.cache - -UNIONFS="" -if checkbootparam "unionfs" || test ! -r /modules/aufs.ko ; then - $INSMOD /modules/unionfs.ko 1>/dev/null - grep -q unionfs /proc/filesystems && UNIONFS=yes - unionfs='unionfs' - UNIONFS_FILETYPE='unionfs' - AUFS='' -else - $INSMOD /modules/aufs.ko 1>/dev/null - grep -q aufs /proc/filesystems && UNIONFS=yes - unionfs='unionfs (using aufs)' - UNIONFS_FILETYPE='aufs' - AUFS='yes' -fi - -# Set paths -log_begin_msg "Setting paths" -PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:." -export PATH - -# Make space: We don't need the modules anymore from here. -/GRML/bin/rm -rf /modules -# Debian weirdness -/GRML/bin/cp -a /GRML/etc/alternatives /etc/ 2>/dev/null - -# Replace /sbin -/GRML/bin/rm -f /sbin -/GRML/bin/ln -sf /GRML/sbin /sbin - -# From here, we should have all essential commands available. -hash -r - -# Did we remount the source media? -if test -n "$REAL_TARGET"; then - /bin/mount -n --move $REAL_TARGET /cdrom # move it back and go on to normal boot -fi - -# Clean up /etc/mtab (and - just in case - make a nice entry for looped ISO) -egrep " /GRML | /cdrom " /proc/mounts 2>/dev/null | sed 's|/dev/loop0 /cdrom \(.*\) 0 0|'$LOOP_SOURCE$ISO_PATH' /cdrom/ \1,loop=/dev/loop0 0 0|g' >> /etc/mtab - -# Clean up / -/GRML/bin/rm -rf /modules /static -echo " $SUCCESS" - -# New in Kernel 2.4.x: tempfs with variable ramdisk size. -# We check for available memory anyways and limit the ramdisks -# to a reasonable size. -FOUNDMEM="$(awk '/MemTotal/{print $2}' /proc/meminfo)" -TOTALMEM="$(awk 'BEGIN{m=0};/MemFree|Cached/{m+=$2};END{print m}' /proc/meminfo)" - -# Be verbose -if [ -n "$FOUNDMEM" ] ; then - log_begin_msg "Total memory found: $FOUNDMEM kB" ; echo " $SUCCESS" -else - log_failure_msg "Could not fetch memory information." ; echo " $FAILED" -fi - -# Now we need to use a little intuition for finding a ramdisk size -# that keeps us from running out of space, but still doesn't crash the -# machine due to lack of Ram - -# Minimum size of additional ram partitions -MINSIZE=20000 -# At least this much memory minus 30% should remain when home and var are full. -MINLEFT=16000 -# Maximum ramdisk size -[ -n "$TOTALMEM" ] && MAXSIZE="$(/usr/bin/expr $TOTALMEM - $MINLEFT)" -# Default ramdisk size for ramdisk -[ -n "$TOTALMEM" ] && RAMSIZE="$(/usr/bin/expr $TOTALMEM / 5)" - -# check for available RAM -# check for bootoption small and/or grml-small -if [ -n "$FOUNDMEM" ] ; then - if [ "$GRML_TYPE" = "small" ] ; then - if [ "$FOUNDMEM" -lt 25000 ] ; then - log_begin_msg "Bootoption *small detected, but you need at least 32MB of RAM available." ; echo " $FAILED" - log_begin_msg "Dropping you to a shell, continue on your own risk." ; echo " $FAILED" - /bin/bash - fi - else - if [ "$FOUNDMEM" -lt 58000 ] ; then - log_begin_msg "You need at least 64MB of RAM available for grml." ; echo " $FAILED" - log_begin_msg "Dropping you to a shell, continue on your own risk." ; echo " $FAILED" - /bin/bash - fi - fi -fi - -# Create additional dynamic ramdisk. -test -z "$RAMSIZE" -o "$RAMSIZE" -lt "$MINSIZE" && RAMSIZE="$MINSIZE" -mkdir -p /ramdisk -# tmpfs/varsize version, can use swap -RAMSIZE=$(/usr/bin/expr $RAMSIZE \* 4) -log_begin_msg "Creating /ramdisk (dynamic size=${RAMSIZE}k) on shared memory" -# We need /bin/mount here for the -o size= option -/bin/mount -t tmpfs -o "size=${RAMSIZE}k" /ramdisk /ramdisk && echo "$SUCCESS" -mkdir -p /ramdisk/tmp /ramdisk/home/grml && chmod 1777 /ramdisk/tmp && chown grml.grml /ramdisk/home/grml && ln -snf /ramdisk/home /home && /bin/mv /tmp /tmp.old && ln -s /ramdisk/tmp /tmp && rm -rf /tmp.old - -stage=3 -rundebugshell -# unionfs -log_begin_msg "Creating $unionfs and symlinks on ramdisk" -mkdir -p /UNIONFS -if test -n "$UNIONFS" && /bin/mount -t $UNIONFS_FILETYPE -o noatime${SECURE},dirs=/ramdisk=rw:/GRML=ro /UNIONFS /UNIONFS ; then - # check architecture - if [ -f /GRML/lib/ld-linux.so.2 ] ; then - LDLINUX=/GRML/lib/ld-linux.so.2 - GRMLLIB=/GRML/lib - elif [ -f /GRML/lib64/ld-linux-x86-64.so.2 ] ; then - LDLINUX=/GRML/lib64/ld-linux-x86-64.so.2 - EMUL='emul' - LIB64='lib64' - GRMLLIB=/GRML/lib64 - fi - # We now have unionfs, copy some data from the initial ramdisk first - cp -a /etc/fstab /etc/auto.mnt /etc/filesystems /etc/mtab /UNIONFS/etc/ - # disable resolvconf on the terminalserver client - if [ -n "$NFS" ] ; then - rm /UNIONFS/etc/resolv.conf - cp -a /etc/resolv.conf /UNIONFS/etc - echo REPORT_ABSENT_SYMLINK=no >> /UNIONFS/etc/default/resolvconf - fi - for i in bin boot etc sbin var opt root usr $EMUL $LIB64 lib ; do # Move directories to unionfs - if test -d /$i; then - /bin/mv /$i /$i.old && \ - # /GRML/lib/ld-linux.so.2 --library-path /GRML/lib /GRML/bin/ln -snf /UNIONFS/$i /$i && \ - $LDLINUX --library-path $GRMLLIB /GRML/bin/ln -snf /UNIONFS/$i /$i 1>/dev/null 2>/dev/null - rm -rf /$i.old - else - ln -snf /UNIONFS/$i /$i - fi - done - [ -n "$AUFS" ] && echo " $SUCCESS" || echo " $SUCCESS" - log_begin_msg "Merging read-only system with read-writeable /ramdisk." - for i in $(cd /UNIONFS; echo *); do # Create links for new stuff on /UNIONFS - test "$i" = "home" -o "$i" = "tmp" && continue - test -L "/$i" || test -d "/$i" || test -f "/$i" || ln -snf "/UNIONFS/$i" /$i - done && echo " $SUCCESS" || echo " $FAILED" -else - echo "" - log_failure_msg "ERROR: CANNOT UNITE READ-ONLY MEDIA AND INITIAL RAMDISK!" ; echo "$FAILED" - log_failure_msg "Can not continue booting, dropping you to a shell." ; echo "$FAILED" - /bin/bash -fi - -chown grml.grml /home/grml -# old: -# chmod 1777 /var/tmp -# new: -rm -rf /var/tmp/ ; mkdir /var/tmp ; chown root.root /var/tmp ; chmod 1777 /var/tmp - -# Create empty utmp and wtmp -:> /var/run/utmp -:> /var/run/wtmp - -# Make SURE that these are files, not links! -rm -rf /etc/ftpusers /etc/passwd /etc/shadow /etc/group \ - /etc/ppp /etc/isdn /etc/ssh /etc/ioctl.save \ - /etc/inittab /etc/network /etc/sudoers \ - /etc/init /etc/localtime /etc/dhcpc /etc/pnm2ppa.conf 2>/dev/null -cp -a /GRML/etc/ftpusers /GRML/etc/passwd /GRML/etc/shadow /GRML/etc/group \ - /GRML/etc/ppp /GRML/etc/isdn /GRML/etc/ssh \ - /GRML/etc/inittab /GRML/etc/network /GRML/etc/sudoers \ - /GRML/sbin/init /GRML/etc/dhcpc /etc/ 2>/dev/null - -# Extremely important, init crashes on shutdown if this is only a link -:> /etc/ioctl.save -:> /etc/pnm2ppa.conf -# Must exist for samba to work -[ -d /var/lib/samba ] && :> /var/lib/samba/unexpected.tdb -# Diet libc bug workaround -# cp -f /GRML/etc/localtime /etc/localtime -# echo "${BLUE}Done.${NORMAL}" - -# Now tell kernel where the real modprobe lives -echo "/sbin/modprobe" > /proc/sys/kernel/modprobe - -# Change root device from /dev/fd0 to /dev/ram0 -echo "0x100" > /proc/sys/kernel/real-root-dev - -/bin/umount /sys # (remount in grml-autoconfig) - -stage=4 -rundebugshell -# Give control to the init process. -log_begin_msg "Starting init process. " -[ -r /mountit ] && rm -f /mountit -rm -f /linuxrc -exit 0 - -else - log_failure_msg "Error: Can't find grml filesystem, sorry." - echo " -Are you booting via USB or firewire? -==================================== -Try to boot with bootparam scandelay which delays the -bootup sequence so modules should have enough time -to initialize devices. - -Usage examples on bootprompt of grml-iso: - -grml scandelay -> adds the default delay of 10 seconds -grml scandelay=13 -> adds a delay of 13 seconds - -Are you booting via SCSI? -==================================== -Use the bootparam scsi. -Usage examples on bootprompt of grml-iso: - -grml scsi=probe -> autoprobing of scsi modules -grml scsi=ask -> list modules and prompt for module which should be loaded -grml scsi=modulename -> loads specified module (without .ko extension) -expert -> activate expert mode, similar to scsi=ask - -Are you getting SquashFS/zlib errors? -===================================== -Try to boot with \"grml nodma\" - -Still problems? -=============== -Make sure the ISO itself is ok. -Check the md5sum of downloaded ISO. -Used a CD-RW? Make sure the medium is ok! - -Please report any problems you notice to the grml-team! -http://grml.org/contact/ -" - echo "${RED}Now dropping you to the busybox shell.${NORMAL}" - echo "${RED}Press reset button to quit.${NORMAL}" - echo "" - PS1="grml# " - export PS1 - echo "6" > /proc/sys/kernel/printk - # Allow signals - trap 1 2 3 15 - exec /static/sh -fi -# EOF diff --git a/old/rewrite/zshrc b/old/rewrite/zshrc deleted file mode 100644 index d3f1d24..0000000 --- a/old/rewrite/zshrc +++ /dev/null @@ -1,55 +0,0 @@ -. /etc/zsh/zshrc - -# PROMPT="$RED%n$NO_COLOUR@grml %40<...<%B%~%b%<< # " -export LC_ALL=C -# export LC_ALL=en_US.iso885915 - -alias vim='vim -X' -alias vimdiff='vimdiff -X' -alias prepare=" -mount devpts /dev/pts -t devpts -mount -t proc none /proc -" - -alias up=" -unset PAGER -apt-get update -apt-get upgrade -" -#wajig new - -alias acs='apt-cache search' -alias agi='apt-get install' -alias acsh='apt-cache show' -alias au='apt-get update' -alias ag='apt-get upgrade' - -#alias grml-size=" -# grep-status -n -sPackage,Installed-Size,Description -FStatus,Description 'install ok installed' | \ -# grep -v '^ ' | while read package; do \ -# read size; read desc; read; printf '%6d %-25s %s\n' \"\$size\" \"\$package\" \"\$desc\"; done | sort -rn" - -alias grml-size='grep-status -FStatus -sInstalled-Size,Package -n \ - "install ok installed" | paste -sd " \n" | sort -rn' - -# dpkg-query -W --showformat='${Installed-Size;10} ${Package}\n' | sort -gr | less - -alias online=' -echo generating package lists... && \ -dpkg --get-selections >| /tmp/dpkg_get_selections && \ -COLUMNS=200 dpkg -l >| /tmp/dpkg_list && \ -deborphan >| /tmp/deborphan && \ -deborphan -a >| /tmp/deborphan_a && \ -cp /tmp/dpkg_list /tmp/dpkg_list.tmp && \ -gzip -9 /tmp/dpkg_list.tmp && \ -mv /tmp/dpkg_list.tmp.gz /tmp/dpkg_list.gz && \ -grml-size >| /tmp/packages_by_size && \ -echo copying files to server: && \ -scp /tmp/dpkg_* /tmp/packages_by_size /tmp/deborphan* mika@grml.org:/var/www/grml/files/devel/ && \ -echo done.' -# grml-size >| /tmp/packages_by_size && \ - -#scp /tmp/dpkg_* /tmp/deborphan* web234@62.75.233.62:~/html/files/devel/ && \ -#scp /tmp/dpkg_* /tmp/deborphan* web234@grml.org:~/html/files/devel/ && \ - -# find . -type f -not -name md5sums -not -name boot.cat -exec md5sum {} \; >| md5sums diff --git a/old/scripts/01_bootstrap.sh b/old/scripts/01_bootstrap.sh deleted file mode 100644 index ef6ea1e..0000000 --- a/old/scripts/01_bootstrap.sh +++ /dev/null @@ -1,31 +0,0 @@ -# Filename: 01_bootstrap.sh -# Purpose: build script for creating grml live-cd -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2. -# Latest change: Tue Feb 13 00:13:24 CET 2007 -################################################################################ - -# main execution -bootstrap() { - debug "executing bootstrap" ; - - # create main grml-live directory within chroot - if ! [ -d "${TARGET}/grml-live/" ] ; then - debug "bootstrap: creating ${TARGET}/grml-live/" - mkdir "${TARGET}/grml-live/" - mkdir "${TARGET}/grml-live/scripts/" - mkdir "${TARGET}/grml-live/files/" - fi - - # check whether chroot exists already - if [ -f "${TARGET}/grml-live/bootstrap" ] ; then - debug_warn "chroot exists already, skipping execution of $DEBOOTSTRAP and continuing" - else - # $DEBOOTSTRAP --arch $ARCH $RELEASE $TARGET $MIRROR && touch "${TARGET}/grml-live/bootstrap" - $DEBOOTSTRAP $RELEASE $TARGET $MIRROR && touch "${TARGET}/grml-live/bootstrap" - fi -} - -## END OF FILE ################################################################# -# vim: ai tw=80 ft=sh expandtab diff --git a/old/scripts/02_chroot.sh b/old/scripts/02_chroot.sh deleted file mode 100644 index d22d675..0000000 --- a/old/scripts/02_chroot.sh +++ /dev/null @@ -1,90 +0,0 @@ -# Filename: 02_chroot.sh -# Purpose: build script for creating grml live-cd -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2. -# Latest change: Tue Feb 13 00:37:19 CET 2007 -################################################################################ - -chroot_shell() { - chroot "$TARGET" /bin/bash -} - -chroot_exec() { - chroot "$TARGET" /usr/bin/env -i HOME="/root" PATH="/usr/sbin:/usr/bin:/sbin:/bin" TERM="${TERM}" \ - DEBIAN_FRONTEND="${DEBCONF_FRONTEND}" DEBIAN_PRIORITY="${DEBCONF_PRIORITY}" ${1} - return $? -} - -patch_chroot() { - case "${1}" in - - apply) - debug "executing patch_chroot in apply mode" - echo "grml-live" > "${TARGET}"/etc/debian_chroot - [ -f "${TARGET}"/etc/hosts ] && cp "${TARGET}"/etc/hosts "$TARGET"/etc/hosts.orig - [ -f /etc/hosts ] && cp /etc/hosts "$TARGET"/etc/hosts - [ -f "${TARGET}"/etc/resolv.conf ] && cp "${TARGET}"/etc/resolv.conf "$TARGET"/etc/resolv.conf.orig - [ -f /etc/resolv.conf ] && cp /etc/resolv.conf "$TARGET"/etc/resolv.conf - # TODO: make sure to fix setup of grml-policy.rc.d - cat > "${TARGET}"/usr/sbin/policy-rc.d < "${TARGET}"/grml-live/files/sources.list - fi - - cat > "${TARGET}"/grml-live/scripts/install_packages.sh << EOF -#!/bin/sh - -if ! [ -f /etc/apt/grml.key ] ; then - gpg --keyserver subkeys.pgp.net --recv-keys F61E2E7CECDEA787 - gpg --export F61E2E7CECDEA787 > /etc/apt/grml.key - apt-key add /etc/apt/grml.key -fi - -apt-get update -apt-get upgrade - -EOF - - chmod 755 "${TARGET}"/grml-live/scripts/install_packages.sh -} - -chroot_live_execute() { - debug "executing grml-live script in chroot" - chroot_exec /grml-live/scripts/install_packages.sh -} - -## END OF FILE ################################################################# -# vim: ai tw=80 ft=sh expandtab diff --git a/old/scripts/03_grml-live-chroot.sh b/old/scripts/03_grml-live-chroot.sh deleted file mode 100644 index 522aa0b..0000000 --- a/old/scripts/03_grml-live-chroot.sh +++ /dev/null @@ -1,10 +0,0 @@ -# Filename: 02_chroot.sh -# Purpose: build script for creating grml live-cd -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2. -# Latest change: Tue Feb 13 00:16:27 CET 2007 -################################################################################ - -## END OF FILE ################################################################# -# vim: ai tw=80 ft=sh expandtab diff --git a/old/scripts/10_finalize_chroot.sh b/old/scripts/10_finalize_chroot.sh deleted file mode 100644 index f367f9e..0000000 --- a/old/scripts/10_finalize_chroot.sh +++ /dev/null @@ -1,21 +0,0 @@ -# Filename: 10_finalize_chroot.sh -# Purpose: build script for creating grml live-cd -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2. -# Latest change: Mon Feb 12 23:24:17 CET 2007 -################################################################################ - -# main execution -chroot_finalize() { - if [ -f "${TARGET}/etc/apt/sources.list.grml" ] ; then - chroot_exec "( cd /etc/apt/ ; ln -s sources.list.grml sources.list )" - fi -} - -chroot_cleanup() { - rm -rf "${TARGET}"/grml-live -} - -## END OF FILE ################################################################# -# vim: ai tw=80 ft=sh expandtab diff --git a/old/scripts/functions.sh b/old/scripts/functions.sh deleted file mode 100644 index 76ba78a..0000000 --- a/old/scripts/functions.sh +++ /dev/null @@ -1,55 +0,0 @@ -# Filename: functions.sh -# Purpose: helper functions for use within grml-live -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2. -# Latest change: Thu Feb 08 22:35:46 CET 2007 -################################################################################ - -bailout(){ - [ -n "$1" ] && EXIT="$1" || EXIT="1" - [ -n "$2" ] && echo "$2">&2 - exit "$EXIT" -} - -usage() { - print " - $0 .... -" -} - -debug() { - if [[ -n "$DEBUG" ]] ; then - einfo "grml-live: $*" - [[ -n "$DEBUG_SYSLOG" ]] && [ -x /usr/bin/logger ] && logger -t grml-live-info "$*" - else - return 0 # do nothing - fi -} - -debug_warn() { - if [[ -n "$DEBUG" ]] ; then - ewarn "grml-live: $*" - [[ -n "$DEBUG_SYSLOG" ]] && [ -x /usr/bin/logger ] && logger -t grml-live-warn "$*" - else - return 0 # do nothing - fi -} - -debug_error() { - if [[ -n "$DEBUG" ]] ; then - eerror "grml-live: $*" - [[ -n "$DEBUG_SYSLOG" ]] && [ -x /usr/bin/logger ] && logger -t grml-live-error "$*" - else - return 0 # do nothing - fi -} - -chroot_exec() -{ - [ -n "$TARGET" ] || bailout 1 "\$TARGET unset, can not chroot_exec" - [ -n "$1" ] || bailout 1 "Error executing chroot_exec. Usage: chroot_exec " - chroot "$TARGET" "$1" -} - -## END OF FILE ################################################################# diff --git a/old/scripts/grml-live b/old/scripts/grml-live deleted file mode 100755 index 1d693cd..0000000 --- a/old/scripts/grml-live +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/zsh -# Filename: grml-live -# Purpose: build script for creating grml live-cd -# Authors: grml-team (grml.org), (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2. -# Latest change: Tue Feb 13 00:16:11 CET 2007 -################################################################################ - -LANG=C ; LC_ALL=C -set -e # fail on any error - -# functions -FUNCTIONSFILE='functions.sh' # TODO: fix location -for file in $FUNCTIONSFILE /etc/grml/lsb-functions /etc/grml/script-functions ; do - [ -r "$file" ] && source "$file" || { print "Reading $file failed. Fatal error, exiting." ; exit 1 } -done - -# Clean exit -trap bailout 1 2 3 15 - -# We need root permissions to execute all the chroot stuff -check4root || bailout 1 - -# default variables -[ -n "$DEBOOTSTRAP" ] || DEBOOTSTRAP='debootstrap' -[ -n "$ARCH" ] || ARCH="$(dpkg --print-architecture)" -[ -n "$RELEASE" ] || RELEASE='sid' -[ -n "$MIRROR" ] || MIRROR='ftp://ftp.tugraz.at/mirror/debian' -[ -n "$TARGET" ] || TARGET="$(pwd)/grml-live/chroot/" - -# cmdline parsing, allow overwriting of variables -while true ; do - case "${1}" in - (-c|--config) CONFIG="${2}" - shift 2 ;; - (-r|--root) TARGET="${2}" - shift 2 ;; - (-h|--hook) HOOK="${2}" - shift 2 ;; - (-v|--version) usage - exit 1 ;; - (--) shift - break ;; - (*) break ;; - esac -done - -# configuration file -if [ -n "$CONFIG" ] ; then - [ -r "$CONFIG" ] || bailout 1 "Sorry, configuration file $CONFIG could not be read. Fatal error, exiting" - debug "sourcing $CONFIG" - source "$CONFIG" -else - source ../config/grml-live.conf # TODO: fix location -fi - -# make sure we have some variables, directories,... available before main execution -[ -d "$TARGET" ] || mkdir "$TARGET" -[ -n "$ARCH" ] && ARCH="$DEB_HOST_ARCH" || bailout 1 "\$ARCH not set, exiting." - -# TODO: fix location -source 01_bootstrap.sh -source 02_chroot.sh - -if [ -n "$HOOK" ] ; then - debug "executing given hook $HOOK" - $HOOK - exit 0 -fi - -## main execution - -# 01_bootstrap.sh -bootstrap - -# 02_chroot.sh -patch_chroot apply -chroot_live_prepare -chroot_live_execute -chroot_shell -patch_chroot deapply - -## END OF FILE ################################################################# -# vim: ai tw=80 ft=zsh expandtab diff --git a/old/templates/busybox-config.64bit b/old/templates/busybox-config.64bit deleted file mode 100644 index 374e51a..0000000 --- a/old/templates/busybox-config.64bit +++ /dev/null @@ -1,698 +0,0 @@ -# -# Automatically generated make config: don't edit -# Busybox version: 1.5.0 -# Wed Mar 28 00:16:11 2007 -# -CONFIG_HAVE_DOT_CONFIG=y - -# -# Busybox Settings -# - -# -# General Configuration -# -# CONFIG_NITPICK is not set -# CONFIG_DESKTOP is not set -# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set -# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set -# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set -CONFIG_SHOW_USAGE=y -CONFIG_FEATURE_VERBOSE_USAGE=y -# CONFIG_FEATURE_COMPRESS_USAGE is not set -# CONFIG_FEATURE_INSTALLER is not set -# CONFIG_LOCALE_SUPPORT is not set -CONFIG_GETOPT_LONG=y -CONFIG_FEATURE_DEVPTS=y -# CONFIG_FEATURE_CLEAN_UP is not set -CONFIG_FEATURE_SUID=y -CONFIG_FEATURE_SYSLOG=y -# CONFIG_FEATURE_SUID_CONFIG is not set -# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set -CONFIG_FEATURE_HAVE_RPC=y -# CONFIG_SELINUX is not set -# CONFIG_FEATURE_EXEC_PREFER_APPLETS is not set -CONFIG_BUSYBOX_EXEC_PATH="/static/busybox" - -# -# Build Options -# -CONFIG_STATIC=y -# CONFIG_BUILD_LIBBUSYBOX is not set -# CONFIG_FEATURE_FULL_LIBBUSYBOX is not set -# CONFIG_FEATURE_SHARED_BUSYBOX is not set -CONFIG_LFS=y -# CONFIG_BUILD_AT_ONCE is not set - -# -# Debugging Options -# -# CONFIG_DEBUG is not set -# CONFIG_WERROR is not set -# CONFIG_NO_DEBUG_LIB is not set -# CONFIG_DMALLOC is not set -# CONFIG_EFENCE is not set -CONFIG_INCLUDE_SUSv2=y - -# -# Installation Options -# -# CONFIG_INSTALL_NO_USR is not set -CONFIG_INSTALL_APPLET_SYMLINKS=y -# CONFIG_INSTALL_APPLET_HARDLINKS is not set -# CONFIG_INSTALL_APPLET_DONT is not set -CONFIG_PREFIX="./_install" - -# -# Busybox Library Tuning -# -CONFIG_PASSWORD_MINLEN=6 -CONFIG_MD5_SIZE_VS_SPEED=1 -CONFIG_FEATURE_EDITING=y -CONFIG_FEATURE_EDITING_FANCY_KEYS=y -CONFIG_FEATURE_EDITING_VI=y -CONFIG_FEATURE_EDITING_HISTORY=15 -CONFIG_FEATURE_EDITING_SAVEHISTORY=y -CONFIG_FEATURE_TAB_COMPLETION=y -# CONFIG_FEATURE_USERNAME_COMPLETION is not set -CONFIG_FEATURE_EDITING_FANCY_PROMPT=y - -# -# Applets -# - -# -# Archival Utilities -# -CONFIG_AR=y -CONFIG_FEATURE_AR_LONG_FILENAMES=y -CONFIG_BUNZIP2=y -CONFIG_CPIO=y -CONFIG_DPKG=y -CONFIG_DPKG_DEB=y -# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set -CONFIG_GUNZIP=y -CONFIG_FEATURE_GUNZIP_UNCOMPRESS=y -CONFIG_GZIP=y -CONFIG_RPM2CPIO=y -CONFIG_RPM=y -CONFIG_TAR=y -CONFIG_FEATURE_TAR_CREATE=y -CONFIG_FEATURE_TAR_BZIP2=y -CONFIG_FEATURE_TAR_LZMA=y -# CONFIG_FEATURE_TAR_FROM is not set -CONFIG_FEATURE_TAR_GZIP=y -# CONFIG_FEATURE_TAR_COMPRESS is not set -# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set -CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y -# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set -CONFIG_UNCOMPRESS=y -# CONFIG_UNLZMA is not set -# CONFIG_FEATURE_LZMA_FAST is not set -CONFIG_UNZIP=y - -# -# Common options for cpio and tar -# -CONFIG_FEATURE_UNARCHIVE_TAPE=y - -# -# Common options for dpkg and dpkg_deb -# -CONFIG_FEATURE_DEB_TAR_GZ=y -CONFIG_FEATURE_DEB_TAR_BZ2=y -# CONFIG_FEATURE_DEB_TAR_LZMA is not set - -# -# Coreutils -# -CONFIG_BASENAME=y -CONFIG_CAL=y -CONFIG_CAT=y -# CONFIG_CATV is not set -CONFIG_CHGRP=y -CONFIG_CHMOD=y -CONFIG_CHOWN=y -CONFIG_CHROOT=y -# CONFIG_CKSUM is not set -CONFIG_CMP=y -# CONFIG_COMM is not set -CONFIG_CP=y -CONFIG_CUT=y -CONFIG_DATE=y -CONFIG_FEATURE_DATE_ISOFMT=y -CONFIG_DD=y -CONFIG_FEATURE_DD_SIGNAL_HANDLING=y -# CONFIG_FEATURE_DD_IBS_OBS is not set -CONFIG_DF=y -# CONFIG_DIFF is not set -# CONFIG_FEATURE_DIFF_BINARY is not set -# CONFIG_FEATURE_DIFF_DIR is not set -# CONFIG_FEATURE_DIFF_MINIMAL is not set -CONFIG_DIRNAME=y -CONFIG_DOS2UNIX=y -CONFIG_UNIX2DOS=y -CONFIG_DU=y -CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y -CONFIG_ECHO=y -CONFIG_FEATURE_FANCY_ECHO=y -CONFIG_ENV=y -# CONFIG_FEATURE_ENV_LONG_OPTIONS is not set -CONFIG_EXPR=y -CONFIG_EXPR_MATH_SUPPORT_64=y -CONFIG_FALSE=y -CONFIG_FOLD=y -CONFIG_HEAD=y -CONFIG_FEATURE_FANCY_HEAD=y -CONFIG_HOSTID=y -CONFIG_ID=y -# CONFIG_INSTALL is not set -# CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set -CONFIG_LENGTH=y -CONFIG_LN=y -CONFIG_LOGNAME=y -CONFIG_LS=y -CONFIG_FEATURE_LS_FILETYPES=y -CONFIG_FEATURE_LS_FOLLOWLINKS=y -CONFIG_FEATURE_LS_RECURSIVE=y -CONFIG_FEATURE_LS_SORTFILES=y -CONFIG_FEATURE_LS_TIMESTAMPS=y -CONFIG_FEATURE_LS_USERNAME=y -CONFIG_FEATURE_LS_COLOR=y -# CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set -CONFIG_MD5SUM=y -CONFIG_MKDIR=y -# CONFIG_FEATURE_MKDIR_LONG_OPTIONS is not set -CONFIG_MKFIFO=y -CONFIG_MKNOD=y -CONFIG_MV=y -# CONFIG_FEATURE_MV_LONG_OPTIONS is not set -# CONFIG_NICE is not set -# CONFIG_NOHUP is not set -CONFIG_OD=y -# CONFIG_PRINTENV is not set -CONFIG_PRINTF=y -CONFIG_PWD=y -CONFIG_REALPATH=y -CONFIG_RM=y -CONFIG_RMDIR=y -# CONFIG_SEQ is not set -CONFIG_SHA1SUM=y -CONFIG_SLEEP=y -CONFIG_FEATURE_FANCY_SLEEP=y -CONFIG_SORT=y -CONFIG_FEATURE_SORT_BIG=y -# CONFIG_STAT is not set -# CONFIG_FEATURE_STAT_FORMAT is not set -CONFIG_STTY=y -# CONFIG_SUM is not set -CONFIG_SYNC=y -CONFIG_TAIL=y -CONFIG_FEATURE_FANCY_TAIL=y -CONFIG_TEE=y -CONFIG_FEATURE_TEE_USE_BLOCK_IO=y -CONFIG_TEST=y -CONFIG_FEATURE_TEST_64=y -CONFIG_TOUCH=y -CONFIG_TR=y -# CONFIG_FEATURE_TR_CLASSES is not set -# CONFIG_FEATURE_TR_EQUIV is not set -CONFIG_TRUE=y -CONFIG_TTY=y -CONFIG_UNAME=y -CONFIG_UNIQ=y -CONFIG_USLEEP=y -CONFIG_UUDECODE=y -CONFIG_UUENCODE=y -CONFIG_WATCH=y -CONFIG_WC=y -# CONFIG_FEATURE_WC_LARGE is not set -CONFIG_WHO=y -CONFIG_WHOAMI=y -CONFIG_YES=y - -# -# Common options for cp and mv -# -CONFIG_FEATURE_PRESERVE_HARDLINKS=y - -# -# Common options for ls, more and telnet -# -CONFIG_FEATURE_AUTOWIDTH=y - -# -# Common options for df, du, ls -# -CONFIG_FEATURE_HUMAN_READABLE=y - -# -# Common options for md5sum, sha1sum -# -# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set - -# -# Console Utilities -# -CONFIG_CHVT=y -CONFIG_CLEAR=y -CONFIG_DEALLOCVT=y -CONFIG_DUMPKMAP=y -CONFIG_LOADFONT=y -CONFIG_LOADKMAP=y -CONFIG_OPENVT=y -CONFIG_RESET=y -# CONFIG_RESIZE is not set -# CONFIG_FEATURE_RESIZE_PRINT is not set -# CONFIG_SETCONSOLE is not set -# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set -CONFIG_SETKEYCODES=y -# CONFIG_SETLOGCONS is not set - -# -# Debian Utilities -# -CONFIG_MKTEMP=y -# CONFIG_PIPE_PROGRESS is not set -CONFIG_READLINK=y -CONFIG_FEATURE_READLINK_FOLLOW=y -CONFIG_RUN_PARTS=y -# CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set -CONFIG_START_STOP_DAEMON=y -CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y -# CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set -CONFIG_WHICH=y - -# -# Editors -# -CONFIG_AWK=y -CONFIG_FEATURE_AWK_MATH=y -# CONFIG_ED is not set -CONFIG_PATCH=y -CONFIG_SED=y -CONFIG_VI=y -CONFIG_FEATURE_VI_COLON=y -CONFIG_FEATURE_VI_YANKMARK=y -CONFIG_FEATURE_VI_SEARCH=y -CONFIG_FEATURE_VI_USE_SIGNALS=y -CONFIG_FEATURE_VI_DOT_CMD=y -CONFIG_FEATURE_VI_READONLY=y -CONFIG_FEATURE_VI_SETOPTS=y -CONFIG_FEATURE_VI_SET=y -CONFIG_FEATURE_VI_WIN_RESIZE=y -CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y -CONFIG_FEATURE_ALLOW_EXEC=y - -# -# Finding Utilities -# -CONFIG_FIND=y -CONFIG_FEATURE_FIND_PRINT0=y -CONFIG_FEATURE_FIND_MTIME=y -CONFIG_FEATURE_FIND_MMIN=y -CONFIG_FEATURE_FIND_PERM=y -CONFIG_FEATURE_FIND_TYPE=y -CONFIG_FEATURE_FIND_XDEV=y -CONFIG_FEATURE_FIND_NEWER=y -CONFIG_FEATURE_FIND_INUM=y -CONFIG_FEATURE_FIND_EXEC=y -CONFIG_FEATURE_FIND_USER=y -CONFIG_FEATURE_FIND_NOT=y -CONFIG_GREP=y -CONFIG_FEATURE_GREP_EGREP_ALIAS=y -CONFIG_FEATURE_GREP_FGREP_ALIAS=y -CONFIG_FEATURE_GREP_CONTEXT=y -CONFIG_XARGS=y -# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set -# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set -# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set -# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set - -# -# Init Utilities -# -CONFIG_INIT=y -# CONFIG_DEBUG_INIT is not set -CONFIG_FEATURE_USE_INITTAB=y -CONFIG_FEATURE_INIT_SCTTY=y -CONFIG_FEATURE_INIT_SYSLOG=y -# CONFIG_FEATURE_EXTRA_QUIET is not set -# CONFIG_FEATURE_INIT_COREDUMPS is not set -CONFIG_FEATURE_INITRD=y -CONFIG_HALT=y -CONFIG_MESG=y - -# -# Login/Password Management Utilities -# -CONFIG_FEATURE_SHADOWPASSWDS=y -CONFIG_USE_BB_SHADOW=y -CONFIG_USE_BB_PWD_GRP=y -CONFIG_ADDGROUP=y -CONFIG_DELGROUP=y -CONFIG_ADDUSER=y -CONFIG_DELUSER=y -CONFIG_GETTY=y -CONFIG_FEATURE_UTMP=y -CONFIG_FEATURE_WTMP=y -CONFIG_LOGIN=y -# CONFIG_LOGIN_SCRIPTS is not set -CONFIG_FEATURE_SECURETTY=y -CONFIG_PASSWD=y -CONFIG_FEATURE_PASSWD_WEAK_CHECK=y -CONFIG_SU=y -CONFIG_FEATURE_SU_SYSLOG=y -CONFIG_FEATURE_SU_CHECKS_SHELLS=y -CONFIG_SULOGIN=y -CONFIG_VLOCK=y - -# -# Linux Ext2 FS Progs -# -# CONFIG_CHATTR is not set -# CONFIG_FSCK is not set -# CONFIG_LSATTR is not set - -# -# Linux Module Utilities -# -CONFIG_INSMOD=y -# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set -# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set -# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set -# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set -# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set -CONFIG_RMMOD=y -CONFIG_LSMOD=y -CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y -CONFIG_MODPROBE=y -CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS=y -CONFIG_FEATURE_MODPROBE_FANCY_ALIAS=y - -# -# Options common to multiple modutils -# -# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set -# CONFIG_FEATURE_2_4_MODULES is not set -CONFIG_FEATURE_2_6_MODULES=y -# CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set - -# -# Linux System Utilities -# -CONFIG_DMESG=y -CONFIG_FEATURE_DMESG_PRETTY=y -CONFIG_FBSET=y -CONFIG_FEATURE_FBSET_FANCY=y -CONFIG_FEATURE_FBSET_READMODE=y -CONFIG_FDFLUSH=y -# CONFIG_FDFORMAT is not set -CONFIG_FDISK=y -CONFIG_FDISK_SUPPORT_LARGE_DISKS=y -CONFIG_FEATURE_FDISK_WRITABLE=y -CONFIG_FEATURE_AIX_LABEL=y -CONFIG_FEATURE_SGI_LABEL=y -CONFIG_FEATURE_SUN_LABEL=y -# CONFIG_FEATURE_OSF_LABEL is not set -CONFIG_FEATURE_FDISK_ADVANCED=y -CONFIG_FREERAMDISK=y -CONFIG_FSCK_MINIX=y -CONFIG_MKFS_MINIX=y - -# -# Minix filesystem support -# -CONFIG_FEATURE_MINIX2=y -CONFIG_GETOPT=y -CONFIG_HEXDUMP=y -CONFIG_HWCLOCK=y -# CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS is not set -CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y -# CONFIG_IPCRM is not set -# CONFIG_IPCS is not set -CONFIG_LOSETUP=y -# CONFIG_MDEV is not set -# CONFIG_FEATURE_MDEV_CONF is not set -# CONFIG_FEATURE_MDEV_EXEC is not set -CONFIG_MKSWAP=y -# CONFIG_FEATURE_MKSWAP_V0 is not set -CONFIG_MORE=y -CONFIG_FEATURE_USE_TERMIOS=y -CONFIG_MOUNT=y -CONFIG_FEATURE_MOUNT_NFS=y -CONFIG_FEATURE_MOUNT_CIFS=y -CONFIG_FEATURE_MOUNT_FLAGS=y -CONFIG_FEATURE_MOUNT_FSTAB=y -CONFIG_PIVOT_ROOT=y -CONFIG_RDATE=y -# CONFIG_READPROFILE is not set -# CONFIG_SETARCH is not set -CONFIG_SWAPONOFF=y -# CONFIG_SWITCH_ROOT is not set -CONFIG_UMOUNT=y -CONFIG_FEATURE_UMOUNT_ALL=y - -# -# Common options for mount/umount -# -CONFIG_FEATURE_MOUNT_LOOP=y -# CONFIG_FEATURE_MTAB_SUPPORT is not set - -# -# Miscellaneous Utilities -# -CONFIG_ADJTIMEX=y -# CONFIG_BBCONFIG is not set -# CONFIG_CHRT is not set -CONFIG_CROND=y -# CONFIG_DEBUG_CROND_OPTION is not set -CONFIG_FEATURE_CROND_CALL_SENDMAIL=y -CONFIG_CRONTAB=y -CONFIG_DC=y -# CONFIG_DEVFSD is not set -# CONFIG_DEVFSD_MODLOAD is not set -# CONFIG_DEVFSD_FG_NP is not set -# CONFIG_DEVFSD_VERBOSE is not set -# CONFIG_FEATURE_DEVFS is not set -# CONFIG_EJECT is not set -CONFIG_LAST=y -# CONFIG_LESS is not set -CONFIG_FEATURE_LESS_MAXLINES= -# CONFIG_FEATURE_LESS_BRACKETS is not set -# CONFIG_FEATURE_LESS_FLAGS is not set -# CONFIG_FEATURE_LESS_FLAGCS is not set -# CONFIG_FEATURE_LESS_MARKS is not set -# CONFIG_FEATURE_LESS_REGEXP is not set -# CONFIG_HDPARM is not set -# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set -# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set -# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set -CONFIG_MAKEDEVS=y -# CONFIG_FEATURE_MAKEDEVS_LEAF is not set -CONFIG_FEATURE_MAKEDEVS_TABLE=y -# CONFIG_MOUNTPOINT is not set -CONFIG_MT=y -# CONFIG_NMETER is not set -# CONFIG_RAIDAUTORUN is not set -# CONFIG_READAHEAD is not set -# CONFIG_RUNLEVEL is not set -# CONFIG_RX is not set -CONFIG_STRINGS=y -# CONFIG_SETSID is not set -# CONFIG_TASKSET is not set -# CONFIG_FEATURE_TASKSET_FANCY is not set -CONFIG_TIME=y -CONFIG_WATCHDOG=y - -# -# Networking Utilities -# -CONFIG_FEATURE_IPV6=y -CONFIG_VERBOSE_RESOLUTION_ERRORS=y -# CONFIG_ARP is not set -CONFIG_ARPING=y -# CONFIG_DNSD is not set -# CONFIG_ETHER_WAKE is not set -# CONFIG_FAKEIDENTD is not set -CONFIG_FTPGET=y -CONFIG_FTPPUT=y -# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -CONFIG_HOSTNAME=y -CONFIG_HTTPD=y -# CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set -# CONFIG_FEATURE_HTTPD_SETUID is not set -CONFIG_FEATURE_HTTPD_BASIC_AUTH=y -# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set -# CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES is not set -# CONFIG_FEATURE_HTTPD_CGI is not set -# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set -# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set -# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set -CONFIG_IFCONFIG=y -CONFIG_FEATURE_IFCONFIG_STATUS=y -CONFIG_FEATURE_IFCONFIG_SLIP=y -CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y -CONFIG_FEATURE_IFCONFIG_HW=y -CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y -CONFIG_IFUPDOWN=y -# CONFIG_FEATURE_IFUPDOWN_IP is not set -# CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN is not set -CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN=y -CONFIG_FEATURE_IFUPDOWN_IPV4=y -CONFIG_FEATURE_IFUPDOWN_IPV6=y -CONFIG_FEATURE_IFUPDOWN_IPX=y -CONFIG_FEATURE_IFUPDOWN_MAPPING=y -# CONFIG_INETD is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set -# CONFIG_FEATURE_INETD_RPC is not set -CONFIG_IP=y -CONFIG_FEATURE_IP_ADDRESS=y -CONFIG_FEATURE_IP_LINK=y -CONFIG_FEATURE_IP_ROUTE=y -CONFIG_FEATURE_IP_TUNNEL=y -# CONFIG_FEATURE_IP_RULE is not set -# CONFIG_FEATURE_IP_SHORT_FORMS is not set -# CONFIG_IPADDR is not set -# CONFIG_IPLINK is not set -# CONFIG_IPROUTE is not set -# CONFIG_IPTUNNEL is not set -# CONFIG_IPRULE is not set -CONFIG_IPCALC=y -CONFIG_FEATURE_IPCALC_FANCY=y -# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set -CONFIG_NAMEIF=y -CONFIG_NC=y -# CONFIG_NC_SERVER is not set -# CONFIG_NC_EXTRA is not set -CONFIG_NETSTAT=y -CONFIG_NSLOOKUP=y -CONFIG_PING=y -CONFIG_PING6=y -CONFIG_FEATURE_FANCY_PING=y -CONFIG_ROUTE=y -CONFIG_TELNET=y -CONFIG_FEATURE_TELNET_TTYPE=y -CONFIG_FEATURE_TELNET_AUTOLOGIN=y -CONFIG_TELNETD=y -# CONFIG_FEATURE_TELNETD_STANDALONE is not set -CONFIG_TFTP=y -CONFIG_FEATURE_TFTP_GET=y -CONFIG_FEATURE_TFTP_PUT=y -CONFIG_FEATURE_TFTP_BLOCKSIZE=y -# CONFIG_DEBUG_TFTP is not set -CONFIG_TRACEROUTE=y -CONFIG_FEATURE_TRACEROUTE_VERBOSE=y -# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set -# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set -CONFIG_APP_UDHCPD=y -# CONFIG_APP_DHCPRELAY is not set -# CONFIG_APP_DUMPLEASES is not set -CONFIG_APP_UDHCPC=y -# CONFIG_FEATURE_UDHCP_SYSLOG is not set -# CONFIG_FEATURE_UDHCP_DEBUG is not set -CONFIG_FEATURE_RFC3397=y -# CONFIG_VCONFIG is not set -CONFIG_WGET=y -CONFIG_FEATURE_WGET_STATUSBAR=y -CONFIG_FEATURE_WGET_AUTHENTICATION=y -# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set -# CONFIG_ZCIP is not set - -# -# Process Utilities -# -CONFIG_FREE=y -# CONFIG_FUSER is not set -CONFIG_KILL=y -CONFIG_KILLALL=y -# CONFIG_KILLALL5 is not set -CONFIG_PIDOF=y -# CONFIG_FEATURE_PIDOF_SINGLE is not set -# CONFIG_FEATURE_PIDOF_OMIT is not set -CONFIG_PS=y -# CONFIG_FEATURE_PS_WIDE is not set -CONFIG_RENICE=y -# CONFIG_BB_SYSCTL is not set -CONFIG_TOP=y -CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y -CONFIG_UPTIME=y - -# -# Shells -# -CONFIG_FEATURE_SH_IS_ASH=y -# CONFIG_FEATURE_SH_IS_HUSH is not set -# CONFIG_FEATURE_SH_IS_LASH is not set -# CONFIG_FEATURE_SH_IS_MSH is not set -# CONFIG_FEATURE_SH_IS_NONE is not set -CONFIG_ASH=y - -# -# Ash Shell Options -# -CONFIG_ASH_JOB_CONTROL=y -CONFIG_ASH_READ_NCHARS=y -CONFIG_ASH_READ_TIMEOUT=y -CONFIG_ASH_ALIAS=y -CONFIG_ASH_MATH_SUPPORT=y -CONFIG_ASH_MATH_SUPPORT_64=y -CONFIG_ASH_GETOPTS=y -CONFIG_ASH_BUILTIN_ECHO=y -CONFIG_ASH_BUILTIN_TEST=y -CONFIG_ASH_CMDCMD=y -CONFIG_ASH_MAIL=y -CONFIG_ASH_OPTIMIZE_FOR_SIZE=y -# CONFIG_ASH_RANDOM_SUPPORT is not set -# CONFIG_ASH_EXPAND_PRMT is not set -# CONFIG_HUSH is not set -# CONFIG_LASH is not set -# CONFIG_MSH is not set - -# -# Bourne Shell Options -# -# CONFIG_FEATURE_SH_EXTRA_QUIET is not set -CONFIG_FEATURE_SH_STANDALONE_SHELL=y - -# -# System Logging Utilities -# -CONFIG_SYSLOGD=y -# CONFIG_FEATURE_ROTATE_LOGFILE is not set -CONFIG_FEATURE_REMOTE_LOG=y -CONFIG_FEATURE_IPC_SYSLOG=y -CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=64 -CONFIG_LOGREAD=y -# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set -CONFIG_KLOGD=y -CONFIG_LOGGER=y - -# -# Runit Utilities -# -# CONFIG_RUNSV is not set -# CONFIG_RUNSVDIR is not set -# CONFIG_SV is not set -# CONFIG_SVLOGD is not set -# CONFIG_CHPST is not set -# CONFIG_SETUIDGID is not set -# CONFIG_ENVUIDGID is not set -# CONFIG_ENVDIR is not set -# CONFIG_SOFTLIMIT is not set -# CONFIG_CHCON is not set -# CONFIG_FEATURE_CHCON_LONG_OPTIONS is not set -# CONFIG_GETENFORCE is not set -# CONFIG_GETSEBOOL is not set -# CONFIG_MATCHPATHCON is not set -# CONFIG_RUNCON is not set -# CONFIG_FEATURE_RUNCON_LONG_OPTIONS is not set -# CONFIG_SELINUXENABLED is not set -# CONFIG_SETENFORCE is not set diff --git a/old/templates/isolinux/boot.msg b/old/templates/isolinux/boot.msg deleted file mode 100644 index d845d3e..0000000 --- a/old/templates/isolinux/boot.msg +++ /dev/null @@ -1,4 +0,0 @@ -17 logo.16 - -Some information and boot options available via keys F2 - F10. http://grml.org/ -grml 0.9-2a - Release Codename "WoIstMeinKaffee" - grml.org/ - 2007-02-01 diff --git a/old/templates/isolinux/chain.c32 b/old/templates/isolinux/chain.c32 deleted file mode 100644 index 1108b9c..0000000 Binary files a/old/templates/isolinux/chain.c32 and /dev/null differ diff --git a/old/templates/isolinux/f10 b/old/templates/isolinux/f10 deleted file mode 100644 index 9adad4c..0000000 --- a/old/templates/isolinux/f10 +++ /dev/null @@ -1,24 +0,0 @@ - grml - Linux for sysadmins and users of texttools 09F1007 - -70 Problems with grml? - - If you can't boot the grml system, don't despair! The grml team is ready - to help you! We are especially interested in hearing about startup - problems, because in general they don't happen to only one person. - We've either already heard about your particular problem and can - dispense a quick fix, or we would like to hear about it and work through - it with you, and the next user who comes up with the same problem will - profit from your experience! - - Contact us: - Web: http://grml.org/contact/ - IRC: #grml on irc.freenode.org - Mail: contact (at) grml.org - Bugs: http://grml.org/bugs/ - - See the FAQ for more information: - 0fhttp://grml.org/faq/70 - - Thank you for helping us to improve grml! -1f - diff --git a/old/templates/isolinux/f2 b/old/templates/isolinux/f2 deleted file mode 100644 index 9ab4ba5..0000000 --- a/old/templates/isolinux/f2 +++ /dev/null @@ -1,23 +0,0 @@ - grml - Linux for sysadmins and users of texttools 09F207 - -09 Overview of bootsplashes on grml (F1-F10)07 - - 09F107 main bootsplash with keyboard-image and bootprompt - 09F207 this overview page - 09F307 main grml bootoptions - 09F407 main cheatcodes for grml [1/2] - 09F507 main cheatcodes for grml [2/2] - 09F607 troubleshooting on grml - 09F707 kernel cheatcodes - 09F807 grml configuration options - 09F907 grml2hd - automatic installation of grml - 09F1007 problems with grml? _ - __ _ _ __ _ __ ___ | | ___ _ __ __ _ - / _` | '__| '_ ` _ \| | / _ \| '__/ _` | - | (_| | | | | | | | | || (_) | | | (_| | - \__, |_| |_| |_| |_|_(_)___/|_| \__, | - |___/ |___/ - - Problems? Some more information is accessible via keys F3-F10. - See F6 for troubleshooting information. Timeout: 30 seconds -1f diff --git a/old/templates/isolinux/f3 b/old/templates/isolinux/f3 deleted file mode 100644 index 9aa3fd3..0000000 --- a/old/templates/isolinux/f3 +++ /dev/null @@ -1,23 +0,0 @@ - grml - Linux for sysadmins and users of texttools 09F307 - -70 This edition of grml boots with kernel 2.6.19-grml by default. - The following options can be used at the boot:-prompt: - - grml [options, list via F4-F10] grml default running 2.6.19 - memtest memtest86+ (memory test program) - fb1280x1024, fb1024x768 or fb800x600 use framebuffer mode (e.g. notebooks) - nofb disable framebuffer mode - hd / hd1 / hd2 / hd3 / floppy boot from (1st/2nd/..) harddisk / floppy - floppy boot from local floppydisk - failsafe use (nearly) no hardware recognition - serial activate serial console - forensic do not touch any harddisks during hardware recognition - debug get interactive shells during startup process - grub start GRand Unified Bootloader (GRUB) - dos start FreeDOS 1.0 - vmware boot with special options for use in VMware - - A list with all supported boot options can be found at the CD at - /cdrom/GRML/grml-cheatcodes.txt - -1f diff --git a/old/templates/isolinux/f4 b/old/templates/isolinux/f4 deleted file mode 100644 index d57aa68..0000000 --- a/old/templates/isolinux/f4 +++ /dev/null @@ -1,23 +0,0 @@ - grml - Linux for sysadmins and users of texttools 09F407 - -70 The following options can be used at the boot:-prompt. [1/2] - - grml nousb nousb2 disable initialization of USB in initial ramdisk - grml nofirewire disable initialization of firewire in initial ramdisk - grml scandelay[=seconds] delay accessing ISO-device (useful on usb-stick) - grml scsi=modulename load specified SCSI module (don't add .ko) - grml scsi=probe autoprobe all available scsi modules - grml scsi=ask prompt for loading of SCSI module - grml blacklist=modulename completely disable loading of specified module - grml no{fstab|swap|apm|apic|acpi|scsi|sound} disable specified feature - grml nodma ide=nodma disable DMA accelleration for ALL IDE-drives - grml noudev disable startup of udev (use with care) - grml noeject noprompt do not eject CD after halt / do not prompt for it - grml swspeak prepare system for use with software synthesizer, - run "swspeak" after booting system - grml vga=ask / vga=791 prompt for framebuffer menu / set options - - Note: If you want to boot via USB/Firewire and accessing the device does not - work try to boot with 'grml scandelay' which adds a delay of a few seconds. - -1f diff --git a/old/templates/isolinux/f5 b/old/templates/isolinux/f5 deleted file mode 100644 index 6ec1924..0000000 --- a/old/templates/isolinux/f5 +++ /dev/null @@ -1,23 +0,0 @@ - grml - Linux for sysadmins and users of texttools 09F507 - -70 The following options can be used at the boot:-prompt. [2/2] - - grml lang=at|da|de|es|fr|it|nl|pl|...|us[-utf8] set keyboard + language - grml keyboard=de xkeyboard=de set keyboard - grml gmt tz=Europe/Vienna use GMT-based time and specified timezone for TZ - grml ssh=password set password for user grml and start ssh-server - grml myconfig=/dev/fd0 load configuration from specified device - grml home=/dev/sda1 use specified device as home directory - grml testcd check CD data integrity and md5sums - grml toram copy CD to RAM and run from there - grml services=foo1[,foo2] start specified service(s) [/etc/init.d/name foo1] - grml noautoconfig disable searching for device labeled GRMLCFG - grml noswraid disable search for software RAID devices - grml nofstab / nolabel disable generating of /etc/fstab / use of fs-labels - grml nodhcp disable searching for network setup via DHCP - grml startx[=windowmanager] autostart X.org via grml-x (default WM: wm-ng) - grml debnet search local partitions for file /etc/network/interfaces, - copy /etc/network then to local system and restart networking - - A list with all supported boot options: /cdrom/GRML/grml-cheatcodes.txt -1f diff --git a/old/templates/isolinux/f6 b/old/templates/isolinux/f6 deleted file mode 100644 index b14282c..0000000 --- a/old/templates/isolinux/f6 +++ /dev/null @@ -1,23 +0,0 @@ - grml - Linux for sysadmins and users of texttools 09F607 - -70 Troubleshooting on grml (main page via key f1) - - If you experience lockups or other hardware failures, - disable buggy APIC interrupt routing: - - grml noapic nolapic - - Disable ACPI for PCI maps (some HP servers and Via-based machines): - - grml pci=noacpi - - Deactivate SMP-kernel and use only one processor: - - grml nosmp - - Disable framebuffer if you get a black/blank screen or - notice problems with your display: - - grml vga=normal - -1f diff --git a/old/templates/isolinux/f7 b/old/templates/isolinux/f7 deleted file mode 100644 index b62294f..0000000 --- a/old/templates/isolinux/f7 +++ /dev/null @@ -1,23 +0,0 @@ - grml - Linux for sysadmins and users of texttools 09F707 - -70 Cheatcodes for kernel (main page via key f1) - - acpi={force|off|ht|strict} Define ACPI-settings. - apic={quiet(default)|verbose|debug} Set output verbosity whilst booting. - noirqbalance Disable kernel irq balancing. - ide?= config (iomem/irq), tuning (serialize,reset,no{dma,tune,probe}). - initcall_debug trace initcalls - see where kernel is dying during startup. - lapic enable the local APIC even if BIOS disabled it. - max_loop=[1-256] Maximum number of loopback devices that can be mounted. - md= / raid=[noautodetect] specify RAID options, see Documentation/md.txt. - mem=nn[KMG] Force usage of a specific amount of memory. - nfsroot= NFS root filesystem for disk-less boxes. - noapic Do not make use of any APIC that may be present on the system. - nosmp Tells an SMP kernel to act as a UP kernel. - nosync Disables sync negotiation for all devices. - pci={noacpi|biosirq|assign-busses|...} Set PCI subsystem options. - resume= Specify the partition device for software suspension. - vga={normal|ask|791|...} Frame buffer configuration. - - -1f diff --git a/old/templates/isolinux/f8 b/old/templates/isolinux/f8 deleted file mode 100644 index 5bd9429..0000000 --- a/old/templates/isolinux/f8 +++ /dev/null @@ -1,23 +0,0 @@ - grml - Linux for sysadmins and users of texttools 09F807 - -70 grml configuration options - ========================== - - myconfig=/dev/ice -> search for config.tbz and grml.sh on specifed device - extract=/directory -> extract only provided directory of config archive - netconfig=server.tld/path/to/config.tbz -> download specified archive and - extract it - noautoconfig -> do not automount device labeled with GRMLCFG - file=configname.tbz -> use specified filename as configuration archive - partconf=/dev/ice -> copy files specified in /etc/grml/partconf from - /dev/ice to the grml system - - Usage examples: - - grml myconfig=/dev/sda1 -> mount usb device and extract config.tbz - and execute grml.sh if present - grml netconfig=grml.org/config.tar.gz -> download file and extract it - grml myconfig=/dev/fd0 file=foobar.tbz -> extract archive from floppy - grml partconf=/dev/hda2 -> mount partition read-only and get files - specified in /etc/grml/partconf -1f diff --git a/old/templates/isolinux/f9 b/old/templates/isolinux/f9 deleted file mode 100644 index 77944d9..0000000 --- a/old/templates/isolinux/f9 +++ /dev/null @@ -1,23 +0,0 @@ - grml - Linux for sysadmins and users of texttools 09F907 - -70 grml2hd - automatic installation of grml - ======================================== - - Using grml2hd as bootoption runs grml2hd in non-interactive mode. - Notice: use this bootoption with care! - - The following options for grml2hd are available: - - user= user name for user which should be used at hd-install - filesystem={ext2|ext3|reiserfs|reiser4|jfs|xfs} filesystem to be used - mbr=/dev/... partition where MBR should be installed (default:=partition) - partition=/dev/... partition where grml should be installed - - Usage example for booting: - grml2hd partition=/dev/hda4 mbr=/dev/hda filesystem=ext3 user=mika - - Passwords of user root and user are "grml" - please adjust after hd-install! - - - Do *not* use the grml2hd bootoption if you do not know what you are doing! -1f diff --git a/old/templates/isolinux/isolinux.bin b/old/templates/isolinux/isolinux.bin deleted file mode 100644 index 179d248..0000000 Binary files a/old/templates/isolinux/isolinux.bin and /dev/null differ diff --git a/old/templates/isolinux/isolinux.cfg b/old/templates/isolinux/isolinux.cfg deleted file mode 100644 index a65d273..0000000 --- a/old/templates/isolinux/isolinux.cfg +++ /dev/null @@ -1,185 +0,0 @@ -# use this to control the bootup via a serial port -# SERIAL 0 9600 -DEFAULT grml -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce quiet BOOT_IMAGE=grml -# DEFAULT menu.c32 -TIMEOUT 300 -# ONTIMEOUT chain.32 hd0 0 -PROMPT 1 -DISPLAY boot.msg -F1 boot.msg -F2 f2 -F3 f3 -F4 f4 -F5 f5 -F6 f6 -F7 f7 -F8 f8 -F9 f9 -F10 f10 - -# LABEL menu -# MENU HIDE -# KERNEL menu.c32 - -MENU TITLE grml 0.8 - Boot Menu - -LABEL grml -MENU LABEL grml - Standard Bootup -MENU DEFAULT -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL splash -MENU LABEL grml - Bootsplash -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz quiet splash nomce BOOT_IMAGE=grml - -LABEL grml2hd -MENU LABEL grml2hd -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off initrd=minirt26.gz nomce BOOT_IMAGE=grml2hd - -LABEL debug -MENU LABEL debug -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz initcall_debug nomce BOOT_IMAGE=debug - -LABEL bootchart -MENU LABEL bootchart -KERNEL linux26 -APPEND ramdisk_size=100000 init=/sbin/bootchartd lang=us apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL vmware -MENU LABEL vmware -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off nousb nousb2 nofirewire vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=vmware - -LABEL grmlx -MENU LABEL grmlx -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off startx=wm-ng vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=vmware - -LABEL initng -MENU LABEL initng -KERNEL linux26 -APPEND ramdisk_size=100000 init=/sbin/initng lang=us apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL nofb -MENU LABEL grml without framebuffer -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal video=ofonly initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL expert -MENU LABEL expert -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=expert - -LABEL linux26 -MENU LABEL linux26 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL memtest -MENU LABEL memtest -KERNEL memtest -APPEND BOOT_IMAGE=memtest - -LABEL fb1280x1024 -MENU LABEL fb1280x1024 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=794 initrd=minirt26.gz nomce quiet BOOT_IMAGE=grml - -LABEL fb1024x768 -MENU LABEL fb1024x768 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce quiet BOOT_IMAGE=grml - -LABEL fb800x600 -MENU LABEL fb800x600 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=788 initrd=minirt26.gz nomce quiet BOOT_IMAGE=grml - -LABEL mika -MENU LABEL mika -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us vga=791 initrd=minirt26.gz nomce gmt tz=Europe/Vienna BOOT_IMAGE=grml - -LABEL jimmy -MENU LABEL jimmy -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us vga=791 initrd=minirt26.gz scandelay=3 nomce gmt tz=Europe/Vienna BOOT_IMAGE=grml - -LABEL failsafe -MENU LABEL failsafe -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init vga=normal video=ofonly noautoconfig lang=us atapicd noacpi nomodules acpi=off noagent nousb nohotplug noacpi noapm nopcmcia nosmp noscsi noagp nodma ide=nodma noswap nofstab nosound nogpm nosyslog nodhcp nocpu nodisc nomodem xmodule=vesa noautoconfig initrd=minirt26.gz BOOT_IMAGE=grml - -LABEL failsafe2 -MENU LABEL failsafe2 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us atapicd nosound noacpi noautoconfig acpi=off noscsi nodma ide=nodma noapm nousb nopcmcia nofirewire noagp nomce nodhcp xmodule=vesa initrd=minirt26.gz BOOT_IMAGE=grml - -LABEL forensic -MENU LABEL forensic -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init vga=791 lang=us nofstab noraid noautoconfig noswap raid=noautodetect initrd=minirt26.gz BOOT_IMAGE=grml - -LABEL m23 -MENU LABEL m23 -KERNEL m23 -APPEND devfs=nomount load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=25000 initrd=m23rt.gz root=/dev/ram0 rw - -LABEL grub -MENU LABEL grub -KERNEL memdisk -APPEND initrd=allinone.img - -LABEL dos -MENU LABEL dos -KERNEL memdisk -APPEND initrd=balder10.imz - -LABEL serial -MENU LABEL serial -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal video=vesafb:off initrd=minirt26.gz nomce BOOT_IMAGE=grml console=tty1 console=ttyS0,9600n8 - -LABEL userdef -MENU LABEL User defined -MENU HIDE -KERNEL linux26 -APPEND ############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################### -LABEL hda -MENU LABEL Boot First Harddrive (via chain.c32) -KERNEL chain.c32 -APPEND hd0 0 - -LABEL fd0 -MENU LABEL Boot First Floppy Drive (via chain.c32) -KERNEL chain.c32 -APPEND fd0 - -LABEL hd -MENU LABEL Boot First Harddrive -LOCALBOOT 0x80 - -LABEL hd1 -MENU LABEL Boot Second Harddrive -LOCALBOOT 0x81 - -LABEL hd2 -MENU LABEL Boot Third Harddrive -LOCALBOOT 0x82 - -LABEL hd3 -MENU LABEL Boot Fourth Harddrive -LOCALBOOT 0x83 - -LABEL floppy -MENU LABEL Boot First Floppy Drive -LOCALBOOT 0x0 - -LABEL next -MENU LABEL Next device -LOCALBOOT -1 diff --git a/old/templates/isolinux/logo.16 b/old/templates/isolinux/logo.16 deleted file mode 100644 index 6069d49..0000000 Binary files a/old/templates/isolinux/logo.16 and /dev/null differ diff --git a/old/templates/isolinux/memdisk b/old/templates/isolinux/memdisk deleted file mode 100644 index 208d582..0000000 Binary files a/old/templates/isolinux/memdisk and /dev/null differ diff --git a/old/templates/isolinux/memtest b/old/templates/isolinux/memtest deleted file mode 100644 index e1b88e4..0000000 Binary files a/old/templates/isolinux/memtest and /dev/null differ diff --git a/old/templates/isolinux/menu.c32 b/old/templates/isolinux/menu.c32 deleted file mode 100644 index c55708f..0000000 Binary files a/old/templates/isolinux/menu.c32 and /dev/null differ diff --git a/old/templates/isolinux/syslinux.cfg b/old/templates/isolinux/syslinux.cfg deleted file mode 100644 index 40ea2ff..0000000 --- a/old/templates/isolinux/syslinux.cfg +++ /dev/null @@ -1,152 +0,0 @@ -# use this to control the bootup via a serial port -# SERIAL 0 9600 -DEFAULT grml -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=791 initrd=minirt26.gz nomce quiet BOOT_IMAGE=grml -# DEFAULT menu.c32 -TIMEOUT 300 -# ONTIMEOUT chain.32 hd0 0 -PROMPT 1 -DISPLAY boot.msg -F1 boot.msg -F2 f2 -F3 f3 -F4 f4 -F5 f5 -F6 f6 -F7 f7 -F8 f8 -F9 f9 -F10 f10 - -# LABEL menu -# MENU HIDE -# KERNEL menu.c32 - -MENU TITLE grml 0.8 - Boot Menu - -LABEL grml -MENU LABEL grml - Standard Bootup -MENU DEFAULT -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL splash -MENU LABEL grml - Bootsplash -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=791 initrd=minirt26.gz quiet splash nomce BOOT_IMAGE=grml - -LABEL grml2hd -MENU LABEL grml2hd -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off initrd=minirt26.gz nomce BOOT_IMAGE=grml2hd - -LABEL debug -MENU LABEL debug -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=791 initrd=minirt26.gz initcall_debug nomce BOOT_IMAGE=debug - -LABEL bootchart -MENU LABEL bootchart -KERNEL linux26 -APPEND ramdisk_size=100000 init=/sbin/bootchartd lang=us usb apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL vmware -MENU LABEL vmware -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off nousb nousb2 nofirewire vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=vmware - -LABEL grmlx -MENU LABEL grmlx -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off startx=wm-ng vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=vmware - -LABEL initng -MENU LABEL initng -KERNEL linux26 -APPEND ramdisk_size=100000 init=/sbin/initng lang=us usb apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL nofb -MENU LABEL grml without framebuffer -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=normal video=ofonly initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL expert -MENU LABEL expert -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=expert - -LABEL linux26 -MENU LABEL linux26 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=791 initrd=minirt26.gz nomce BOOT_IMAGE=grml - -LABEL memtest -MENU LABEL memtest -KERNEL memtest -APPEND BOOT_IMAGE=memtest - -LABEL fb1280x1024 -MENU LABEL fb1280x1024 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=794 initrd=minirt26.gz nomce quiet BOOT_IMAGE=grml - -LABEL fb1024x768 -MENU LABEL fb1024x768 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=791 initrd=minirt26.gz nomce quiet BOOT_IMAGE=grml - -LABEL fb800x600 -MENU LABEL fb800x600 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=788 initrd=minirt26.gz nomce quiet BOOT_IMAGE=grml - -LABEL mika -MENU LABEL mika -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb vga=791 initrd=minirt26.gz nomce gmt tz=Europe/Vienna BOOT_IMAGE=grml - -LABEL jimmy -MENU LABEL jimmy -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb vga=791 initrd=minirt26.gz scandelay=3 nomce gmt tz=Europe/Vienna BOOT_IMAGE=grml - -LABEL failsafe -MENU LABEL failsafe -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init vga=normal video=ofonly noautoconfig lang=us usb atapicd noacpi nomodules acpi=off noagent nousb nohotplug noacpi noapm nopcmcia nosmp noscsi noagp nodma ide=nodma noswap nofstab nosound nogpm nosyslog nodhcp nocpu nodisc nomodem xmodule=vesa noautoconfig initrd=minirt26.gz BOOT_IMAGE=grml - -LABEL failsafe2 -MENU LABEL failsafe2 -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb atapicd nosound noacpi noautoconfig acpi=off noscsi nodma ide=nodma noapm nousb nopcmcia nofirewire noagp nomce nodhcp xmodule=vesa initrd=minirt26.gz BOOT_IMAGE=grml - -LABEL forensic -MENU LABEL forensic -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init vga=791 lang=us usb nofstab noraid noautoconfig noswap raid=noautodetect initrd=minirt26.gz BOOT_IMAGE=grml - -LABEL m23 -MENU LABEL m23 -KERNEL m23 -APPEND devfs=nomount load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=25000 initrd=m23rt.gz root=/dev/ram0 rw - -LABEL grub -MENU LABEL grub -KERNEL memdisk -APPEND initrd=allinone.img - -LABEL dos -MENU LABEL dos -KERNEL memdisk -APPEND initrd=balder10.imz - -LABEL serial -MENU LABEL serial -KERNEL linux26 -APPEND ramdisk_size=100000 init=/etc/init lang=us usb apm=power-off vga=normal video=vesafb:off initrd=minirt26.gz nomce BOOT_IMAGE=grml console=tty1 console=ttyS0,9600n8 - -LABEL userdef -MENU LABEL User defined -MENU HIDE -KERNEL linux26 -APPEND ###############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################