User FAQ: Difference between revisions

From FAIWiki
Jump to navigation Jump to search
(added make-fai-nfsroot dies...)
Line 11: Line 11:
# $FAI_CONFIGDIR/scripts/BAR/S30
# $FAI_CONFIGDIR/scripts/BAR/S30
</code>
</code>
== <code>make-fai-nfsroot</code> dies silently, Why? ==
Restarted it with more debug output (-v) and (-r) to recover yielded:
Reading Package Lists...
E: Dynamic MMap ran out of room E: Error occured while processing
phpgroupware-
netsaint (NewPackage) E: Problem with MergeList
/var/lib/apt/lists/172.25.1.52:9999
_debian_dists_unstable_main_binary-i386_Packages E: The package lists or
status file could not be parsed or opened.
Reason:
As I my default <code>/etc/apt/sources.list</code> read in stable, testing and unstable, apt-get needs a lot
of space for its internal tables. Therefore I had also a special <code>apt.conf</code> which is missing in the
nfsroot of FAI. This is a known problem of apt.
Solution:
Copied <code>/etc/apt/sources</code> to <code>/etc/fai/sources.list</code>, then minimised it to contain just one version (e.g. stable)
of Debian
ngiger@mus.ch

Revision as of 08:10, 11 August 2005

What's the official website for FAI?

http://www.informatik.uni-koeln.de/fai

What order are scripts executed in?

Scripts are executed in class definition order, and in numerical order within each class.

For example, if the classes FOO and BAR were defined (in that order), and $FAI_CONFIGDIR/scripts/FOO contained S20 and S40, and $FAI_CONFIGDIR/scripts/BAR contained S30, the order of execution would be:

  1. $FAI_CONFIGDIR/scripts/FOO/S20
  2. $FAI_CONFIGDIR/scripts/FOO/S40
  3. $FAI_CONFIGDIR/scripts/BAR/S30


make-fai-nfsroot dies silently, Why?

Restarted it with more debug output (-v) and (-r) to recover yielded: Reading Package Lists...

E: Dynamic MMap ran out of room E: Error occured while processing 
phpgroupware-
netsaint (NewPackage) E: Problem with MergeList 
/var/lib/apt/lists/172.25.1.52:9999
_debian_dists_unstable_main_binary-i386_Packages E: The package lists or
status file could not be parsed or opened.

Reason: As I my default /etc/apt/sources.list read in stable, testing and unstable, apt-get needs a lot of space for its internal tables. Therefore I had also a special apt.conf which is missing in the nfsroot of FAI. This is a known problem of apt.

Solution: Copied /etc/apt/sources to /etc/fai/sources.list, then minimised it to contain just one version (e.g. stable) of Debian

ngiger@mus.ch