Debian-edu installation override files
======================================

This package overrides all Debian debconf questions to make sure the
Debian-edu CD can be installed non-interactively.

More info is available from <URL:http://wiki.debian.org/DebianEdu/>.

 - Petter Reinholdtsen <pere@hungry.com>, 2002-01-06

Extracting debconf values from d-i after installation
-----------------------------------------------------

apt-get install debconf-utils
debconf-get-selections --installer

How to update the partman partition rules
=========================================

The partition recipes are in lib/partman/common/.  there are files for
each combination of valid profile choises. the recipe file is built
from the common file, and the arch specific file.  to create the
correct recipe file for arch and profile choice.

The recipe consist of min, priority, max size and the file system
type, as well as information about the file system to create.  An
example: The min and max sizes are min MiB.

  32 2000 10000000 ext3
	$lvmok{ }
	method{ format }
	format{ }
	use_filesystem{ }
	filesystem{ ext3 }
	mountpoint{ /debianedufreespace } .

The format is documented in
http://d-i.alioth.debian.org/svn/debian-installer/installer/doc/devel/partman-auto-recipe.txt
and http://lml.bas.bg/~anton/partman/doc/partman-doc.txt.
The code using the recipes is in d-i subversion,
packages/packages/partman/partman-auto/reciepes.sh.

It is a good idea to make sure there is at least 15% free space on
every partition, to avoid warnings from nagios about too full
partitions in a freshly installed system.  5% is reserved for root,
and the remaining 10% is the number nagios is checking.  So, if 652
MiB is used on /usr, the partition should be at least (652 * 100 / 85)
= 767 MiB.  It is a good idea to round up to the closest 64 MiB to
take into account the overhead in file systems and LVM.

One thing to keep in mind is that /var/ is used as storage area for
downloaded debian packages during installation of the netinst CD, and
thus need a lot more disk space during installation than after
installation.

To learn about the disk requirement for individual recipes, run the
command 'make minimum-diskreq'.

Some numbers to keep in mind.  All numbers are disk space used in MiB,
collected just after installation.

  Profile main-server (90edumain):

  Partition            amd64 DVD     i386 CD    i386 DVD
                                  2007-07-12  2007-07-17
  ------------------------------------------------------
  /                                       78          76
  /boot                                   18          18
  /usr                                   541         535
  /var                                   204         154
  /var/spool/squid                        10          10
  /skole/backup                           18          35
  /skole/tjener/home0                     35          68

  Profile main-server + thinclient-server (91edumain+ltsp):

  Partition            amd64 DVD     i386 CD    i386 DVD
                      2007-10-25  2007-07-27  2007-10-24
  ------------------------------------------------------
  /                           98          82          80
  /boot                       19          18          18
  /opt                       554         525         516
  /skole/backup               35          17          17
  /skole/tjener/home0        173          17          35
  /usr                      3204        3055        3051
  /var                       328         912         257
  /var/opt/ltsp/swapfiles     69          17          34
  /var/spool/squid            10          10          10

  Profile main-server + workstation (92edumain+ws):

  Partition            amd64 DVD     i386 CD
                                  2008-10-04
  ------------------------------------------

  /                                       98
  /boot                                   21
  /skole/backup                           35
  /skole/tjener/home0                    148
  /usr                                  4227
  /var                                  1732
  /var/spool/squid                        90

  Profile thin-client-server (94edultsp):

  Partition            amd64 DVD     i386 CD
                                  2007-07-16
  ------------------------------------------

  /                                       96
  /boot                                   18
  /opt                                   524
  /usr                                  2838
  /var                                   837
  /var/opt/ltsp/swapfiles                 34

  Profile workstation (96eduwork):

  Partition            amd64 DVD     i386 CD
                                  2008-10-05
  ------------------------------------------
  /                                     1695
  /boot                                   21
  /usr                                  4091

  Profile standalone (96eduwork):

  Partition            amd64 DVD     i386 CD    i386 DVD  powerpc CD
                                  2007-07-20  2007-07-17  2008-10-04
  ------------------------------------------------------------------
  /                                      941         306        1676
  /boot                                   14          14          20
  /usr                                  2729        2723        3894

  Profile minimal (none):

  Partition            amd64 DVD     i386 CD    i386 DVD
                                  2007-07-20
  ------------------------------------------------------
  /                                       76
  /boot                                   18
  /var                                   579
  /usr                                   188

Testing translations
====================

To test if the line wrapping work with translations, a command
like this can be used:

  COLUMNS=77 podebconf-display-po debian/po/it.po

It will simulate the terminal width available in the text mode
of debian-installer.
