--- a/INSTALL Mon Feb 13 11:51:13 2012 +0100
+++ b/INSTALL Tue Feb 14 13:42:09 2012 +0100
@@ -1,5 +1,18 @@
-Zuerst machen wir ein sparse Image für unsere später CF-Card
-und partitionieren dies.
+Wie bekommen wir ein stinknormales Debian auf so ein kleines
+Alix-Board?
+-------------------------------------------------------------
+
+Die Dinger booten von der CF-Karte und über PXE. PXE wollte ich nicht,
+zumal es später auch von der Karte booten soll.
+
+Hilfreich, damit man das Alix-Board (ich habe das Alix.2D13, 2x USB, 3x
+Ethernet, AMD Geode 500Mhz, 256MB RAM) beim Booten beobachten kann, ist
+ein Nullmodem-Kabel und ein serieller Port am eigenen Rechner (oder
+USB-Seriell-Adapter (ich habe hier einen FT232)).
+
+Zuerste messen (/proc/partitions) wir unsere CF-Card aus und machen uns
+ein „sparse Image“, mit dem wir alles vorbereiten und welches wir dann
+später auf die Card kopieren. Dieses Image partitionieren wir natürlich:
$ dd of=<IMAGE> bs=1K count=0 seek=<BLOCKS of CF>
$ parted -a optimal -s -- <IMAGE> mklabel msdos
@@ -49,12 +62,15 @@
--arch i386 stable \
<TARGET> http://ftp.de.debian.org/debian
+Und nun die eientliche Einrichtung vornehmen:
+
# echo [%HOSTNAME%] > <TARGET>/etc/hostname
# cat ROOT/etc/environment >> <TARGET>/etc/environment
# cp ROOT/root/.bashrc <TARGET>/root/
# cp ROOT/etc/udev/rules.d/10-alix.rules <TARGET>/etc/udev/rules.d/
# cp ROOT/etc/apt/apt.conf.d/10-alix <TARGET>/etc/apt/apt.conf.d/
+ # cp ROOT/etc/apt/sources.list <TARGET>/etc/apt/sources.list
# [edit] <TARGET>/etc/default/rcS
RAMRUN=yes
@@ -76,7 +92,8 @@
# chroot <TARGET> aptitude update
# chroot <TARGET> aptitude purge isc-dhcp-client
# chroot <TARGET> aptitude install linux-image-686 openssh-server udhcpc ifplugd
- # chroot <TARGET> aptitude install vim ferm
+ # chroot <TARGET> aptitude install vim ferm rdate
+ (# chroot <TARGET> aptitude install avahi-daemon)
# chroot <TARGET> dpkg-reconfigure tzdata
# -> die folgenden vielleicht in der VM installieren, da sonst
@@ -93,11 +110,17 @@
# [edit] <TARGET>etc/logrotate.conf
# [edit] <TARGET>etc/logrotate.d/*
# [edit] <TARGET>/etc/default/ferm [cache=no]
+ # [edit] <TARGET>/etc/ferm/ferm.conf [avahi: 5353/udp]
# umount <TARGET>
# kpartx -d <IMAGE>
# buffer -z 32K -i image -o <CFCARD>
+Später dann:
+
+ # rdate -s time.fu-berlin.de
+ # hwclock -wu
+
---
[] vi etc/default/apache2
mkdir /var/log/apache2