Codebase list debian-edu-install / HEAD
HEAD

Tree @HEAD (Download .tar.gz)

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 DVD     i386 CD    i386 DVD    i386 PXE
                                  2013-07-14  2007-07-17  2013-09-26
  ------------------------------------------------------------------
  /                                      161          76         167
  /boot                                   35          18          24
  /usr                                  2526         535        2715
  /var                                   387         154         449
  /var/spool/squid                        88          10         157
  /skole/backup                           35          35          69
  /skole/tjener/home0                    138          68         146

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

  Partition             amd64 CD     i386 CD    i386 DVD   amd64 PXE
                      2014-10-08  2013-07-14  2007-10-24  2013-07-09
  -----------------------------------------------------------------
  /                          285         170          80         197
  /boot                       29          34          18          24
  /opt                      8274        8209         516        8181
  /skole/backup                9           6          17          35
  /skole/tjener/home0         70           6          35         220
  /usr                      8321        8088        3051        8000
  /var                       662        3300         257         584
  /var/opt/ltsp/swapfiles      8          10          34          72
  /var/spool/squid                        10          10         180
  /var/log                    31
  /var/spool/squid            25

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

  Partition            amd64 DVD     i386 CD    amd64 CD
                                  2013-07-14  2014-10-09
  ------------------------------------------------------

  /                                      170         263
  /boot                                   35          29
  /skole/backup                           35           1
  /skole/tjener/home0                     71          60
  /usr                                  8082        8308
  /var                                   623         642
  /var/spool/squid                        84          17

  Profile ltsp-server (94edultsp):

  Partition               amd64 PXE     i386 CD
                         2013-09-26  2013-07-14
  ---------------------------------------------

  /                             215         183
  /boot                          36          35
  /opt                         8307        8209
  /usr                         8078        7870
  /var                        >4461       >3168
  /var/opt/ltsp/swapfiles        72          11

  Profile workstation (96eduwork):

  Partition             amd64 CD     i386 CD    i386 PXE
                      2014-10-10  2013-05-05  2014-10-14
  ------------------------------------------------------
  /                         785         3387         515
  /boot                      29           23          29
  /usr                     8195         7748        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 DVD     i386 CD
                                  2013-07-14
  ------------------------------------------
  /                                     7922
  /boot                                   35
  /var                                   596
  /home                                  206

  Profile minimal (none):

  Partition            amd64 PXE    amd64 CD     i386 CD    i386 DVD
                      2014-10-11  2013-12-12  2014-10-09
  ------------------------------------------------------------------
  /                          247         180         215
  /boot                       29          33          29
  /var                       215         864         236
  /usr                      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.