7 grml-live - build framework based on FAI for generating a grml and Debian based
8 Linux Live system (CD/ISO)
13 grml-live [-a <architecture>] [-c <classe[s]>] [-C <configfile>] [-g
14 <grml_name>] [-i <iso_name> ] [-o <output_directory>] [-r <release_name>] [-s
15 <suite>] [-t <template_directory>] [-v <version_number>] [-bBFhquVz]
17 CAUTION: Please check out <<current_state,the 'Current state of grml-live with
18 squashfs-tools and kernel' section>> for details about current state of involved
19 tools before starting with grml-live or if you encounter any problems.
24 grml-live provides the build system for creating a grml and Debian based Linux
25 Live-CD. The build system is based on
26 link:http://www.informatik.uni-koeln.de/fai/[FAI] (Fully Automatic
27 Installation). grml-live uses the "fai dirinstall" feature to generate a chroot
28 system based on the class concept of FAI (see later sections for further
29 details) and provides the framework to be able to generate a full-featured ISO.
30 It does not use all the FAI features by default though and you don't have to
31 know FAI to be able to use it.
33 The use of FAI gives you the flexibility to choose the packages you would like
34 to include on your very own Linux Live-CD without having to deal with all the
35 details of a build process.
37 CAUTION: grml-live does **not** use /etc/fai for configuration but instead
38 provides and uses /etc/grml/fai. This ensures that it does not clash with
39 default FAI configuration and packages, so you can use grml-live and FAI
40 completely independent at the same time!
44 Please notice that you should have a fast network connection as all the Debian
45 packages will be downloaded and installed via network. If you want to use a
46 local mirror (strongly recommended if you plan to use grml-live more than once)
47 checkout mkdebmirror (see /usr/share/doc/grml-live/examples/mkdebmirror),
48 debmirror(1), reprepro(1) (see /usr/share/doc/grml-live/examples/reprepro/ for a
49 sample configuration), apt-cacher(1) and approx(8). To avoid downloading the
50 base system again and again check out FAI's NFSROOT (see FAQ of this document
58 Use the specified architecture instead of the currently running one. This
59 allows building a 32bit system on a 64bit host (though you can't build a 64bit
60 system on a 32bit system/kernel of course). Please notice that real
61 crosscompiling (like building a ppc system on x86) isn't possible due to the
62 nature and the need of working in a chroot. Currently supported values: i386
67 Build the ISO without updating the chroot via FAI. This option is useful for
68 example when working on stable releases: if you have a working base
69 system/chroot and do not want to execute any further updates (via "-u" option)
70 but intend to only build the ISO.
74 Build the ISO without touching the chroot at all. This option is useful if
75 you modified anything that FAI or grml-live might adjust via grml's FAI
76 scripts. It's like the '-b' option but even more advanced. Use only if you
77 really know that you do not want to update the chroot.
81 Specify the CLASSES to be used for building the ISO via FAI. By default only
82 the classes GRMLBASE, GRML_MEDIUM and I386 are assumed, resulting in a small base
83 system (being about ~180MB total ISO size). If using a non-I386 system (like
84 amd64) you should specify the appropriate architecture as well. Additionally you
85 can specify a class providing a grml-kernel (see
86 <<classes,the 'CLASSES' section in this document>> for details about available classes).
87 So instead of GRML_MEDIUM you can also use GRML_SMALL and GRML_FULL.
89 -C **CONFIGURATION_FILE**::
91 The specified file is used as configuration file for grml-live. By default
92 /etc/grml/grml-live.conf is used for main configuration. If a file named
93 /etc/grml/grml-live.local exists it is used as well (sourced after reading
94 /etc/grml/grml-live.conf to allow overriding settings). As a last option the
95 specified configuration file is sourced so it is possible to override settings
96 of /etc/grml/grml-live.conf as well as of /etc/grml/grml-live.local. Please
97 notice that all configuration files have to be adjusted during execution of
98 grml-live, so please make sure you use /etc/grml/grml-live.conf as a base for
99 your own configuration file. Please also notice that the configuration file
100 specified via this option is **not** (yet) supported inside the
101 scripts/hooks/classes at /etc/grml/fai/config. Instead use
102 /etc/grml/grml-live.conf and/or /etc/grml/grml-live.local for configuration
103 stuff used inside /etc/grml/fai/config.
107 Force execution and do not prompt for acknowledgment of configuration.
111 Set the grml flavour name. Common usage examples: grml, grml-small, grml64.
112 Please do NOT use blanks and any special characters like '/', ';' inside
113 GRML_NAME, otherwise you might notice problems with booting.
117 Display short usage information and exit.
121 Specify name of ISO which will be available inside $OUTPUT_DIRECTORY/grml_isos
124 -o **OUTPUT_DIRECTORY**::
126 Main output directory of the build process of FAI. Some directories are created
127 inside this target directory, being: grml_cd (where the files for creating the
128 ISO are located, including the compressed squashfs file), grml_chroot (the
129 chroot system) and grml_isos (where the resulting ISO is stored).
133 Build the ISO without (re-)creating the squashfs compressed file using mksquashfs.
134 This option is useful if you just want to update parts outside the chroot in the ISO.
135 Consider combining this option with the build-only option '-b'.
139 Specify name of the release.
143 Specify the Debian suite you want to use for your live-system. Defaults to
144 "etch" (being current Debian/stable). Supported values are: etch, lenny, sid.
146 -t **TEMPLATE_DIRECTORY**::
148 Specify place of the templates used for building the ISO. By default
149 (and if not manually specified) this is /usr/share/grml-live/templates/.
153 Update existing chroot instead of rebuilding it from scratch. This option is
154 based on the softupdate feature of FAI.
156 -v **VERSION_NUMBER**::
158 Specify version number of the release.
162 Increase verbosity in the build process.
166 Use ZLIB instead of LZMA compression in mksquashfs part of the build process.
171 To get a small, Debian-stable and grml-based Live-CD using /grml/grml-live
172 as build and output directory just run:
176 To get a small Debian-unstable and grml-small based Live-CD using
177 /home/mika/grml-live as build and output directory just use:
179 # grml-live -s sid -c GRMLBASE,GRML_SMALL,I386 -o /home/mika/grml-live
181 To get a medium sized, Debian-unstable and grml-based Live-CD for i386
182 architecture using /grml/grml-live as build and output directory just run:
184 # grml-live -s sid -a i386 -c GRMLBASE,GRML_MEDIUM,I386
186 To get a small, Debian-unstable and grml-based Live-CD using /tmp as build and
187 output directory and use grml_0.0-3.iso as ISO name (placed inside
188 /tmp/grml_isos) just invoke:
190 # grml-live -o /tmp -c GRMLBASE,GRML_SMALL,I386 -s sid -i grml_0.0-3.iso
194 If you have about 700MB of free space inside /dev/shm (being a tmpfs, usually
195 you should have >=1GB of RAM) just run "mount -o remount,suid,dev,rw /dev/shm"
196 and use /dev/shm as build and output directory - resulting in very fast build
197 process. But please be aware of the fact that rebooting your system will result
198 in an empty /dev/shm, so please use another directory for $CHROOT_OUTPUT,
199 $BUILD_OUTPUT and $ISO_OUTPUT if you plan to create more persistent output. :)
201 Main features of grml-live
202 --------------------------
204 * create a grml-/Debian-based Linux Live-CD with one single command
206 * class based concept, providing a maximum of flexibility
208 * supports integration of own hooks, scripts and configuration
210 * supports use and integration of own Software and/or Kernels via simple use of
213 * native support of FAI features
215 * multi-arch support (work in progress)
220 grml-live uses FAI and its class based concept for adjusting configuration and
221 setup according to your needs. This gives you flexibility and strength without
222 losing the simplicity in the build process.
224 The main and base class provided by grml-live is named GRMLBASE. It's strongly
225 recommended to **always** use the class GRMLBASE when building an ISO using
226 grml-live, as well as the architecture dependent class which provides the kernel
227 (being 'I386' for x86_32 and 'AMD64' for x86_64) and a GRML_* class (like
228 GRML_SMALL, GRML_MEDIUM or GRML_FULL). The following files and directories are
229 relevant for class GRMLBASE by default:
231 /etc/grml/fai/config/scripts/GRMLBASE/
232 /etc/grml/fai/config/debconf/GRMLBASE
233 /etc/grml/fai/config/class/GRMLBASE.var
234 /etc/grml/fai/config/hooks/instsoft.GRMLBASE
235 /etc/grml/fai/config/package_config/GRMLBASE
237 Take a look at the next section for information about the concept of those
240 If you want to use your own configuration, extend an existing configuration
241 and/or add additional packages to your ISO just invent a new class (or extend an
242 existing one). For example if you want to use your own class named "FOOBAR" just
243 extend CLASSES="GRMLBASE,GRML_SMALL,I386" inside /etc/grml/grml-live.conf to
244 CLASSES="GRMLBASE,GRML_SMALL,I386,FOOBAR" or invoke grml-live using the classes
245 option: "grml-live -c GRMLBASE,GRML_SMALL,I386,FOOBAR ...".
247 More details regarding the class concept can be found in the documentation of
248 FAI itself (being available at /usr/share/doc/fai-doc/).
255 The package selection part of the classes can be found in
256 /etc/grml/fai/config/package_config whereas some further classes are defined for
257 example in /etc/grml/fai/config/scripts/ so specific feature sets can be
258 selected. The following classes are predefined:
260 * DEBORPHAN: get rid of all packages listed in output of Deborphan
262 * GRMLBASE: the main class responsible for getting a minimal subset of what's
263 defining a grml system. Important parts of the buildprocess are specified in
264 this class as well, so unless you have a really good reason you should always
267 * GRML_FORENSIC: tools for forensic investigations which has been created
268 by people from link:http://www.forensic-geeks.org/[forensic-geeks.org].
270 * GRML_FULL: full featured grml, also known as the "normal", full grml.
272 * GRML_MEDIUM: medium sized grml version, known as grml-medium
274 * GRML_POWERPC: grml for PowerPC architecture, not supported yet (still work in
277 * GRML_SMALL: minimum sized grml version, known as grml-small
279 * LATEX_CLEANUP: get rid of several very large LaTeX directories
280 (like some /usr/share/doc/texlive-*, /usr/share/doc/texmf,...)
282 * LOCALES: use full featured locales setup (see /etc/locale.gen.grml). This
283 avoids to get rid of /usr/share/locale - which happens by default otherwise - as
286 * NO_ONLINE: do not run scripts during the chroot build process which require a
289 * RELEASE: run some specific scripts and commands to provide the workflow for an
290 official grml release
292 * REMOVE_DOCS: get rid of documentation directories (like /usr/share/doc,
293 /usr/share/man/, /usr/share/info,...)
295 * XORG: providing important packages for use with a base grml-featured X.org
301 Notice that grml-live ships FAI configuration files that do not use the same
302 namespace as the FAI packages itself. This ensures that grml-live does not clash
303 with your usual FAI configuration, so instead of /etc/fai/fai.conf (package
304 fai-client) grml uses /etc/grml/fai/fai.conf instead. For more details see
305 below. To get an idea how another configuration or example files could look like
306 check out /usr/share/doc/fai-doc/examples/simple/ (provided by Debian package
307 fai-doc). Furthermore /usr/share/doc/fai-doc/fai-guide.html/ch-config.html
308 provides documentation regarding configuration possibilities.
312 Script for the main build process. Requires root permissions for execution.
314 /etc/grml/grml-live.conf
316 Main configuration file for grml-live. All the important steps can be configured
319 /etc/grml/fai/fai.conf
321 Main configuration file for FAI which specifies where all the configuration
322 files and scripts for FAI/grml-live can be found. By default it is set to
323 FAI_CONFIGDIR=/etc/grml/fai/config, a directory shipped by grml-live
324 out-of-the-box so you shouldn't have to configure anything in this file.
326 /etc/grml/fai/make-fai-nfsroot.conf
328 This file is used by make-fai-nfsroot(8) only. Usually you don't have to change
329 anything inside this file. If you want to modify NFSROOT though you can adjust
332 /etc/grml/fai/NFSROOT
334 This file specifies the package list for creating the NFSROOT.
336 /etc/grml/fai/apt/sources.list
338 This file specifies which mirrors should be used for retrieving the Debian
339 packages used for creating the main chroot (including all the software you would
340 like to see included). If you want to use a local mirror you either have to
341 adjust this file or use the GRML_LIVE_SOURCES variable inside
342 /etc/grml/grml-live.conf which modifies /etc/grml/fai/apt/sources.list
345 /etc/grml/fai/config/
347 The main directory for configuration of FAI/grml-live. More details below.
349 /etc/grml/fai/config/class/
351 This directory contains files which specify main configuration variables for the
354 /etc/grml/fai/config/debconf/
356 This directory provides the files for preseeding/configuration of debconf
359 /etc/grml/fai/config/hooks/
361 This directory provides files for customising the build process through hooks.
362 Hooks are user defined programs or scripts, which are called during the
363 installation process.
365 /etc/grml/fai/config/package_config/
367 Directory with lists of software packages to be installed or removed. The
368 different classes describe what should find its way to your ISO. When running
369 "grml-live -c GRMLBASE,GRML_SMALL,I386 ..." only the configuration of GRMLBASE,
370 GRML_SMALL and and I386 will be taken. If you use 'grml-live -c
371 GRMLBASE,GRML_SMALL,I386,FOOBAR ...' then the files of GRMLBASE, GRML_SMALL,
372 I386 **plus** the files from FOOBAR will be taken. So just create a new class to
373 adjust the package selection according to your needs. Please notice that the
374 directory GRMLBASE contains a package list defining a minimum but still
375 reasonable package configuration.
377 /etc/grml/fai/config/scripts/
379 Scripts for customising the ISO within the build process.
383 This directory provides files used inside the scripts of
384 /etc/grml/fai/config/scripts/*. For a full documentation what happens with the
385 files please refer to the source of the scripts.
387 /etc/grml/fai/live-initramfs/
389 This directory provides the files used for building the initramfs/initrd via
395 grml-live itself logs to /var/log/grml-live.log. Unless you set ZERO_LOGFILE in
396 /etc/grml/grml-live.conf the output is appended to the file. If you set the
397 ZERO_LOGFILE configuration option the logfile will be truncated on each new
398 invocation of grml-live.
400 The FAI part of grml-live logs to /var/log/fai/$HOSTNAME/ - so the
401 default being /var/log/fai/grml/.
403 If you are using the grml-live buildd you will find the logs of the grml-live
404 run at /var/log/grml-buildd.stdout and /var/log/grml-buildd.stderr.
406 Requirements for the build system
407 ---------------------------------
409 * any Debian based system should be sufficient (if not it's a bug, so please
410 send us a bug report then) [a usual link:http://grml.org/grml2hd/[grml2hd]
411 harddisk installation ships all you need]
413 * enough free disk space; at least 800MB are required for a minimal grml-live
414 run (\~400MB for the chroot [$CHROOT_OUTPUT], \~150MB for the build target
415 [$BUILD_OUTPUT] and \~150MB for the resulting ISO [$ISO_OUTPUT] plus some
416 temporary files), if you plan to use GRML_FULL you should have at least 4GB of
417 total free disk space
419 * fast network access for retrieving the Debian packages used for creating the
420 chroot (check out "local mirror" and "NFSROOT" to workaround this problem as far
423 For further information see next section.
427 Current state of grml-live with squashfs-tools and kernel
428 ---------------------------------------------------------
430 To make it easier to track problems this section documents current state of
431 grml-live playing together with squashfs-tools / squashfs-lzma-tools (for
432 building the compressed file) and the kernel version. Documentation of this
433 section is up2date by 02nd of december 2008, please report any bugs you
439 * grml-live, version 0.9.6
441 * building grml-medium (Debian/unstable)
443 * software versions used in the ISO (being installed automatically, recorded
444 just as a reference):
446 ii busybox 1:1.10.2-2 Tiny utilities for small and embedded systems
447 ii initramfs-tools 0.92f.grml01 tools for generating an initramfs
448 ii klibc-utils 1.5.12-2 small utilities built with klibc for early boot
449 ii live-initramfs 1.139.1-4grml.03 Debian Live initramfs hook
450 ii lvm2 2.02.39-2 The Linux Logical Volume Manager
451 ii mdadm 2.6.7.1-1 tool to administer Linux MD arrays (software RAID)
452 ii udev 0.125-6grml0 /dev/ and hotplug management daemon
454 Using squashfs-lzma-tools 3.3-1 on the build system
455 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
457 squashfs-lzma-tools from the grml repository supports kernel 2.6.26-grml[64]
458 (version >=grml.05) using both lzma and zlib (-nolzma) compression. It's the
459 recommended package for building ISOs with grml-live currently!
461 The packages can be downloaded from
462 link:http://deb.grml.org/pool/main/s/squashfs-lzma/[http://deb.grml.org/pool/main/s/squashfs-lzma/].
465 Please use squashfs-lzma-tools 3.3-1 if you want to remaster release 2008.11 of grml.
467 Using squashfs-tools 1:3.3-7 on the build system
468 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
470 squashfs-tools 1:3.3-7 is available via Debian/unstable and Debian/testing
471 (lenny) pool running:
473 # aptitude install squashfs-tools=1:3.3-7
475 or directly via downloading the files
476 http://grml.org/squashfs/squashfs-tools_3.3-7_i386.deb (for x86) or
477 http://grml.org/squashfs/squashfs-tools_3.3-7_amd64.deb (for amd64) [both build
478 on and for Debian/etch but working with testing and unstable as well].
480 Please notice that squashfs-tools 1:3.3-7 does NOT support LZMA compression
481 at all (so you won't be able to remaster release 2008.11 for example). The
482 -nolzma option of mksquashfs is not available therefore (even though
483 grml-live will deactivate it for you automatically anyway). Please use
484 squashfs-lzma-tools instead.
486 * Kernel 2.6.23-grml: does NOT work, please use squashfs-tools 1:3.2r2-9exp1
487 instead if you still want to use kernel 2.6.23
488 * Kernel 2.6.26-grml: works (without LZMA compression of course!)
490 Using squashfs-tools 1:3.2r2-9exp1 on the build system
491 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
493 squashfs-tools 1:3.2r2-9exp1 is available via the grml-testing repository,
496 # aptitude install squashfs-tools=1:3.2r2-9exp1
498 or directly via downloading the files
499 http://grml.org/squashfs/squashfs-tools_3.2r2-9exp1_i386.deb (for x86) or
500 http://grml.org/squashfs/squashfs-tools_3.2r2-9exp1_amd64.deb (for amd64).
502 Versions with ZLIB compression (SQUASHFS_OPTIONS='-nolzma' or -z
503 option in grml-live cmdline):
505 * Kernel 2.6.23-grml: works
506 * Kernel 2.6.26-grml: works
508 Versions with LZMA compression:
510 * Kernel 2.6.23-grml: works
511 * Kernel 2.6.26-grml: does NOT work, please use zlib mode instead or switch
512 to Debian package squashfs-lzma-tools (see section above).
517 Help, I'm using Debian etch and I don't have FAI version >3.2
518 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
520 wget http://www.informatik.uni-koeln.de/fai/download/etch/fai-client_3.2.8_all.deb \
521 http://www.informatik.uni-koeln.de/fai/download/etch/fai-server_3.2.8_all.deb \
522 http://www.informatik.uni-koeln.de/fai/download/etch/fai-doc_3.2.8_all.deb
523 dpkg -i fai-client_3.2.8_all.deb fai-server_3.2.8_all.deb fai-doc_3.2.8_all.deb
525 or check out the link:http://www.informatik.uni-koeln.de/fai/[FAI-homepage] for
528 I've problems with the build process. How to start debugging?
529 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
531 Check out the logs inside /var/log/fai/... If you don't have the time to debug
532 the problem in further detail or don't know how to proceed just send a copy of
533 your config, logs and the commandline with a short problem description to
536 # history | grep grml-live > /etc/grml/grml_live.cmdline
537 # tar zcf grml_live_problem.tar.gz /etc/grml/grml-live.conf \
538 /etc/grml/grml-buildd.conf /var/log/fai /etc/grml/fai
540 Can I use my own (local) Debian mirror?
541 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
543 Sure. Just adjust the variables GRML_LIVE_SOURCES and FAI_DEBOOTSTRAP (if not
544 already using NFSROOT's base.tgz) inside /etc/grml/grml-live.conf according to
545 your needs. Please don't forget that you should use the grml servers as well
546 (see default configuration) so all the grml packages can be downloaded as well.
548 If you want to use a local (for example NFS mount) mirror additionally, just
549 adjust MIRROR_DIRECTORY and MIRROR_SOURCES inside /etc/grml/grml-live.conf as
552 Unless you specify GRML_LIVE_SOURCES and/or FAI_DEBOOTSTRAP the default from
553 /etc/grml/fai/apt/sources.list and /etc/grml/fai/make-fai-nfsroot.conf will be
554 taken. If you customise the variables in /etc/grml/grml-live.conf then the two
555 files will be adjusted during runtime automatically.
557 If MIRROR_DIRECTORY and MIRROR_SOURCES are specified the local mirror will be
558 taken as first entry in the generated sources.list so it's prefered over
559 non-local mirrors. Using a fallback mirror (via providing several mirrors in
560 GRML_LIVE_SOURCES as used by default) is a recommended setting.
562 How do I add additional Debian package(s) to my CD/ISO?
563 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
565 Just create a new class (using the package_config directory):
567 # cat > /etc/grml/fai/config/package_config/MIKA << EOF
571 another_name_of_a_debian_package
575 and specify it when invoking grml-live then:
577 # grml-live -c GRMLBASE,GRML_SMALL,I386,MIKA
579 I fscked up my grml-live configuration. How do I reset it to the defaults?
580 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
582 Notice: this deletes all your grml-live configuration files. If that's really
583 what you are searching for just run:
585 rm -rf /etc/grml/fai /etc/grml/grml-live.conf
586 dpkg -i --force-confnew --force-confmiss /path/to/grml-live_..._all.deb
590 If you don't control your /etc using a version control system (VCS) yet it's a
591 good chance to start using it now. Check out
592 link:http://michael-prokop.at/blog/2007/03/14/maintain-etc-with-mercurial-on-debian/[http://michael-prokop.at/blog/2007/03/14/maintain-etc-with-mercurial-on-debian/]
593 for more details how to maintain /etc using the mercurial VCS.
595 How do I create a base.tgz for use as NFSROOT?
596 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
598 First of all build the chroot system:
600 mkdir /tmp/nfsroot && cd /tmp/nfsroot
601 debootstrap etch /tmp/nfsroot/ http://ftp.de.debian.org/debian
604 Then check out where your NFSROOT is located:
606 # grep '^NFSROOT' /etc/grml/fai/make-fai-nfsroot.conf
607 NFSROOT=/grml/fai/nfsroot
609 So as /grml/fai/nfsroot is your NFSROOT place the file under
610 /grml/fai/nfsroot/live/filesystem.dir/var/tmp/:
612 mv base.tgz /grml/fai/nfsroot/live/filesystem.dir/var/tmp/base.tgz
614 or even better use /etc/grml/fai/config/basefiles/$CLASSNAME.tar.gz instead.
615 Use I386 as $CLASSNAME for i386 builds and AMD64 for amd64 builds.
617 Now running "grml-live ..." will use this file as main system instead of
618 executing debootstrap. Check out the output for the following lines if using
622 Calling task_extrbase
623 Unpacking Debian base archive
624 Extracting /grml/fai/nfsroot/live/filesystem.dir/var/tmp/base.tgz
628 or if using /etc/grml/fai/config/basefiles/$CLASSNAME.tar.gz for:
631 ftar: extracting /etc/grml/fai/config/basefiles///AMD64.tar.gz to
632 /grml-live/grml-live_20071029.22138/grml_chroot//
635 Set up apt-cacher for use with grml-live
636 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
638 Make sure /etc/grml/grml-live.conf provides according GRML_LIVE_SOURCES and
641 # cat /etc/grml/grml-live.conf
644 deb http://localhost:3142/deb.grml.org grml-stable main
645 deb http://localhost:3142/deb.grml.org grml-testing main
646 deb http://localhost:3142/ftp.de.debian.org/debian etch main contrib non-free
649 FAI_DEBOOTSTRAP="etch http://localhost:3142/ftp.de.debian.org/debian etch main contrib non-free"
651 Make sure apt-cacher is running (/etc/init.d/apt-cacher restart). That's it.
652 All downloaded files will be cached in /var/cache/apt-cacher/ now.
654 Set up approx for use with grml-live
655 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
657 Make sure /etc/grml/grml-live.conf provides according GRML_LIVE_SOURCES and
660 # cat /etc/grml/grml-live.conf
663 deb http://localhost:9999/grml grml-stable main
664 deb http://localhost:9999/grml grml-testing main
665 deb http://localhost:9999/debian etch main contrib non-free
667 FAI_DEBOOTSTRAP="etch http://localhost:9999/debian"
671 # cat /etc/approx/approx.conf
673 debian http://ftp.at.debian.org/debian
674 grml http://deb.grml.org/
676 Don't forget to restart approx (/etc/init.d/approx restart). That's it.
677 All downloaded files will be cached in /var/cache/approx now.
679 I've a question which isn't answered by this document
680 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
682 Don't hesitate to ask on IRC (channel #grml on irc.freenode.org) or just drop me
683 a mail: <mika@grml.org>
685 Download / install grml-live as a Debian package
686 ------------------------------------------------
688 Debian packages are available through the grml-repository at
689 link:http://deb.grml.org/pool/main/g/grml-live/[deb.grml.org]. If you want to
690 build a Debian package on your own (using for example a specific version or the
691 current development tree), just execute:
693 git clone git://git.grml.org/grml-live
700 The source of grml-live is available at
701 link:http://git.grml.org/?p=grml-live.git[http://git.grml.org/?p=grml-live.git]
706 Check out link:http://wiki.grml.org/doku.php?id=grml-live[grml-live in the grml-wiki]
712 Please report feedback, link:http://grml.org/bugs/[bugreports] and wishes
713 link:http://grml.org/contact/[to the grml-team]!
717 Michael Prokop <mika@grml.org>
719 /////////////////////////////////////
720 // vim:ai tw=80 ft=asciidoc expandtab
721 /////////////////////////////////////