From: grml User Date: Sat, 15 Sep 2007 19:55:34 +0000 (+0200) Subject: Update of grml_cd stuff, several new files and features X-Git-Tag: 0.0.1~62 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=357aeccc20289a8b31a4d50ac718b9acc4e65c22 Update of grml_cd stuff, several new files and features --- diff --git a/debian/control b/debian/control index 8536777..33cee5b 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ XS-Vcs-Browser: http://hg.grml.org/grml-live/ Package: grml-live Architecture: all -Depends: fai-client, fai-server, syslinux [i386], memtest86+ [i386] +Depends: fai-client, fai-server, syslinux [i386], memtest86+ [i386], squashfs-tools, wget Suggests: fai-doc Description: build system for creating a grml (based) live-cd This package provides the build system for creating diff --git a/docs/grml-live.txt b/docs/grml-live.txt index 003589c..69b874f 100644 --- a/docs/grml-live.txt +++ b/docs/grml-live.txt @@ -46,9 +46,9 @@ Options -c **CLASSES**:: -Specify the CLASSES to be used for building the ISO via fai. -By default only the class GRML is assumed, resulting in a small base system (being -about ~170MB ISO size). +Specify the CLASSES to be used for building the ISO via fai. By default only +the classes GRML and I386 are assumed, resulting in a small base system (being +about ~150MB ISO size). -t **TARGET_DIRECTORY**:: @@ -96,8 +96,9 @@ the simplicity in the build process. The main and base class provided by grml-live is named GRML. It's strongly recommended to **always** use the class GRML when building an ISO using -grml-live. The following files and directories are relevant for class GRML by -default: +grml-live as well as the architecture dependend class (being 'I386' for x86_32 +currently only). The following files and directories are relevant for class GRML +by default: /etc/grml/fai/config/scripts/GRML/ /etc/grml/fai/config/debconf/GRML @@ -201,7 +202,9 @@ Requirements for the build system * any Debian based system should be sufficient (if not please send a bug report), for example a grml2hd harddisk installation ships all you need -* enough free disk space, at least 1GB are required for a minimal grml-live run +* enough free disk space, at least 700MB are required for a minimal grml-live +run (~400MB for the chroot [$CHROOT_TARGET], ~150MB for the build target +[$BUILD_TARGET] and ~150MB for the resulting ISO [$ISO_TARGET]). * fast network access for retreiving the Debian packages used for creating the chroot (check out "local mirror" and "NFSROOT" to workaround this problem as far @@ -217,11 +220,21 @@ single run (boot/isolinux, mksquashfs and mkisofs stuff is missing currently) * explain (and provide configuration for) the use of NFSROOT -* support setting stuff like ISO name, version,... +* support setting stuff like ISO name, version,... (especially for stuff inside +x86_files/boot/isolinux) + +* identify all packages that are arch specific * support different flavours and architectures of Debian (currently it defaults to Debian/stable x86_32) +* use hooks of FAI in grml-live script? + +* the GRML class(es) should send output as used inside FAI as well (so it's not +as verbose unless you specify it) + +* provide possibility for cleanup of all created build directories + Bugs ---- diff --git a/etc/grml/fai/config/package_config/GRML b/etc/grml/fai/config/package_config/GRML index cf82cb7..7a8dc28 100644 --- a/etc/grml/fai/config/package_config/GRML +++ b/etc/grml/fai/config/package_config/GRML @@ -25,7 +25,6 @@ grml-etc grml-etc-core grml-files grml-hwinfo -grml-kerneladdons-2.6.22 linux-image-2.6.22-grml grml-laptop grml-mercurial-utils grml-network @@ -58,7 +57,6 @@ nscd openssh-client openssh-server pciutils usbutils postfix -powernowd rdate resolvconf rsh-client @@ -70,3 +68,7 @@ tcsh time usbutils wireless-tools wpasupplicant + +PACKAGES aptitude I386 +grml-kerneladdons-2.6.22 linux-image-2.6.22-grml aufs-modules-2.6.22-grml +powernowd diff --git a/etc/grml/fai/config/scripts/GRML/10-build-initramfs b/etc/grml/fai/config/scripts/GRML/10-build-initramfs index 38c0ba2..7100a7b 100755 --- a/etc/grml/fai/config/scripts/GRML/10-build-initramfs +++ b/etc/grml/fai/config/scripts/GRML/10-build-initramfs @@ -3,6 +3,7 @@ set -u set -e cp /etc/grml/fai/live-initramfs/live.conf "$target/etc/live.conf" +cp /etc/grml/fai/live-initramfs/grml-script.init-top "$target/usr/share/initramfs-tools/scripts/init-top/grml FILE=$(ls -1 "$target"/boot/vmlinuz-* | sort -r | head -1) KERNELVERSION=$(echo "${FILE##$target/boot/vmlinuz-}") chroot $target update-initramfs -c -t -k $KERNELVERSION diff --git a/etc/grml/fai/grml/grml_cleanup_chroot b/etc/grml/fai/grml/grml_cleanup_chroot index 04bb3bb..40bca06 100755 --- a/etc/grml/fai/grml/grml_cleanup_chroot +++ b/etc/grml/fai/grml/grml_cleanup_chroot @@ -159,9 +159,9 @@ einfo "Unmounting proc, /dev/pts, /dev/capi" umount -a 2>/dev/null eend $? -einfo "Removing initrd-images" - rm -f /boot/initrd.img-* -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 diff --git a/etc/grml/grml-live.conf b/etc/grml/grml-live.conf index e7a2f83..c46f34e 100644 --- a/etc/grml/grml-live.conf +++ b/etc/grml/grml-live.conf @@ -26,7 +26,7 @@ ISO_TARGET="/dev/shm/" ARCH="x86" # which FAI classes do you want to use by default? -CLASSES="GRML" +CLASSES="GRML,I386" # directory of configuration files for grml-live's FAI: GRML_FAI_CONFIG=/etc/grml/fai diff --git a/examples/mkdebmirror b/examples/mkdebmirror new file mode 100644 index 0000000..c8e255a --- /dev/null +++ b/examples/mkdebmirror @@ -0,0 +1,43 @@ +#!/bin/sh +# $Id: mkdebmirror 4018 2006-09-25 12:13:17Z lange $ +# Thomas Lange, lange@informatik.uni-koeln.de, (c) 2001-2005 +# create partitial debian mirror using command debmirror(1) and rsync + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - +rsync_disks() { + # get the boot disks + rsync --delete -av $2::debian/dists/$1/main/disks-$arch $destdir/debian/dists/$1/main/ +} +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - +update_from() { + # update local mirror from a host + host=$1 + defopt="$allopt --host=$host --dist=$dist" + echo "------------------ create mirror for debian ------------------" + debmirror --getcontents $destdir/debian $defopt +} + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# main program +# here you have to adjust the hostnames of the mirror and the names of the distributions +debug="$@" +arch=i386 +dist=etch +# dist=etch,etch-proposed-updates +destdir=/var/www/debian_mirror +allopt="$debug --ignore-missing-release --ignore-release-gpg --passive --nosource --arch=$arch --ignore=disks-$arch/" + +# first sync from a mirror near to you! +# please ask the mirror admin(s) for permission before downloading +# several GB of data! +update_from ftp.de.debian.org + +# since this mirror is not always up to date, sync the rest from an official mirror +# update_from ftp.de.debian.org + +# even one should not mirror the security site, but I will do it. +echo "------------------ create mirror for debian-security ------------------" +debmirror $destdir/debian-security $allopt --host=security.debian.org -r debian-security --section main,contrib,non-free -d etch/updates + +# get installation disk images via rsync +#rsync_disks etch ftp2.de.debian.org diff --git a/examples/reprepro/README b/examples/reprepro/README new file mode 100644 index 0000000..b0daac7 --- /dev/null +++ b/examples/reprepro/README @@ -0,0 +1,2 @@ +Update pool via running 'reprepro -b . update' +See reprepro(1) for more details. diff --git a/examples/reprepro/conf/distributions b/examples/reprepro/conf/distributions new file mode 100644 index 0000000..93127e9 --- /dev/null +++ b/examples/reprepro/conf/distributions @@ -0,0 +1,10 @@ +Origin: Debian +Label: Debian-All +Suite: stable +Codename: etch +Version: 4.0 +Architectures: i386 +Components: main contrib non-free +Description: Debian +Update: debian +# SignWith: yes diff --git a/examples/reprepro/conf/updates b/examples/reprepro/conf/updates new file mode 100644 index 0000000..f544c62 --- /dev/null +++ b/examples/reprepro/conf/updates @@ -0,0 +1,4 @@ +Name: debian +Method: http://ftp.de.debian.org/debian/ +# Method: http://localhost/debian/ +# Fallback: http://snapshot.debian.net/archive/2007/04/02/debian/ diff --git a/grml-live b/grml-live index 93b4bd4..5e36013 100755 --- a/grml-live +++ b/grml-live @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Sat Sep 15 20:58:00 CEST 2007 [mika] +# Latest change: Sat Sep 15 21:36:04 CEST 2007 [mika] ################################################################################ # read configuration files, set some misc variables {{{ @@ -110,8 +110,11 @@ if [ -z "$FORCE" ] ; then echo echo "$PN - check your configuration (or invoke using -F to force execution without prompting)" echo - echo " FAI classes: $CLASSES" - echo " target / output directory: $CHROOT_TARGET" + echo " FAI classes: $CLASSES" + echo " chroot target: $CHROOT_TARGET" + echo " build target: $BUILD_TARGET" + echo " ISO target: $ISO_TARGET" + [ -n "$FAI_ARGS" ] && echo " additional arguments for FAI: $FAI_ARGS" echo echo -n "Is this ok for you? [y/N] " @@ -133,25 +136,26 @@ fi # execute FAI {{{ if [ -d "$CHROOT_TARGET" ] ; then - echo "$CHROOT_TARGET assumes already, skipping the 'fai dirnstall' stage therefore." + echo " [x] $CHROOT_TARGET exists already, skipping the stage 'fai dirnstall'" else mkdir "$CHROOT_TARGET" || bailout 5 "Problem with creating $CHROOT_TARGET for FAI" fai $VERBOSE -C "$GRML_FAI_CONFIG" -c"$CLASSES" dirinstall "$CHROOT_TARGET" $FAI_ARGS fi # }}} -if [ -d "$BUILD_TARGET" ] ; then - echo "$BUILD_TARGET assumes already, skipping the 'squashfs' stage therefore." -else - mkdir -p "$BUILD_TARGET" || bailout 6 "Problem with creating $BUILD_TARGET for squashfs" +mkdir -p "$BUILD_TARGET" || bailout 6 "Problem with creating $BUILD_TARGET for stage ARCH" - if [ "$ARCH" = x86 ] ; then +# x86: +if [ "$ARCH" = x86 ] ; then + if [ -d "$BUILD_TARGET"/boot/isolinux ] ; then + echo " [x] $BUILD_TARGET/boot/isolinux exists already - skipping stage 'boot/isolinux'" + continue + else mkdir -p "$BUILD_TARGET"/boot/isolinux mkdir "$BUILD_TARGET"/GRML - mkdir "$BUILD_TARGET"/live cp /boot/memtest86+.bin "$BUILD_TARGET"/boot/isolinux/memtest cp "$CHROOT_TARGET"/boot/initrd* "$BUILD_TARGET"/boot/isolinux/initrd.gz - cp "$CHROOT_TARGET"/boot/vmlinuz "$BUILD_TARGET"/boot/isolinux/linux26 + cp "$CHROOT_TARGET"/boot/vmlinuz* "$BUILD_TARGET"/boot/isolinux/linux26 cp /usr/lib/syslinux/chain.c32 "$BUILD_TARGET"/boot/isolinux/ cp /usr/lib/syslinux/isolinux.bin "$BUILD_TARGET"/boot/isolinux/ cp /usr/lib/syslinux/memdisk "$BUILD_TARGET"/boot/isolinux/ @@ -167,27 +171,50 @@ else # minirt26.gz # boot.cat if [ -n "$WINDOWS_BINARIES" ] ; then - mkdir "$BUILD_TARGET"/windows - ( cd "$BUILD_TARGET"/windows - for file in pageant plink pscp psftp putty puttygen ; do - wget $WINDOWS_BINARIES/$file - done ) + if [ -d "$BUILD_TARGET"/windows ] ; then + echo " [x] $BUILD_TARGET/windows exists already - skipping stage WINDOWS_BINARIES" + return 0 + else + mkdir "$BUILD_TARGET"/windows + ( cd "$BUILD_TARGET"/windows + for file in pageant plink pscp psftp putty puttygen ; do + wget ${WINDOWS_BINARIES}/${file}.exe + done ) + fi fi - elif [ "$ARCH" = amd64 ] ; then - echo 'Warning: gebi, it is your turn. :)'>2 - elif [ "$ARCH" = ppc ] ; then - echo 'Warning: formorer, it is your turn. :)'>2 - else - echo 'Warning: Unsupported ARCH, sorry. Want to support it? Contribute!'>&2 fi +# amd64: +elif [ "$ARCH" = amd64 ] ; then + echo 'Warning: gebi, it is your turn. :)'>2 +# ppc: +elif [ "$ARCH" = ppc ] ; then + echo 'Warning: formorer, it is your turn. :)'>2 +# unsuported: +else + echo 'Warning: Unsupported ARCH, sorry. Want to support it? Contribute!'>&2 +fi + +if [ -d "$BUILD_TARGET"/live ] ; then + echo " [x] $BUILD_TARGET/live exists already, skipping stage 'squashfs'" +else + mkdir "$BUILD_TARGET"/live + mksquashfs $CHROOT_TARGET/* $BUILD_TARGET/live/grml.squashfs -noappend fi if [ -d "$ISO_TARGET" ] ; then - echo "$ISO_TARGET assumes already, skipping the 'iso build' stage therefore." + echo " [x] $ISO_TARGET exists already, skipping the stage 'iso build'" else - mkdir -p "$ISO_TARGET" || bailout 6 "Problem with creating $ISO_TARGET for squashfs" + mkdir -p "$ISO_TARGET" || bailout 6 "Problem with creating $ISO_TARGET for stage 'iso build'" + ( cd "$BUILD_TARGET" && + mkisofs -V "Debian/etch grml" -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 "$ISO_TARGET"/grml_0.0-1.iso . + ) + fi +echo " [*] Sucessfully finished execution of $PN" bailout 0 ## END OF FILE ################################################################# diff --git a/x86_files/boot/isolinux/allinone.img b/x86_files/boot/isolinux/allinone.img new file mode 100644 index 0000000..5fdb5a6 Binary files /dev/null and b/x86_files/boot/isolinux/allinone.img differ diff --git a/x86_files/boot/isolinux/balder10.imz b/x86_files/boot/isolinux/balder10.imz new file mode 100644 index 0000000..3534898 Binary files /dev/null and b/x86_files/boot/isolinux/balder10.imz differ diff --git a/x86_files/boot/isolinux/boot-beep.msg b/x86_files/boot/isolinux/boot-beep.msg new file mode 100644 index 0000000..950ad26 --- /dev/null +++ b/x86_files/boot/isolinux/boot-beep.msg @@ -0,0 +1,5 @@ +17 logo.16 + +Some information and boot options available via keys F2 - F10. http://grml.org/ +grml 0.0-1 - Release Codename "grml-live rocks! http://grml.org - 2007-09-15 + diff --git a/x86_files/boot/isolinux/boot.msg b/x86_files/boot/isolinux/boot.msg new file mode 100644 index 0000000..f52777a --- /dev/null +++ b/x86_files/boot/isolinux/boot.msg @@ -0,0 +1,4 @@ +17 logo.16 + +Some information and boot options available via keys F2 - F10. http://grml.org/ +grml 0.0-1 - Release Codename "grml-live rocks! http://grml.org - 2007-09-15 diff --git a/x86_files/boot/isolinux/f10 b/x86_files/boot/isolinux/f10 new file mode 100644 index 0000000..9adad4c --- /dev/null +++ b/x86_files/boot/isolinux/f10 @@ -0,0 +1,24 @@ + 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/x86_files/boot/isolinux/f2 b/x86_files/boot/isolinux/f2 new file mode 100644 index 0000000..9ab4ba5 --- /dev/null +++ b/x86_files/boot/isolinux/f2 @@ -0,0 +1,23 @@ + 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/x86_files/boot/isolinux/f3 b/x86_files/boot/isolinux/f3 new file mode 100644 index 0000000..188b387 --- /dev/null +++ b/x86_files/boot/isolinux/f3 @@ -0,0 +1,23 @@ + grml - Linux for sysadmins and users of texttools 09F307 + +70 This edition of grml boots with kernel 2.6.22-grml by default. + The following options can be used at the boot:-prompt: + + grml [options, list via F4-F10] grml default running 2.6.22 + 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/x86_files/boot/isolinux/f4 b/x86_files/boot/isolinux/f4 new file mode 100644 index 0000000..d57aa68 --- /dev/null +++ b/x86_files/boot/isolinux/f4 @@ -0,0 +1,23 @@ + 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/x86_files/boot/isolinux/f5 b/x86_files/boot/isolinux/f5 new file mode 100644 index 0000000..5f3f76c --- /dev/null +++ b/x86_files/boot/isolinux/f5 @@ -0,0 +1,23 @@ + 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|ch|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/x86_files/boot/isolinux/f6 b/x86_files/boot/isolinux/f6 new file mode 100644 index 0000000..a154ca5 --- /dev/null +++ b/x86_files/boot/isolinux/f6 @@ -0,0 +1,23 @@ + 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 / grml maxcpus=1 + + Disable framebuffer if you get a black/blank screen or + notice problems with your display: + + grml vga=normal + +1f diff --git a/x86_files/boot/isolinux/f7 b/x86_files/boot/isolinux/f7 new file mode 100644 index 0000000..529c99c --- /dev/null +++ b/x86_files/boot/isolinux/f7 @@ -0,0 +1,23 @@ + 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 / maxcpus=1 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/x86_files/boot/isolinux/f8 b/x86_files/boot/isolinux/f8 new file mode 100644 index 0000000..5bd9429 --- /dev/null +++ b/x86_files/boot/isolinux/f8 @@ -0,0 +1,23 @@ + 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/x86_files/boot/isolinux/f9 b/x86_files/boot/isolinux/f9 new file mode 100644 index 0000000..77944d9 --- /dev/null +++ b/x86_files/boot/isolinux/f9 @@ -0,0 +1,23 @@ + 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/x86_files/boot/isolinux/isolinux.cfg b/x86_files/boot/isolinux/isolinux.cfg new file mode 100644 index 0000000..10fb62d --- /dev/null +++ b/x86_files/boot/isolinux/isolinux.cfg @@ -0,0 +1,202 @@ +# use this to control the bootup via a serial port +# SERIAL 0 9600 +DEFAULT grml +APPEND lang=us apm=power-off vga=791 quiet initrd=initrd.gz boot=live nomce +# 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 1.0 - Boot Menu + +LABEL grml +MENU LABEL grml - Standard Bootup +MENU DEFAULT +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 quiet initrd=initrd.gz boot=live nomce +# APPEND lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL live +MENU LABEL live +MENU DEFAULT +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 initrd=initrd.gz boot=live nomce + +LABEL old +MENU LABEL old +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 splash +MENU LABEL grml - Bootsplash +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live splash nomce + +LABEL grml2hd +MENU LABEL grml2hd +KERNEL linux26 +APPEND lang=us apm=power-off live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL debug +MENU LABEL debug +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML verbose debug=vc debug initrd=initrd.gz boot=live initcall_debug nomce + +LABEL bootchart +MENU LABEL bootchart +KERNEL linux26 +APPEND init=/sbin/bootchartd lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL vmware +MENU LABEL vmware +KERNEL linux26 +APPEND lang=us apm=power-off nousb nousb2 nofirewire vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL qemu +MENU LABEL qemu +KERNEL linux26 +APPEND lang=us apm=power-off nousb nousb2 nofirewire vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce qemu + +LABEL grmlx +MENU LABEL grmlx +KERNEL linux26 +APPEND lang=us apm=power-off startx=wm-ng vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL initng +MENU LABEL initng +KERNEL linux26 +APPEND init=/sbin/initng lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL nofb +MENU LABEL grml without framebuffer +KERNEL linux26 +APPEND lang=us apm=power-off vga=normal video=ofonly live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL expert +MENU LABEL expert +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML verbose initrd=initrd.gz boot=live nomce + +LABEL linux26 +MENU LABEL linux26 +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL memtest +MENU LABEL memtest +KERNEL memtest +APPEND BOOT_IMAGE=memtest + +LABEL fb1280x1024 +MENU LABEL fb1280x1024 +KERNEL linux26 +APPEND lang=us apm=power-off vga=794 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL fb1024x768 +MENU LABEL fb1024x768 +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL fb800x600 +MENU LABEL fb800x600 +KERNEL linux26 +APPEND lang=us apm=power-off vga=788 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL mika +MENU LABEL mika +KERNEL linux26 +APPEND lang=us vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce gmt tz=Europe/Vienna + +LABEL jimmy +MENU LABEL jimmy +KERNEL linux26 +APPEND lang=us vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live scandelay=3 nomce gmt tz=Europe/Vienna + +LABEL failsafe +MENU LABEL failsafe +KERNEL linux26 +APPEND 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 live-media-path=/GRML quiet initrd=initrd.gz boot=live + +LABEL failsafe2 +MENU LABEL failsafe2 +KERNEL linux26 +APPEND lang=us atapicd nosound noacpi noautoconfig acpi=off noscsi nodma ide=nodma noapm nousb nopcmcia nofirewire noagp nomce nodhcp xmodule=vesa live-media-path=/GRML quiet initrd=initrd.gz boot=live + +LABEL forensic +MENU LABEL forensic +KERNEL linux26 +APPEND vga=791 lang=us nofstab noraid noautoconfig noswap raid=noautodetect live-media-path=/GRML quiet initrd=initrd.gz boot=live + +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 lang=us apm=power-off vga=normal video=vesafb:off live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +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/x86_files/boot/isolinux/logo.16 b/x86_files/boot/isolinux/logo.16 new file mode 100644 index 0000000..6069d49 Binary files /dev/null and b/x86_files/boot/isolinux/logo.16 differ diff --git a/x86_files/boot/isolinux/syslinux.cfg b/x86_files/boot/isolinux/syslinux.cfg new file mode 100644 index 0000000..77a8230 --- /dev/null +++ b/x86_files/boot/isolinux/syslinux.cfg @@ -0,0 +1,169 @@ +# use this to control the bootup via a serial port +# SERIAL 0 9600 +DEFAULT grml +APPEND lang=us apm=power-off vga=791 quiet initrd=initrd.gz boot=live nomce +# 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 1.0 - Boot Menu + +LABEL grml +MENU LABEL grml - Standard Bootup +MENU DEFAULT +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 quiet initrd=initrd.gz boot=live nomce +# APPEND lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL live +MENU LABEL live +MENU DEFAULT +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 initrd=initrd.gz boot=live nomce + +LABEL old +MENU LABEL old +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 splash +MENU LABEL grml - Bootsplash +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live splash nomce + +LABEL grml2hd +MENU LABEL grml2hd +KERNEL linux26 +APPEND lang=us apm=power-off live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL debug +MENU LABEL debug +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML verbose debug=vc debug initrd=initrd.gz boot=live initcall_debug nomce + +LABEL bootchart +MENU LABEL bootchart +KERNEL linux26 +APPEND init=/sbin/bootchartd lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL vmware +MENU LABEL vmware +KERNEL linux26 +APPEND lang=us apm=power-off nousb nousb2 nofirewire vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL qemu +MENU LABEL qemu +KERNEL linux26 +APPEND lang=us apm=power-off nousb nousb2 nofirewire vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce qemu + +LABEL grmlx +MENU LABEL grmlx +KERNEL linux26 +APPEND lang=us apm=power-off startx=wm-ng vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL initng +MENU LABEL initng +KERNEL linux26 +APPEND init=/sbin/initng lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL nofb +MENU LABEL grml without framebuffer +KERNEL linux26 +APPEND lang=us apm=power-off vga=normal video=ofonly live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL expert +MENU LABEL expert +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML verbose initrd=initrd.gz boot=live nomce + +LABEL linux26 +MENU LABEL linux26 +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL memtest +MENU LABEL memtest +KERNEL memtest +APPEND BOOT_IMAGE=memtest + +LABEL fb1280x1024 +MENU LABEL fb1280x1024 +KERNEL linux26 +APPEND lang=us apm=power-off vga=794 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL fb1024x768 +MENU LABEL fb1024x768 +KERNEL linux26 +APPEND lang=us apm=power-off vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL fb800x600 +MENU LABEL fb800x600 +KERNEL linux26 +APPEND lang=us apm=power-off vga=788 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL mika +MENU LABEL mika +KERNEL linux26 +APPEND lang=us vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce gmt tz=Europe/Vienna + +LABEL jimmy +MENU LABEL jimmy +KERNEL linux26 +APPEND lang=us vga=791 live-media-path=/GRML quiet initrd=initrd.gz boot=live scandelay=3 nomce gmt tz=Europe/Vienna + +LABEL failsafe +MENU LABEL failsafe +KERNEL linux26 +APPEND 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 live-media-path=/GRML quiet initrd=initrd.gz boot=live + +LABEL failsafe2 +MENU LABEL failsafe2 +KERNEL linux26 +APPEND lang=us atapicd nosound noacpi noautoconfig acpi=off noscsi nodma ide=nodma noapm nousb nopcmcia nofirewire noagp nomce nodhcp xmodule=vesa live-media-path=/GRML quiet initrd=initrd.gz boot=live + +LABEL forensic +MENU LABEL forensic +KERNEL linux26 +APPEND vga=791 lang=us nofstab noraid noautoconfig noswap raid=noautodetect live-media-path=/GRML quiet initrd=initrd.gz boot=live + +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 lang=us apm=power-off vga=normal video=vesafb:off live-media-path=/GRML quiet initrd=initrd.gz boot=live nomce + +LABEL userdef +MENU LABEL User defined +MENU HIDE +KERNEL linux26 +APPEND ###############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################