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
https://salsa.debian.org/installer-team/debian-installer/blob/master/doc/devel/partman-auto-recipe.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 20% 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, and partman
some times create partitions smaller than the minimum size, so add 10%
extra to reduce the chance of problems caused by this.  So, if 652 MiB
is used on /usr, the partition should be at least (652 * 100 / 70) =
932 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 BD     i386 CD    i386 DVD    i386 PXE
                       2023-06-21 2013-07-14  2007-07-17  2013-09-26
  ------------------------------------------------------------------
  /                          315         161          76         167
  /boot                       64          35          18          24
  /boot/efi                    6
  /usr                      2811        2526         535        2715
  /var                       314         387         154         449
  /var/spool/squid            16          88          10         157
  /skole/backup                           35          35          69
  /skole/tjener/home0                    138          68         146

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

  Partition             amd64 BD    amd64 CD     i386 CD   amd64 PXE
                      2023-06-21  2014-10-08  2013-07-14  2013-07-09
  -----------------------------------------------------------------
  /                          371         285         170         197
  /boot                       68          29          34          24
  /boot/efi                    6
  /opt                                  8274        8209        8181
  /skole/backup                            9           6          35
  /skole/tjener/home0                     70           6         220
  /srv/ltsp                 7201
  /srv/nfs4/home0
  /usr                     13082        8321        8088        8000
  /var                       455         662        3300         584
  /var/opt/ltsp/swapfiles                  8          10          72
  /var/spool/squid            16          25          10         180
  /var/log                    31          31

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

  Partition             amd64 BD
                      2023-06-21
  ------------------------------
  /                          371
  /boot                       68
  /boot/efi                    6
  /usr                     13082
  /var                       483
  /var/log                    32
  /var/spool/squid             2
  /skole/backup
  /srv/ltsp                 7201
  /srv/nfs4/home0             21

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

  Partition               amd64 BD     i386 CD    amd64 CD
                        2023-06-21  2013-07-14  2014-10-09
  --------------------------------------------------------
  /                            328         170         263
  /boot                         67          35          29
  /boot/efi                      6          35          29
  /skole/backup                             35           1
  /skole/tjener/home0           67          71          60
  /usr                       13489        8082        8308
  /var                         525         623         642
  /var/spool/squid              16          84          17

  Profile ltsp-server (94edultsp):

  Partition                amd64 BD   amd64 PXE     i386 CD
                         2023-06-21  2013-09-26  2013-07-14
  ---------------------------------------------------------
  /                              24         215         183
  /boot                          68          36          35
  /boot/efi                       6
  /opt                                     8307        8209
  /usr                        12389        8078        7870
  /var                         1918       >4461       >3168
  /var/opt/ltsp/swapfiles                    72          11
  /var/log                       29
  /srv/ltsp

  Profile workstation (96eduwork):

  Partition             amd64 BD    amd64 CD    i386 PXE
                      2023-06-21  2014-10-10  2014-10-14
  ------------------------------------------------------
  /                          280         785         515
  /boot                       66          29          29
  /boot/efi                    6
  /usr                     12242        8195        6555

  Profile standalone (98standalone):

  Partition            amd64 DVD    i386 CD    i386 DVD  powerpc CD
                                  2014-10-10  2007-07-17  2008-10-04
  ------------------------------------------------------------------
  /                                     8037         306        1676
  /boot                                   29          14          20
  /usr                                              2723        3894
  /var                                   534
  /home                                  205

  Profile roaming workstation (98edustandalone):

  Partition             amd64 BD     i386 CD
                      2023-06-21  2013-07-14
  ------------------------------------------
  /                        12338        7922
  /boot                       66          35
  /boot/efi                    6
  /var                       299         596
  /home                                  206

  Profile minimal (97minimal):

  Partition             amd64 BD   amd64 PXE    amd64 CD     i386 CD
                      2023-06-21  2014-10-11  2013-12-12  2014-10-09
  ------------------------------------------------------------------
  /                           10         247         180         215
  /boot                       66          29          33          29
  /boot/efi                    6
  /var                        10         215         864         236
  /usr                      1796        2305        2403        2407

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.
