Re: make-fai-nfsroot failure (at debootstrap stage)
On 5 Aug 2004 17:49:39 -0400, Arcady Genkin [EMAIL PROTECTED] said: The make-fai-nfsroot stopped working for us, and I can't think of anything that changed (I know, something must have changed, just can't put my finger on it). We are using FAI 2.5.4 under Woody to install Woody, using a local mirror. The make-fai-nfsroot command breaks the following way: , | Creating nfsroot for woody using debootstrap Try make-fai-nfsroot -v to see more details. Maybe you local mirror ist not perfect complete. So also try using an official mirror. -- regards Thomas
Re: make-fai-nfsroot failure (at debootstrap stage)
On 6 Aug 2004 10:13:40 -0400, Arcady Genkin [EMAIL PROTECTED] said: I did. Quoting from my original message: The output of sh -x make-fai-nfsroot -v, our fai.conf and http://www.cdf.toronto.edu/~agenkin/tmp/fai/make-fai-nfsroot_out.txt Sorry, I didn't see that before. I can''t see a problem, so IMHO it's a problem with the mirror. -- regards Thomas
Re: some remarks about fai 2.6, especialy on powerpc
On Sun, 8 Aug 2004 12:45:32 -0400 (EDT), Paul Nijjar [EMAIL PROTECTED] said: I personally prefer /usr/local to /var/lib, but I don't see it as a serious bug because this is created by the sysadmin. (Would /var/local/ be a bad place?) Me too. make-fai-nfsroot fails/stops after: Creating base.tgz mkdir: cannot create directory /var/lib/fai/nfsroot/var/state': File exists Never saw this error. ! [ -d $NFSROOT/var/state ] || mkdir $NFSROOT/var/state Patch applied in 2.6.1. One complaint from me: I want the make-fai-nfsroot finished $merror line to be the final thing printed. I got confused and did not OK, I will change this behaviour. -- regards Thomas
Re: woody problems
On Tue, 10 Aug 2004 22:57:34 +0200 (MEST), Per Foreby [EMAIL PROTECTED] said: ... Try fai-kernels 1.7.1 which uses a newer kernel (2.4.26) than in 1.6. This should fix problems with a sk98lin network card. Does this mean that I'll have to upgrade the installation server to sarge, No you can use fai 1.6 and the kernel from 1.7.1 or are the versions in download/woody only safe recommendations? In case of the latter, would it even be wise to try fai-2.6.1 on a woody server? YOu can install fai 2.6.1 on a woody server (use the newest debootstrap) but then you should install sarge on your install clients, while the server is running woody. -- regards Thomas
Re: taskinst package selection seems broken
On Thu, 12 Aug 2004 08:19:22 -0400 (EDT), [EMAIL PROTECTED] said: Tried out FAI 2.6.1 last night and wanted to try selecting packages via the tasksel tasks and found I could only do one task per FAI install. Doing multiples would fail because tasksel would be passed each task on the same commandline and it doesn't seem to like that. Maybe this is a whishlist bug for tasksel, or even a major bug? The old implementation of tasksel had this feature, so I could depend on it. -- regards Thomas
Re: fai 2.6.1 on a woody server
On Mon, 23 Aug 2004 18:34:47 +0200 (MEST), Henning Sprang [EMAIL PROTECTED] said: Hy, I just wanted to start installing FAI 2.6.1 on a woody server on which i ran 2.5.x successfully, but failed. I ran in troubles with the woody debootstrap packages missing scripts for sarge, tried using debootstrap from sarge, but ended up in dependency troubles. Use apt-get source debootstrap to get the newest debootstrap (define deb-src for sarge) and rebuild the package from sources for woody. So you will have no dependency problems. I did this without any problems. -- regards Thomas
[NEW RELEASE]: FAI 2.6.2
A new release with some bug fixes is now available. New in FAI 2.6.2 - Workaround to support new tasksel behaviour - fix broken grub entry when using class FAI_BOOTPART - fai-chboot: add option -e http://www.informatik.uni-koeln.de/fai/ -- regards Thomas
Re: Some issues
On Thu, 26 Aug 2004 07:15:01 +, Steffen Grunewald [EMAIL PROTECTED] said: There are several items on my wish list though: - If I use an MD5 encrypted password (a special one that contains a / in the salt field) I get a crippled entry in /etc/shadow (It's already in variables.sh, so something went wrong before). Only the part starting try single quote ' not doubble quotes as in this eg. rootpw='asdfser24234ewsd23d' I hope this will work. - I'd like to have support for more filesystems in the install kernel. Which? - task logging could use some time stamping (also for faimond) But what if the time on the install client will not be set (timeserver is not defined...). Maybe the faimond should do timestamping. - an easy way to append append=... lines to grub/menu.lst during kernel install (without tampering with the file afterwards) - make-fai-nfsroot might be able to skip the NFS server reconfig (I know what I'm doing, and I'm running the FAI server on a production machine, so restarting -not reloading- the NFS server is a bad idea) OK. should be a small patch. - the tasksel issue fixed in 2.6.2 Also hints how to install a YP master server (files copied from a non-NIS setup) using FAI would be appreciated, I couldn't find anything about this in the docs... This is not the scope of FAI, it's mot a nis howto question which I will not answer in my docs. BTW here's the code I created some days ago to saet up an yo master server. if ifclass NISSERVER; then echo Setting up NIS master server # this is part of the code of ypinit -m, which does not work with a different # hostname. It always wants the current hostname to be the first ypserver mkdir -p $target/var/yp/$YPDOMAIN rm -f$target/var/yp/$YPDOMAIN/* $target/var/yp/ypservers for s in $YPSRVR; do echo ypserver $s $target/var/yp/ypservers done cat $target/var/yp/ypservers | awk '{print $$0, $$0}' | $target/usr/lib/yp/makedbm - $target/var/yp/$YPDOMAIN/ypse rvers # call make for nis once during first boot cat $target/etc/rc2.d/S99nis -EOF #! /bin/sh cd /var/yp make rm -f \$0 EOF chmod a+rx $target/etc/rc2.d/S99nis -- regards Thomas
Re: Some issues
On Tue, 31 Aug 2004 15:39:34 +0200, Steffen Grunewald [EMAIL PROTECTED] said: Please consider using this in your examples, too. Will be made in the future. Not in kernel, no module. Probably commented out by mistake? (CONFIG_FS_XFS is set to m in kernel-config from fai-kernels 1.7.1) xfs is on by default only in the 2.6 kernel from fai-kernel, not in the 2.4 kernel. I'm now trying to figure out how to netboot an Alpha: the naked kernel doesn't do the trick, and a boot floppy seems to be impossible (large kernel, no boot loader). Any ideas from the list? You can make the kernel smaller by removing unused network devices. From the README of fai-kernel: How to save space on the boot floppy If you need a smaller kernel image to fit on a floppy disk, you can remove some network drivers, that you don't need for booting and mounting the nfsroot. If you have a math coprocessor, disable the math emulation (nearly 80k). Here's a list for kernel 2.4.24 with the size of some drivers. 20144 8139too.o 21564 pcnet32.o 21868 3c505.o 21932 dl2k.o 25292 natsemi.o 34040 3c59x.o 50187 tulip.o 55796 tg3.o 62936 serial.o 66484 e100.o 74244 typhoon.o 84056 e1000.o 165343 sk98lin.o -- regards Thomas
Re: Some issues
On Tue, 31 Aug 2004 16:12:00 +0200, Thiemo Seufer [EMAIL PROTECTED] said: I wonder why math emulation is available in FAI kernels at all. Is there actually some realistic scenario where old/embedded i386/i486 machines are installed via FAI? Debian kernels should (or must) run on a 386 cpu. So we need math emulation. -- regards Thomas
Re: FAI3 Tarballs Vacation
On Thu, 2 Sep 2004 13:16:53 +0200, Henning Glawe [EMAIL PROTECTED] said: Moin, I just put a tarball of my current FAI3 tree onto my website http://www.physik.fu-berlin.de/~glaweh/fai/ FAI3 is not the official FAI version 3. It's some sort of FAI with the pfai patches from henning, so maybe pfai3 would be the better name. -- regards Thomas
Re: Variable SERVER not set
On Thu, 2 Sep 2004 23:27:32 +0200, [EMAIL PROTECTED] said: Hello, I've done a few installations with FAI now but I still have the problem with Server not set. I always made a workaround by setting In which log file do you get this error message? installserver=myserver_ip so that the logs can be sent via ssh to For sending the log, the variable LOGSERVER is used. When it's not set, $SERVER is used. -- regards Thomas
Re: Fai-Kernel 2.6 and xfs
On Thu, 09 Sep 2004 09:41:49 +0200, Sven Wilhelm [EMAIL PROTECTED] said: I was wondering about the fact that the ext2/3 filesystems have been build as modules and loaded dynamically, but xfs also as module failed to load. I prefer a disk_config mostly with xfs filesystems. Since a lot of network kernel drivers has to be included into the install kernel and we have to keep the kernel small, a lot of other drivers are build as modules. But they should work. Maybe you can give more information on your problems. -- regards Thomas
Re: fai2.6.2, simple examples
On Mon, 13 Sep 2004 15:23:11 +0200, Holger Levsen [EMAIL PROTECTED] said: Hi, I would like to be able to build my FAICONFIGDIR upon the simple examples, in other words, I would like the simple examples to be the FAI default CONFIGDIR on top I can add my changes. What's your opinion on that ? If you agree, I would prepare the needed patches against fai2.6.2. The simple examples are created so new FAI users can do an installation in about one hour (hope so). They are not meant to be perfect to a wide range of advanced FAI users. Since every FAI sysadmin has its own special setup, it will be difficult to make some simples examples, that fit for most users. So keep the simple examples really as examples and manage your config directory on your own. Also, I can't guarantee that in a new fai version, the new simples examples will not break your setup. That'a why they are only called examples and not default config files. -- regards Thomas
Re: [NEW RELEASE]: FAI 2.6.3, fai-kernels 1.8
On Tue, 14 Sep 2004 09:52:29 +1000, Nicolas Triantafillou [EMAIL PROTECTED] said: I'm not seeing the new fai deb at http://www.informatik.uni-koeln.de/fai/download/, only fai-kernels ? Oooops. I just corrected this. -- regards Thomas
Re: fai-setup error
On Fri, 24 Sep 2004 14:12:57 +0200, BRINER Cedric [EMAIL PROTECTED] said: 1)I've tried to use mkdebmirror with: a) this value: arch=i386 dist=sarge,sarge-proposed-updates destdir=/export/diskA/debmirror2 update_from debian.ethz.ch update_from ftp.de.debian.org just remove sarge-proposed-updates and it should work with the new debmirror from sarrge. -v is now a nice option. I'll put the new mkdebmirror script on the fai download area, but this only mirrors sarge, not woody any more. -- regards Thomas
Re: is there anybody out there?
On Wed, 13 Oct 2004 00:42:19 +0200, Andrea Iacopini [EMAIL PROTECTED] said: Thanks guys, I'm actually trying to install fai on debian stable woody system. After apt-get update the version of FAI is 2.6.3. The last FAI version for woody is 2.5.4. Do not use 2.6.3 on woody! But using 2.6.3 is not the origin of these problems. -- regards Thomas
Re: unable to reboot
On Mon, 04 Oct 2004 15:22:36 +0200, BRINER Cedric [EMAIL PROTECTED] said: almost everythings work except b)So I checked what has been installed, and I found that the kernel-image-2.4... is on it. Is that mean that I shall install an system loader like GRUB ? Your demohost must be in following classes: GRUB MBR otherwise no bootloader will be installed. -- regards Thomas
Re: missing dependency in the latest testing version of fai
On Tue, 5 Oct 2004 15:58:14 -0700, Travis Griggs [EMAIL PROTECTED] said: Trying to move to a newer version of fai (i.e. the latest/current debian testing version). Spent a bit of time figuring out why we weren't getting all of our packages anymore. Turned out that we needed to install libapt-pkg-perl. Just thought whoever is maintaining the testing package might want to know that's currently missing. Back to debugging. Thanks all. libapt-pkg-perl is only needed in the nfsroot. You need it only on your install server itself if you call install_packages on it. But normally this is only done on the install client during the installation. -- regards Thomas
Re: [DEBMIRROR] - size
What is the size needed on disque to run mkdebmirror ? A local Debian mirror for woody needs about 6 GB, for sarge about 10GB. I386 only, no sources. -- regards Thomas
Re: no kernel installed on client so it refuses booting
On Fri, 08 Oct 2004 09:40:17 +0200, Gerald Houart [EMAIL PROTECTED] said: i use fai installed with sarge ... and everything based on the example simple but after all the process of installation, grub refuses to boot linux and in fact in /boot there is no kernel !!! any suggestion to resolve this probably stupid problem (but so stupid that i can't see where it is !) Read the the log files!!! I think you did not define the classes MBR and GRUB or no kernel is installed at all. Have a special look at shell.log. -- regards Thomas
Re: How to move from woody to sarge
On Tue, 19 Oct 2004 08:53:27 +0200 (MEST), Per Foreby [EMAIL PROTECTED] said: I want to start som experiments with sarge clients, but I still want to be able to install woody clients. Is this possible, and in that case, what should I upgrade (server, fai-version) and in what order? Install the newest fai package (and fai-kernels) and define a different path for the new (sarge) nfsroot (in make-fai-nfsroot.conf). This is also possible on a woody install server. Then also create a new config space for sarge, since the syntax for the discover call in 06hwdetect.source is very different than that for woody. Also some package names are not available, so having two different config spaces (one for woody, one for sarge) is easier to handle. -- regards Thomas
new amd64 nfsroot tarball available
Hi there, at the Linux World Expo in Frankfurt I created a new nfsroot for amd64 with fai 2.6.3 using a 2.6.8 kernel. I did not test the tarball, but it should work. You can download it from http://www.informatik.uni-koeln.de/fai/download/amd64 -- regards Thomas
Re: distributing package updates
On Tue, 26 Oct 2004 15:24:34 -0400, John Paul Lorenti [EMAIL PROTECTED] said: How do those of you that installed a sizable number of Debian boxes manage your package updates? I'm trying to figure out how to get around apt-get needing you to sit there and answer the same questions for each package on each box in a group of identically configured machines. One simple method is to use these three commands on every computer. You will see no more questions. export DEBIAN_FRONTEND=noninteractive apt-get update; apt-get upgrade -- regards Thomas
FAI 2.6.4
A bug fix release of FAI is now available. One new feature is implemented. Now, you can also use the new keyword aptitude for installing software packages. To use aptitude instead of apt-get for installing packages use PACKAGES aptitude in the file in packages_config/. NEWS - bug fizes - install_packages and files in package_config/ have now support for aptitude -- regards Thomas
Re: kernel BUG!
On Wed, 10 Nov 2004 17:53:31 +0100, Steffen Grunewald [EMAIL PROTECTED] said: Thomas, would it be hard to include xfs into the default kernel? It's not hard to include xfs (so everybody could do this by himself) but that would add more than 500k to the kernel. Then this kernel would not fit on a floppy any more (will break make-fai-bootlfoppy). I also think this is a modprobe, xfs driver or a kernel bug, so please fill a bug report against it. Therefore I will not include xfs into the default fai-kernel. -- regards Thomas
FAI 2.6.5 released
Before flying to Atlanta and visiting LISA 2004 I just released FAI 2.6.5 which has only small changes. The support for aptitude in the command install_packages (since 2.6.4) is very interesting, since aptitude could replace tasksel and apt-get. With aptitude you can install, remove, hold, purge all kinds of packages (even the tasks from tasksel) and use nice regular expressions to specify a buch of packages (Hi Henning, that's for you). New in FAI 2.6.5 - fcopy now handles svn and arch subdirectories, added option -I - install_packages does not remove unknown package names when using aptitude, so aptitude's search patterns can be used -- regards Thomas
Re: sample on how to do debconf integration
On Thu, 11 Nov 2004 16:14:52 +0100, Holger Schurig [EMAIL PROTECTED] said: the needed info for the postinst script. However, I'm not an expert on Debian yet, so I'm not sure if this is the right approach. If it is so simple, then why isn't it in FAI already? :-) Hi Holger, debconf-set-selections seems to be a newer command, that was not available in the past. Currently most of the FAI users can do their installations without preseeding and it works well for then, since they do their local changes with a cfengine or shell script or using fcopy. So the pressure to implement a debconf solution for FAI was not that high. So, any comments about this? Wooow, your solution is pretty neat. I got other solutions in the past but they were much more complicated. So, if your hook works for most people, it will make it into FAI soon. Hi FAI users! Please test Holger's hook and give feedback. -- regards Thomas
Huge AMD Opteron cluster installed with FAI
Hi FAI users, another huge and fast cluster was installed using FAI. The HPC2N Opteron cluster named sarek (after Sarek National Park) has a total of 384 processors and 1.54 Tbyte of memory: * 190 HP DL145 nodes, with dual AMD Opteron 248 (2.2GHz) * 2 HP DL585, with dual AMD Opteron 248 (2.2GHz) * 8 GB memory per node * Myrinet 2000 high speed interconnect It's running Linux 2.6.x and is using the Debian Pure64 port. This cluster was listed at rank 168 on the top500.org list of june 2004 and is now at rank 220 (11/2004). It's homepage is http://www.hpc2n.umu.se/resources/sarek.html There are also some nice pictures of their clusters. http://www.hpc2n.umu.se/images/archive/20040607-DeliveryOfM/ http://www.hpc2n.umu.se/images/archive/20040608-CablingOfM/ http://www.hpc2n.umu.se/images/archive/20040609-MoreOfM/ http://www.hpc2n.umu.se/images/archive/20040610-EvenMoreOfM/ http://www.hpc2n.umu.se/images/archive/20040614-MHPLAndSethNode/ Thanks to Bjorn Torkelsson who pointed me to this nice FAI example. -- regards Thomas
Re: 8MB
On Sun, 14 Nov 2004 15:36:44 +0100, Harald Gröne [EMAIL PROTECTED] said: Hi, In the FAI user guide it says, that 8MB on the clients is enough for FAI installation. I just started a FAI bootdisk on an 486, but It crashes during kernel boot. Do I have to build a custom kernel to get it work? 8MB was enough in the old days. Since the default fai install kernel now uses much more drivers, 8 MB will not suffice. AFAIK the linux kernel now has also more memory requirements to get working. -- regards Thomas
Re: make-fai-nfsroot cross-platform?
On Wed, 1 Dec 2004 16:59:22 +0100, Steffen Grunewald [EMAIL PROTECTED] said: I want to set up a FAI server on an Intel box, but to install to Alphas. So I copied everything from /etc/fai to /etc/fai.alpha, and changed the corresponding references to alpha mirror, new nfsroot path, etc. I also set --arch alpha in make-fai-nfsroot.conf. What I get from make-fai-nfsroot -c /etc/fai.alpha is This will NEVER work! Calling make-fai-nfsroot for another architecture can not work because you will call some commands in the chroot of another architecture. So you have to execute an alpha binary on an intel box. Can you? NO! You have to create the nfsroot on the same architecture. Then, it's possible to tranfer a tarball of it to another machine serving as NFS server. -- regards Thomas
Re: Problem with FAI Floppy
On Wed, 15 Dec 2004 15:04:44 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] said: Dear FAI users, I install many servers with PXE install on servers without CDROM Floppy, and I have de fololowing problelm during installation: end_request: I/O error, dev 02:00 (floppy), sector 0 end_request: I/O error, dev 02:00 (floppy), sector 2 end_request: I/O error, dev 02:00 (floppy), sector 5 end_request: I/O error, dev 02:00 (floppy), sector 7 end_request: I/O error, dev 02:00 (floppy), sector 0 Grub tries to detect or read something from the floppy, which is not there. Try to disable the floppy in the bios, or edit class/06hwdetect.source and do not load the floppy kernel module. This should fix the problem. -- regards Thomas
Re: Problem creating sarge nfsroot
On Wed, 22 Dec 2004 11:13:05 +0100, Francois JEANMOUGIN [EMAIL PROTECTED] said: Hi all, I'm just doing my first steps through FAI. My setup uses an apt-proxy instead of a mirror. I think it should work. The install server is running woody. I just installed the latest FAI for sarge clients (2.6.5). When running fai-setup, it stops there: Creating nfsroot for sarge using debootstrap E: Couldn't download console-tools-libs chroot: cannot execute apt-get: No such file or directory You need to install the newest debootstrap package on your install server. Since you are using an old debootstrap version, it contains a wrong package list for building a sarge chroot environment. Use apt-get source to get the deboostrap sources from sarge, then rebuild the package on your woody system. There are some mails converning this topic in the fai mailling list archive. http://www.uni-koeln.de/bin2/maillist/linux-fai/20040824.193057/166401 http://www.uni-koeln.de/bin2/maillist/linux-fai/20040719.122106/166401 -- regards Thomas
Re: FAI on AMD64
On Sun, 19 Dec 2004 21:12:35 +0100, Peter 'p2' De Schrijver [EMAIL PROTECTED] said: Hi, I installed my AMD64 box using FAI. It worked quite well, except for the grub installation which failed. This is because the FAI kernel for AMD64 lacks support for IA32 binaries (CONFIG_IA32_EMULATION). Did anyone else encounter the same problem ? Or am I the only one using grub and FAI on AMD64 ? I only once tried to boot and to start the FAI installation on a amd64 machine. I did not let it finished, so I didn't catch this fault. Just compile a new fai install kernel with this option enabled. I will try to include a patch in the next fai-kernels version. -- regards Thomas
Re: rsh GRUB/lilo strangeness
On Wed, 22 Dec 2004 10:00:49 -0800 (PST), Paul English [EMAIL PROTECTED] said: rsh -l fai faiserver failed. I tried to replicate this command in the shell window, and it could not figure out the hostname. Then I put faiserver as the name of my fai install server in /etc/hosts in the nfs install image and it shows up on Use the variable $NFSROOT_ETC_HOSTS in make-fai-nfsroot.conf for this. rsh -l fai 10.10.10.34 it prompts me for a password immediately. It is almost like /etc/hosts is being ignored. I'm not sure where it is supposed to get the value for faiserver from if not /etc/hosts. It appears not to be fully working anyway, since I don't think it is supposed to be asking for a password. (based on the fact that there is a .rhosts file in user fai's home directory) The .rhosts must not be readable by other users. Do a chmod go-wrx .rhosts This then generates a new GRUB error, even though I told the client to install LILO instead of GRUB (I was having problems with GRUB previously, but noone responded about that one). The GRUB error is: Grub loading stage 1.5. Is a kernel installed into the new system? Have a look at shell.log. How does the /tmp/target/boot/grub/menu.lst looks like (before you reboot the install client? Did you add the class MBR? This isntalls the boot loader into the master boot record. Otherwiese the boot loader is only in the boot partition and maybe an old mbr is used. -- regards Thomas
Re: fai-setup: (1) all_squash,anonuid=500,anongid=500 (2) exportfs -r
On Thu, 23 Dec 2004 01:02:28 +0200, Shaul Karl [EMAIL PROTECTED] said: Just wondering why not having fai-setup (1) use all_squash,anonuid=500,anongid=500, or some other uid and gid both for $FAI_CONFIGDIR and $NFSROOT when exporting those directories. Please explain in more detail why this makes sense. (2) use exportfs -r instead of guessing which nfs server is running and restarting it. The command exportfs is only available if you are using the nfs-kernel-server. -- regards Thomas
Re: fai-setup: (1) all_squash,anonuid=500,anongid=500 (2) exportfs -r
On Fri, 24 Dec 2004 20:39:27 +0200, Shaul Karl [EMAIL PROTECTED] said: On Fri, Dec 24, 2004 at 09:42:36AM -0500, [EMAIL PROTECTED] wrote: Forgive me if I'm stating the obvious, but doesn't exporting it read-only solve all the problems? Even if no_root_squash is set (which is desirable on nfsroot), no one can do anything to the filesystem remotely since it's read only. If (and I am not sure if this is the case) installations will work with all_squash,anonuid=`id -u fai`,anongid=`id -g fai` IMHO this will not work. Then the install clients can't read files that are in the nfsroot that belong to the root user and are not readable for the user fai. -- regards Thomas
Re: AMD64 Help
On Mon, 03 Jan 2005 16:15:47 -0700, Robert LeBlanc [EMAIL PROTECTED] said: rcS.log:Couldn't stat source package list file: sarge/main Packages (/tmp/target/var/lib/apt/lists/_tmp_target_mnt2_pure64_dists_sarge_main_binary-amd64_Packages) - stat (2 No such file or directory) rcS.log:Couldn't stat source package list file: sarge/contrib Packages (/tmp/target/var/lib/apt/lists/_tmp_target_mnt2_pure64_dists_sarge_contrib_binary-amd64_Packages) - stat (2 No such file or directory) rcS.log:Couldn't stat source package list file: sarge/non-free Packages Gave a look at your sources.list file and check updatebase.log. I think your mirror is broken and lacks some index files. -- regards Thomas
Re: devices missing?
On Tue, 4 Jan 2005 14:11:24 +0100, Steffen Grunewald [EMAIL PROTECTED] said: /usr/sbin/mkinitrd: device /dev/hda1 is not a block device So everything boils down how to avoid the /tmp/target/.dev tree being mounted... who knows how? and mount /tmp/target/proc before/after mountdisks - why doesn't mountdisks do that although there's a /proc entry in /tmp/fai/fstab ?) Currently /tmp/target/proc is mounted in the task updatebase. But I will move it to task extrbase which makes more sense. From the udev startup script: # if you don't like this, remove /.dev/. [ -d /.dev ] mount -n --bind /dev /.dev So maybe a hook which removes /.dev will help. But which package is creating tmp/target/.dev ? -- regards Thomas
Re: fai with SATA hard disk
On Tue, 11 Jan 2005 17:12:33 +0100, Emmanuel.Leguy [EMAIL PROTECTED] said: Maxtor SATA of 160GB. Fai can't detect it. I tried /dev/hda and /dev/sda in the disk_config file and it can't find it. I use the kernel 2.6 for installation. Does it contain the needed drivers? Must I used a custom The 2.4 and 2.6 kernels in fai-kernels 1.8.2 contain the SATA drivers. But if discover (in 06hwdetect.source) can't detect the driver properly you can add the kernel module explict to the variable $kernelmodules which is also defined in 06hwdetect.source -- regards Thomas
Re: Problem using fai with (about) serial console
On Tue, 11 Jan 2005 12:22:59 +0100, Francois JEANMOUGIN [EMAIL PROTECTED] said: - Are their any parameters I could give to the fai installer so that it does not try to use special characters on the console ? touch /usr/lib/fai/nfsroot/.nocolorlogo will disable the red copyright message. -- regards Thomas
Re: error in DEFAULT/S01
On Mon, 10 Jan 2005 18:06:37 +0100, Rudy Gevaert [EMAIL PROTECTED] said: Hi My installations always give me the following: rcS.log:DEFAULT/S01 FAILED with exit code 1. rcS.log:Rename for 0A14 failed.No such file or directory shell.log:DEFAULT/S01 FAILED with exit code 1. It's just the return code of the last commands in your S01 script. IMHO you can ignore the error. -- regards Thomas
Re: Passwords in FAI (Was: Re: Copy directories with fcopy)
On Thu, 13 Jan 2005 14:23:37 +0200, [EMAIL PROTECTED] (Markus Törnqvist) said: Must I enable crypts manually somewhere? In which format is the default root password after fai? 16-bit MD5? Password are normal crypt password without using /etc/shadow. This will change in fai 2.6.6 (comming soon). Have a look at scripts/LAST in fai 2.6.6 -- regards Thomas
Re: Installation hangs at Preconfiguring packages .. Fetched...
On Tue, 18 Jan 2005 10:48:50 +0100 (MET), [EMAIL PROTECTED] said: The installation starts und runs with no errors up to the point where FAI starts my own script under the scripts directory. In this script a 'apt-get update' is executed and a following 'apt-get install \packagename\' retrieves the package but then stops with Preconfiguring packages .. Fetched 5515kB in 3s (1713kB/s) Try to detect which package is going to be preconfigured. Use ps aux and this command: COLUMNS=300 pstree -l Do you use the yes ''|apt-get install-pipe or without a pipe but redirecting stdin from /dev/null? Maybe this may help. -- regards Thomas
Re: Installation hangs at Preconfiguring packages .. Fetched...
On Wed, 19 Jan 2005 12:21:37 +0100 (MET), Heiko Zang [EMAIL PROTECTED] said: redirecting stdin from /dev/null? Maybe this may help. Tried that ($ROOTCMD apt-get install apache apache-common php4 /dev/null) but System hangs as well. No, that's wrong. Try this one, do not redirect stdout, but stdin $ROOTCMD apt-get install apache apache-common php4 /dev/null --- -- regards Thomas
Re: if PXE-Server ! NFS-Server?
On Wed, 19 Jan 2005 18:16:35 +0100, Michael Renner [EMAIL PROTECTED] said: after installing with bootp for years I have to switch to dhcp with PXE. But the dhcp pxe server is not the fai installation server. How can I configure, that the nfs-root for installation is an other host? At the moment the client get's an IP, get's the kernel from the dhcp pxe server. But where can I configure the name or IP of the NFS-server? IMHO, use server-name in dhcpd.conf. But it should also be possible to define it in pxelinux.cfg: From the file /usr/src/kernel-source-2.4.26/Documentation/nfsroot.txt: nfsroot=[server-ip:]root-dir[,nfs-options] Hope this helps. -- regards Thomas
Re: Installation hangs at Preconfiguring packages .. Fetched...
On Thu, 20 Jan 2005 13:47:45 +0100 (MET), Heiko Zang [EMAIL PROTECTED] said: I tried that but postconfigure of the php4 package asks if one wants to run the apacheconfig script and so the installation hangs. Please fill a bug against these packages. AFAIK packages must use debconf if they want to ask questions. -- regards Thomas
FAI 2.6.6 released
The new year starts with a new FAI release. A new command (fai-mirror) was added, which can be used to create a partitial Debian mirror, if you can't create a complete mirror for your architecture with mkdebmirror. With fai-mirror(1) you will only download packages that are used in your classes in package_config. This command will also be used for creating parts of the fai CD. New in FAI 2.6.6 - new command fai-mirror(1) to create a partitial Debian mirror - setup_harddisks: bug fix: error redefined mountpoint is wrongly reported, allow space before keywords primary and logical - install_packages: add option -f - task_sysinfo calls hwinfo if available (very nice hardware info) - 06hwdetect.source: SCSI detect code for 2.6 kernel - new variable FAICLIENTS in make-fai-nfsroot.conf. Used by fai-setup for exporting the nfsroot and the config space via NFS - create a list of all packages in base.tgz (for fai CD) - ftar: test if directory is / before removing files recursively - enable shadow passwords for passwd and group in examples - save files FAI_CLASSES, variables.sh and disk_var.sh to /var/log/fai not to /etc/fai - add supprt for booting from CD - other bug fixes -- regards Thomas
Re: New version 2.6.6
On Fri, 21 Jan 2005 10:41:22 -0700, ANDERSON RUSSELL D (ANDY) [EMAIL PROTECTED] said: The script can not resolve the ftp server name in the sources.list and fails on the apt-get update. I added another line to also create the $NFSROOT/etc/resolv.conf and it works as before. You should always add your ftp server to make-fai-nfsroot.conf NFSROOT_ETC_HOSTS=192.168.1.250 $mirrorhost -- regards Thomas
Re: FAI 2.6.6 released
On Fri, 21 Jan 2005 10:16:33 -0800, Travis Griggs [EMAIL PROTECTED] said: Please do not cite the whole mail, if you only need to cite some lines! - add supprt for booting from CD Just to clarify here... am I correct in reading between the lines that the FAI-CD stuff (booting and installing from a CD rather than a remote NFS mount) is all now integrated? No, not yet. Several new lines of code are included in the fai stuff to support the fai CD. But the main script, that creates the fai CD from an existing mirror and nfsroot and config space is not yet included in fai, and maybe will remain an external script. But it works for me very well ;-) Currently a few people have access to the first fai-CD iso image, and I hope to get feedback from them. Nial Young (who started the fai-bootCD project) is currently moving and not connected to the internet all the time. But I like to show him the new implementation, before other people can see it :-(. I also did not decided if I will maintain the new script or give it to Niall. So please be patient and wait until this script will be released. -- regards Thomas
RE: New version 2.6.6
On Fri, 21 Jan 2005 11:37:19 -0700, ANDERSON RUSSELL D (ANDY) [EMAIL PROTECTED] said: Recovering jove files ... Done. Error : Temporary failure in name resolution `/etc/fai/fai.conf' - `/var/lib/fai/nfsroot/etc/fai/fai.conf' I also get this error and ignore it always. When I update the $NFSROOT/etc/resolv.conf: Recovering jove files ... Done. `/etc/fai/fai.conf' - `/var/lib/fai/nfsroot/etc/fai/fai.conf' Thanks, I will look into it for the next release. -- regards Thomas
Re: fai trick: fix weird hostname
On Mon, 24 Jan 2005 11:38:06 +0100, Holger Schurig [EMAIL PROTECTED] said: There is no hostname in our local DNS for those DHCP addresses, so FAI assigns the IP address (!) to HOSTNAME. But '172.16.1.241' is a weird hostname. This is later used in /etc/hostname, /etc/hosts and probably at other places. In fai 2.6.6 you can set the hostname by appending following parameter to the kernel: HOST=demohost This will also set the hostname. For example. the fai CD contains following boot entry for grub: title FAI no network (pw: installme) password installme root (fd0) kernel /vmlinuz root=/dev/ram0 init=/linuxrc FAI_FLAGS=verbose,createvt,syslogd FAI_ACTION=install ip=off HOST=demohost rw initrd /initrd.img -- regards Thomas
Re: 2.4.24-fai: /tmp/fai/disk_var not found
On Tue, 25 Jan 2005 11:19:11 +0100, Michael Renner [EMAIL PROTECTED] said: Moin, I have to switch from the goold old 2.2.20 installkernel to 2.4.24-fai. the newest fai-kernels include a 2.4.27 kernel. Seems you are using an old version. Please update. -- regards Thomas
Re: partitionning probleme
On Wed, 26 Jan 2005 16:59:41 +0100, msa [EMAIL PROTECTED] said: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD Please, NO HTML mails ! Mountpoint redefined : / Which fai version are you using? This should be fixed in fai 2.6.6 * setup_harddisks: bug fix: redefined mountpoint are too often reported, allow space before primary and logical keyword -- regards Thomas
Re: quick V40z question
On Wed, 26 Jan 2005 17:41:57 +0100, Oliver Osburg [EMAIL PROTECTED] said: While the V20z do come up and boot fine, the V40z complains about being unable to get the nfs portnumber. Does this mean, that the V40z can't mount the nfsroot, or is the problem at a later stage? Maybe the kernel maps the ethernet devices in another order, so the nfs request is sent to the other nic. -- regards Thomas
Re: partitionning probleme
On Wed, 26 Jan 2005 21:26:29 +0100, msa [EMAIL PROTECTED] said: it's possible with 2.6.6 instaling woody with ftp access to a mirror ? For woody it's easier to use fai 2.5.4. it's possible to use setup_harddisks from 2.6 with a FAI 2.5.4 Yes. -- regards Thomas
Re: Problem with partition
On Mon, 07 Feb 2005 15:51:08 -0500, Laurent Seguin [EMAIL PROTECTED] said: did it with mkdebmirror. It seems to have a problem with the 06hwdetect.source since it can't find my ide hd. Try with FAI_ACTION sysinfo and look if the ide disk is detected. - when I use 'uname -r' on the fai client it responds 2.4.24-fai and That's the kernel during installation. there is no kernel-2.4.24 installed or 2.4.24-fai.deb package on my server ?? ls /usr/lib/fai/kernel/ One of these packager will be installed by make-fai-nfsroot into the nfsroot. - I use tftp to boot on the pxe system. After I have made a fai-chboot, I have to copy the /boot/fai/pxelinux.cfg/C0A80119 file to /var/lib/tftpboot/pxelinux.cfg/ to be able to start the correct installation. RTFM. Edit inetd.conf: tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -r blksize -s /boot/fai I am not sure there is a relation between these facts. NO. -- regards Thomas
Re: problem with 2.6.6.
On Wed, 16 Feb 2005 07:52:05 +0100, martin f krafft [EMAIL PROTECTED] said: My solution was: Remove the line (#238) in /usr/sbin/make-fai-nfsroot rm -f $NFSROOT /etc/resolv.conf Thomas, want me to submit a patch to the BTS? I'm not sure if this is really the proper solution for all. Currently I have no problems without this fix and I'm not sure if this fix will break other environments. -- regards Thomas
Re: Build a fai-kernel
On Wed, 16 Feb 2005 17:35:28 +0100, [EMAIL PROTECTED] said: it has one of those LSI-Logic thingies that need the mptscsi module sadly that seems to be the only scsi module not compiled should I submit a wishlist-bug and include my new .config? Just tell me which CONFIG_ item(s) I have to add to the default fai-kernels config. brfont size=2 face=sans-serifcome to think of it,/font Please, NO HTML mails, Richard! -- regards Thomas
Talks about FAI
Hi all, I will give some talks about FAI in the next two month. At FOSDDEM in Bruessel there's a Debian developers room where I talk at Sunday Feb 27th. http://www.fosdem.org/2005/index/dev_room_debian/schedule A Cebit exhibition in Hannover I will give a talk in german about Linux rollout using FAI. This talk will be the 16.03.2005 http://www.linux-events.de/LinuxPark/cebit05/LinuxForum/vortraege.html hope to see you a one ove the talks -- regards Thomas
Re: FAI LOGO
On Mon, 21 Feb 2005 10:18:12 +, Pedro Ferreira [EMAIL PROTECTED] said: Does FAI have a LOGO. No, currently not. There were some ideas for a a logo but until now no logo contest was started ;-( Im writting a paper about my work with fai and the question just poped Could you please send me a copy of it ASAP and maybe I can add a link to a webpage with your paper. -- regards Thomas
Re: fai-installation fails
On Tue, 22 Feb 2005 16:40:35 +0100, Matthias Lechner [EMAIL PROTECTED] said: Thanks a lot! that solved the problem! but why does fai use this kernel-image-2.4.27-1-386-entry instead of kernel-image-2.4-386, which would be much easier? This meta package did not exist for some time, so I had to use the other package name. But I will switch to the more generic name in a future release. -- regards Thomas
Re: installing ubuntu linux with fai
On Thu, 24 Feb 2005 23:51:40 +0100 (MET), [EMAIL PROTECTED] said: of tries, or can send them on request - too lazy to pack and upload them now... :) Please send them to me, maybe I can do some patches for the next fai release. P.S: I also heared that Mark Shuttleworth (the ubuntu guy) is interessted in FAI for ubuntu. Maybe you should inform him about your progress. -- regards Thomas
Re: partitioning problem
On Fri, 25 Feb 2005 12:16:25 +0100, Matthias Lechner [EMAIL PROTECTED] said: disk_config hde primary /mnt/win1 preserve1 ro X primary /mnt/win2 preserve3 ro X primary /mnt/win3 preserve4 ro logical / 70-2000 rw,errors=remount-ro ;-c -j ext3 the primary partitions are numbers from 1 to 3. The first logical partition will be number 5. These are the device numbers that are created. The order of the partitions in the disk_config this is important. So above, the line with an X are wrong. Use preserve2 for /mnt/win2 and preserve3 for /mnt/win3. -- regards Thomas
Re: partitioning problem
On Fri, 25 Feb 2005 14:35:37 +0100, Matthias Lechner [EMAIL PROTECTED] said: the point which i dont understand: why does debain-installer work but fai not? FAI uses a complete different script for partitioning ! This is not well tested in windo.. environments. -- regards Thomas
FAI Workshop in Germany
Hi there, on the following web page there's the announcement (only in german) for the first FAI workshop, a developers meeting held at the begining of aprril in germany. This will be a meeting of FAI users with practice in porting, patching, extending or debugging FAI. http://www.guug.de/veranstaltungen/fai-workshop-2005/ -- regards Thomas
FAI-CD ISO image available
Hi all, after the official presentation of FAI-CD at FOSDEM you can now download the ISO image at http://www.informatik.uni-koeln.de/fai/fai-cd Pay attention, it's about 600Mbytes large. It includes the simple examples that are included in the FAI package. I used fai-mirror(1) to create the partitial Debian mirror and a new implementation of Nial Young's fai-bootCD script to create the ISO image. This script is currently not released, I need some more feedback for the ISO, and have to do some debugging on the building script before it will be available. Have fun and send feedback to [EMAIL PROTECTED] or discuss problems on the fai mailling list. -- regards Thomas
Re: stupid cfenginequestion
On Mon, 7 Mar 2005 11:04:14 +0100, Steffen Grunewald [EMAIL PROTECTED] said: Hi, I'm trying to configure cfengine to do a bit more than before, and now I need to replace a string within a line. Try ReplaceAll. -- regards Thomas
smaller ISO images for fai-cd
Hi, I've created two new ISO images of fai-cd. I removed some packages that are not used for these examples. The bigger image is the same as before (but smaller), and the new small ISO image does not contain all the gnome and xfree packages, but can be used for sysinfo and to install the simles examples without a graphical interface. http://www.informatik.uni-koeln.de/fai/fai-cd/ -- regards Thomas
FAI release 2.6.7
FAI 2.6.7 only includes a minor (?) update. Support for preseeding debconf data is now implemented. Therefore the new task debconf was created. Have a look at fai-debconf(8) for more details. Currently the examples inside FAI do not use debconf preseeding. New in FAI 2.6.7 - add task debconf and new script fai-debconf for preseeding - minor updates in the fai guide -- regards Thomas
Foils of FAI talk in german availabe
Thanks to Henning Glawe who gave me the foils of his FAI talk in german. They are avialable at http://www.informatik.uni-koeln.de/fai/user.html in the section Other FAI documentation -- regards Thomas
Re: defining moduleslist variabele
On Fri, 11 Mar 2005 14:13:58 +0100, Rudy Gevaert [EMAIL PROTECTED] said: Hello, Can anyone tell me how the *.var files are processed. Are the variables appended to each other or are they overwritten? The correct answer is Overwritten. FAI is just sourcing shell scripts. -- regards Thomas
Re: ubuntu hoary FAI packages
On Fri, 11 Mar 2005 20:52:42 +0100, Henning Sprang [EMAIL PROTECTED] said: It's an interesting question how we could really incorporate it into FAI so that we can have debian/sarge, ubuntu hoary and maybe other distros nicely next to each other witth one FAI installation. Holger Levsen (i believe he was it) came up with the First, debootstrap must support this. Currently on Debian /usr/lib/debootstrap/scripts/ only includes the scripts for the Debian distributions. idea to have an /etc/fai-DISTNAME for each, and something like /usr/lib/fai/nfsroot-DISTNAME for each, /usr/local/share/fai can be shared or now. That works somehow, but I am not sure if this is the best idea (sorry Holger, just a feeling that it must be better), e.g. make-fai-nfsroot -c supports different config directories for that. fai-chboot -d supports also a different config directory. -- regards Thomas
Re: etherboot and FAI
On Mon, 28 Mar 2005 17:24:32 -0700, Jeffrey Stolte [EMAIL PROTECTED] said: However, we now have an older machine that does not support PXE booting. We were able to the use the rom-o-matic website to generate a boot floppy that works fine. However, I'm not sure where to set FAI_ACTION and FAI_INSTALL when using this method. The etherboot method does not appear to use the file in /boot/fai/pxelinux.cfg (generated by fai-chboot), understandably, since we're not using PXE. Using etherboot you can create a boot floppy, that supports PXE and then you can use fai-chboot to use the default fai method (loading pxelinux.0 and using pxelinux.cfg) for booting your clients. To use PXE support in etherboot, you should use the newest version of etherboot! From the changelog of Etherboot 5.3.14: PXE is now supported. You will also need to configure your server to provide a pxelinux.0 loader file, kernel and initrd images, and a pxelinux.cfg directory with a appropriate configuration spec files. I did that once with some old hardware, and it worked great when I used the new etherboot version (http://rom-o-matic.net/5.3.14/) P.S: I'm always very interested in user experiences with FAI. Can you please fill out the FAI questionnaire http://www.informatik.uni-koeln.de/fai/questionnaire and send it back to me when you finished a project with fai. -- best regards Thomas
Re: fai-mirror is missing a dependency
On Tue, 29 Mar 2005 10:31:38 +0200, Holger Schurig [EMAIL PROTECTED] said: Hi ! I just tried fai 2.7 and issued the fai-mirror command. It did not work out-of-the-box, because the fai deb doesn't include libapt-pkg-perl as a dependency. Your're right. This will be fixed in the next release. -- regards Thomas
Re: fai-mirror is missing a dependency
On Tue, 29 Mar 2005 13:19:55 +0200, [EMAIL PROTECTED] (Geert Stappers) said: Could fai-mirror get it's own package? (or should I file a wishlist BR) One plan for FAI 3 is to split the fai package into several packages (like doc, server, client, tools). But this is a long term plan. -- regards Thomas
FAI 2.8 released !!!
FAI 2.8 is released!!! A new new major FAI release is available. During the first FAI workshop in germany, the participants conviced me to include some major changes into the next release. So we had a very busy weekend and a busy week afterwards, but now FAI 2.8 is released. One major change is, that now we have a command fai! You can even say man fai :-) You can also do your daily maintenance of your systems with fai using the new action softupdate. Also, all simple examples had been review and now the examples are simpler than before and should work out-of-the-box. Thanks again to all people who helped during the last week testing some beta releases, writing a lot of patches, telling me how to use IRC, and for all the new ideas for improvements in FAI. I hope you all enjoy the new release best regards Thomas New in FAI 2.8 - rename rcS_fai to fai, add manual page fai.8 - new simple examples using class FAIBASE - add debconf support for the package itself - new action softupdates, update a system without reinstallation - fai-do-scripts now executes scripts matching [0-9][0-9]* - rcS.log is now fai.log - major updates in fai-guide (softupdate, fai on other archs) - add task prepareapt - variable $addpackages removed from examples scripts
Re: Boot Server != Root Server
On Wed, 13 Apr 2005 13:53:28 +0200, Robin Schroeder [EMAIL PROTECTED] said: Wir möchten nicht vom FAI-Server booten, da es bereits einen DHCP-Server gibt, von dem gebootet werden soll. Die meisten Mails auf der liste sind in english, Deutsch ist aber auch erlaubt. Gibt es eine Möglichkeit, FAI zu sagen, dass das NFS-Root nicht auf dem BOOT-Server liegt, sondern auf einem anderen (wo auch die FAI-Konfiguration liegt)? Ja. im pxelinux.cfg kann man zusaetzlich nfsroot= angeben (mit faichboot -k) z.B: fai-chboot -k nfsroot=192.168.1.111:/export/nfsroot -- regards Thomas
Re: problem install client
On Fri, 15 Apr 2005 16:50:39 +0200 (CEST), M.G. Dejean [EMAIL PROTECTED] said: I had put my kernel-image-2.6.11.deb in /usr/local/share/fai/files/packages is it wrong ? must i leave le file Packages.gz (the default package) alone ? You have to rebuild Packages.gz. Have a look at the FAI guide. -- regards Thomas
Re: Bootloader and another Problem
On Tue, 19 Apr 2005 10:49:13 +, Martin Tanzer [EMAIL PROTECTED] said: 1.) When the installation is finished, on tty0 strange errormessages show up and keep running - I am not able to read them. The keyboard freezes. Watching the installation process on annother terminal with tail -f /tmp/fai/* works fine - after the installation it is possible to switch back on tty0 and enter a shell. I have tested this behavior on two different client machines. Remove the tune2fs command in /fai/scripts/FAIBASE/10-misc and tell me if this will help. Some small string from the error message would help us to find the error. 2.) After installation grub is misconfigured. When a /boot partition is used, root is set to hd0,1 instead of hd0,0. Without a /boot partition grub looks for (hd0.0)/kernel, which is not present there. Switching from GRUB to LILO works fine. Known bug. Have a look at this URL for a small patch. http://www.uni-koeln.de/bin2/maillist/linux-fai/20050414.144400/167420 -- regards Thomas
Re: Using make-fai-bootfloppy on an Ubuntu Hoary 5.04 FAI nfsroot
On Thu, 21 Apr 2005 15:56:49 -0400, Andre Luis Lopes [EMAIL PROTECTED] said: ls: /usr/lib/fai/ubuntu-nfsroot/boot/vmlinu?-*: No such file or directory There's no kernel image available inside the nfsroot. Maybe make-fai-bootfloppy should check for it first. Anyone who likes to send me a patch for this? -- regards Thomas
Re: FAI 2.8 and Ubuntu Hoary : sfdisk: cannot open /dev/hda for reading
On Fri, 22 Apr 2005 10:33:07 -0400, Andre Luis Lopes [EMAIL PROTECTED] said: I don't know if this is somewhat related to the fact that Ubuntu uses udev by default, but sfdisk can't open /dev/hda on the target system for reading and so it can't partition the device and then the installation can't go on. Maybe the FAI setup scripts (inside the nfsroot) do not activate udev support on the install client. The default /etc/init.d scripts are not run by FAI. Do you know which scripts/commands are used to enable udev support? -- regards Thomas
Re: poll: cfengine2
On Mon, 25 Apr 2005 15:37:32 +0200, Richard Wonka [EMAIL PROTECTED] said: Also: fai being client/server as cfengine2 is - wouldn't it make sense to use cfengine2 in fai? Yes, surely. I'm looking for a cfengine2 expert who will test all cfengine1 scripts in FAI (currently two scripts in the simple examples) and who can tell me if they will also run with cfengine 2. Most scripts should still work via '#!/usr/sbin/cfagent -f ' instead of '#!//usr/bin/cfengine' Should still work does not convince me!!! You have to proof it! You have to test it and to know which are the difference in cfengine 1 and 2 and if they may influence the FAI scripts. If this is done, I like to switch to cfengine2. MfFai: How well will cfengine2 fit into the 'updating a system with fai' - concept? Perfect. There's a company using FAI, which only uses cfengine2 scripts as config scripts and for updates and maintenance of the whole system. So if you like cfengine2 you can do all configuration partys with cfengine2. I prefer a mixture between shell and cfengine. -- regards Thomas
Re: FAI CVS and how to access it
On Tue, 26 Apr 2005 16:00:48 +0200, Diego Biurrun [EMAIL PROTECTED] said: Hello! errors I found. Unfortunately neither the web page nor Google tell me how But the FAI guide does: http://www.informatik.uni-koeln.de/fai/fai-guide.html/ch-intro.html#s-availability -- regards Thomas
Re: The groundhog installation...
On Tue, 3 May 2005 09:30:56 +0200, Guejo [EMAIL PROTECTED] said: error.log and the other logs are OK), but fai-chboot doesn't rename the file /boot/fai/pxelinux.cfg/CA095601 into /boot/fai/pxelinux.cfg/CA095601.disable. I have tried to debug the Try this on the install client during the installation: rsh -l fai install server Does this work without giving a password? It should work (unless your want to use ssh instead of rsh), otherwise the root account from the install client can't log into the install server to call fai-chboot. Also check if the account fai on the install server has write permissions in the directory /boot/fai/pxelinux.cfg. but when I submit the same string a second time, the output is not the same. Have I missed some point or am I going mad ?... It's because crypt uses a salt with is different during the second call. Read the man page of mkpasswd again. You can also give the salt on the command line. By the way, how do I know which type of encryption I should use (default ? md5 ?). You have to decide this by your own. Thank you for your patience. Please do not forget the FAI questionnaire ;-) -- regards Thomas
FAI 2.8.1 released
Sarge is now frozen and FAI 2.8.1 was released! Some days agao, I released a new version of FAI. First, many thanks to Diego Biurrun who send me a lot of corrections for typos in the FAI guide. This work is as important as writing code but only few people are doing it. FAI now also includes french translations of the debconf data. Thanks again for this patch. Thanks also to all the helpful guys for testing and patching FAI 2.8.1, and for all help on IRC #fai. I'm very new to IRC but it's proven to be very useful for me. I now implemented CVS commit mail support. If you are interested in commit mails for the fai and fai-kernels sources, send an email to [EMAIL PROTECTED] an I will add you to the list. Currently you can't subscribe yourself to this internal list. New in FAI 2.8.1 - minor bug fixes - added $COLOR_FAI_LOGO which is off unless doing initial installations - added german and french translation of the debconf templates - task sysinfo mounts the local partitions read only - move some classes from 10-base-classes to the new script 50-host-classes - fixed a lot of typos in the fai guide -- regards Thomas
Re: xserver-xorg file configuration problem
On Tue, 10 May 2005 13:00:46 +0200, Guillaume Desmottes [EMAIL PROTECTED] said: Hi! I'm installing Hoary clients using FAI and have a problem with xserver-xorg and /etc/X11/xorg.conf. The xfree server config file is generated only when calling dexconfig. Maybe xserver-xorg also has such a program to generate the config from the debconf values. -- regards Thomas
Re: FAI: installation aborted.
On Tue, 10 May 2005 14:36:49 -0400 (EDT), Dan B. Phung [EMAIL PROTECTED] said: tftp: client does not accept options blade01 rpc.mountd: authenticated mount request from blade02:800 for /diskless_ro (/diskless_ro) This is ok.
Re: FAI: installation aborted.
On Tue, 10 May 2005 14:14:23 -0400 (EDT), Dan B. Phung [EMAIL PROTECTED] said: I've gotten past the previous NFS errors, and now have FAI specific errors :) I see the boot of FAI going, it loads the network card, the hard drive controller, and then it gets to runlevel 2 and stops. You nfsroot is not build correctly. Please call make-fai-nfsroot -v and check if everything is ok. The FAI guide has information which message are normal and which are important to see. -- regards Thomas
Re: E: Broken packages with 2.8
On Wed, 11 May 2005 02:35:05 +0200 (CEST), [EMAIL PROTECTED] said: 2.6.5. it seems that there are really broken packages somewhere. Call make-fai-nfsroot -v and see which package is broken. -- regards Thomas
Re: USB keyboard during install
On Wed, 11 May 2005 16:24:48 +1000, Nicolas Triantafillou [EMAIL PROTECTED] said: The FAI 2.8.2 installation however, I can't really get a machine completely installed.. because I can't use the USB keyboard, I can't debug my current problem and get any futher ;-) 'Warning: directory /fai/class not found.' Here's your problem. Your config space is not mounted (for whatever reason), so no scripts in /fai/class are executed. But we need the script /fai/class/20-hwdetect.source to be executed, because this script loads the USB kernel drivers. So your USB keyboard is only availabe after this script is executed. If you need USAB support before, you have to compile a new install kernel package with buildin USB support. The default install kernels from the fai-kernels have USB support only as loadable modules. But it would be better to find the error, why your config space is not mounted. -- regards Thomas
Re: E: Broken packages with 2.8
On Wed, 11 May 2005 16:56:21 +0200 (CEST), [EMAIL PROTECTED] said: The following packages have unmet dependencies: cfengine: Depends: perl5 dpkg-dev: Depends: perl5 Depends: perl-modules but it is not going to be installed libnet-perl: Depends: perl (= 5.6.0-16) but it is not going to be installed E: Broken packages Your mirror seems not to be up to date or not completly in sync. I have now problems createing a new nfsroot today with a brand new mirror. There are two locations whe you reference the mirror. One is $FAI_DEBOOTSTRAP and the other is /etc/fai/sources/list. Seems that the cfengine package is an older version. Here's my output from make-fai-nfsroot: . . Unpacking cfengine (from .../cfengine_1.6.5-1_i386.deb) ... . . In my make-fai-nfsroot.conf-file I got : FAI_DEBOOTSTRAP=sarge ftp://ftp.de.debian.org/debian; That's correct. This is the server where make-fai-nfsroot gets its files from, right? No this is where debootstrap get its files from. When adding additional packages, the URIs from /etc/fai/sources.list are used. Both need to be in sync, so the dependencies will match. i tried to add perl and perl-base to packages in You do not need this. -- regards Thomas
Re: The groundhog installation...
On Fri, 13 May 2005 17:55:25 +0200, Guejo [EMAIL PROTECTED] said: I've tried the rsh command and I _must_ supply a password. And I don't What is the content of ~fai/.rhosts on the install server? If the files does not exists, RTFM. An another point is that fai-chboot *is* launched, but it doesn't do Try: fai-chboot -SFv yourhostname By the way, when an update from 2.7 to 2.8 is done, should an fai-setup be called again ? Yes. -- regards Thomas
100th FAI questionnaire!
The 100th completed fai questionnaire has been submitted! The first questionnaire is from 15 Jun 2001 which says: How many host have you installed using fai ? No complete installs. Teething problems. But now most FAI users list some (up to 300) succsessfull installations at their site :-) Thanks again for all the feedback! Without this feedback fai wouldn't be so good. -- best regards Thomas
FAI 2.8.3 released
We had to fix a serious policy violation in fai to enter the sarge distribution. So we removed the debconf code when installing the fai package itself and inserted some default values for accessing the Debian mirror. Maybe debconf support will be reenabled after sarge. The debconf support during installation for preseeding your software packages is still included in the fai package. We also applied some minor changes to the documentation. -- regards Thomas
fai 2.8.4 released
FAI 2.8.4 fixes only a simle bug. non-US is no longer available in sarge so the line in sources.list was removed. I also removed a nonfree packages from the simple examples. NEWS - small but important bug fix: remove non-US entry -- regards Thomas
Re: FAI install hangs on endless scrolling screen with kernel 2.6
On Wed, 25 May 2005 15:49:41 +0200, Henning Sprang [EMAIL PROTECTED] said: When using kernel 2.6, the installation keeps hanging on the disk config task, and the screen has an endless scrolling in the area where the log is shown otherwise (the banner is still intact) with something with the words boot and block which i cannot quite read. Maybe this is bug 307147? -- regards Thomas
Re: hangcheck module (was Re: FAI install hangs on endless scrolling screen with kernel 2.6)
On Wed, 25 May 2005 17:07:33 +0200, Holger Levsen [EMAIL PROTECTED] said: Hi Phill, On Wednesday 25 May 2005 16:43, you wrote: Is there any chance this could go in the hangcheck module could be put into the standard fai kernel build? what's the hangcheck module ? I guess enabling, but not using the module cannot do any harm, it just makes the kernel bigger ? - Please file a bug against fai-kernels... Do we really need the hangcheck module in the default fai-kernel? IMO no. If you have a serious kernel problem with your fai kernel, you can build a new fai kernel yourself. But maybe your problem is related to bug #307147 and so we have a workaround in fai and with kernel 2.6.11 this bug should be fixed. -- regards Thomas
Re: fai 2.8.3 skipping packages?
On Wed, 25 May 2005 17:22:58 +0200, Steffen Grunewald [EMAIL PROTECTED] said: BTW, it's very confusing that the fai/download/ area is kept so clean - it's almost impossible to find the previous version, let alone diffs. (There is one from 2.8 to 2.8.2...) You can download old versions from http://snapshot.debian.net/ or from http://sourceforge.net/projects/fai Now we often have the situation, when installing a new FAI version, that it's very useful (or even needed?) to merge changes in the FAI example configs into your own, customized FAI config space in /usr/local/share/fai, which can, in case you really edit the example config's scripts and things like that, be a nice little hell. You can always do diff -r /usr/share/doc/fai/examples/simple /usr/local/share/fai Installing a new FAI version does not overwrite your config space at all. So you can use your old config space with newer fai version. This does not always apply to file in /etc/fai but I try to keep changes in those files to a minimum. But unfortunately we had to change things there in the last few versions of fai. I'm sorry for that. - and it's quite a mess to patch the patch files with almost every new release (install package, overwrite files, read them, check with the patches, run patch --dry-run, patch the patch, dry-run again...) Use dpkg-divert when overwriting a file in fai to keep you versions when upgrading. You're right that we've change some major things in /etc/fai files several time in the last versions of fai. But with fai 2.8.4 beeing in sdarge we will have a stable fai release for at least 3 years ;-) -- regards Thomas
Re: long time in setup?
On Fri, 27 May 2005 08:07:20 +0200, Steffen Grunewald [EMAIL PROTECTED] said: Note that it takes more than 3 minutes to return from setup In my experience, if something takes to long, it's always a DNS lookup. -- regards Thomas