Re: FAI kernels versus regular Debian kernels
Hi, On Tuesday 03 July 2007 17:34, Tim Cutts wrote: As far as I can tell, just that they don't use an initrd. They contain all the drivers required to get the network up and start NFS- root, compiled in statically, and then everything else is modules in the NFS root filesystem. That's correct. By now fai-kernels has been requested to be removed from unstable (and thus will not be part of lenny), as fai in svn works without fai-kernels (and with nfsroot-capable initrds). regards, Holger pgpMc2W14hX1N.pgp Description: PGP signature
Re: FAI for other distributions
we are looking for an automatical installation system, which is able to install different distributions (Gentoo, Suse, CentOs, ...). Has somebody experience in this direction using FAI? Hi my experience with FAI and SuSE were so awfull, so that we only use FAI with Debian :-( -- Regards, Jens Strohschnitter - *!!!LINUX LINUX LINUX LINUX LINUX!!!* * http://www.jens-strohschnitter.de * - Set the controls for the heart of the sun - __ Raiffeisen Waren-Zentrale Rhein-Main eG 50668 Koeln, Altenberger Str. 1a Tel: 0221/1638-0 Fax: 0221/1638-254 Sitz: Koeln Amtsgericht Koeln, GnR 728 Vorstand: Hans-Josef Hilgers (Sprecher) Markus Stuettgen Dr. Karl-Heinrich Suemmermann Friedhelm Decker (Vorsitzender) Ingo Steitz Vorsitzender des Aufsichtsrates: Peter Bleser (MdB) St.Nr.: 215/5938/0152 Bankverbindung: WGZ Bank AG, Duesseldorf (BLZ 300 600 10) Konto-Nr.: 300 011
Re: FAI for other distributions
Hi, Am Mittwoch, den 27.06.2007, 12:52 +0200 schrieb Jens Strohschnitter: we are looking for an automatical installation system, which is able to install different distributions (Gentoo, Suse, CentOs, ...). Has somebody experience in this direction using FAI? Hi my experience with FAI and SuSE were so awfull, so that we only use FAI with Debian :-( It works here with around 1300 servers :) \sh -- Stephan Hermann eMail: [EMAIL PROTECTED] Blog: http://linux.blogweb.de/ JID: [EMAIL PROTECTED] OSS-Developer and Admin
Re: FAI for other distributions
Moins, Am Montag, den 25.06.2007, 17:02 +0200 schrieb Henning Fehrmann: Hello, we are looking for an automatical installation system, which is able to install different distributions (Gentoo, Suse, CentOs, ...). Has somebody experience in this direction using FAI? SuSE and CentOs (RedHat based) etc. are not the problem. Gentoo is indeed one of the challenges. For this to work you need precompiled packages and a chroot of gentoo with portage installed. For SuSE and other rpm based distros I'm just working on a documentation for FAI. Regards, \sh -- Stephan Hermann eMail: [EMAIL PROTECTED] Blog: http://linux.blogweb.de/ JID: [EMAIL PROTECTED] OSS-Developer and Admin
FAI for other distributions
Hello, we are looking for an automatical installation system, which is able to install different distributions (Gentoo, Suse, CentOs, ...). Has somebody experience in this direction using FAI? Regards Henning
New user do FAI
Hi. I'm using fedora/kickstart for a long time, but now I will use debian/fai. Sorry if any of my questions are dumb. I was used to use only a boot CD and a mirror accessed via FTP, with all configurations on a single file. But with FAI, things are a bit different. Although is more flexible, its initial setup may be a bit tricky. As far as I understood by reading the documentation, NFS is needed for the initial system (kernel, fai,...) setup on the client (machine to be installed), right? If so, can I use other that NFS? After initial system setup, how can the remaining data(packages, scripts,... ) be transfered to the client? NFS also? Thanks
Re: Using FAI to install a root Server
Holger, I had been thinking a bit about your suggestion over the weekend. In my special situation (rented dedicated server, aka root Server) it would of course cover 3/4 of the potential benefits to just use the so called soft update for configuring and installing software automatically after a manual installation of the root system. But I would like to have that last 1/4 as well. Typically, manual installation in case of a root Server means that you will get any kind of image that the company you rent the server from has created. That image might already contain stuff you don't want (I once had a complete graphical desktop in such an image; quite useful on a headless server) and AFAIU this won't get de-installed by FAI. Another subject is disk partitioning. With the image, I either get all of the disk in one partition (and I might want to have separate system and user data partitions) or vice versa. So I need to reformat. Also some server rental companies are slow to support new kernel version in their images and we for sure want Xen kernels with some of our machines. So adding this up, I feel that it's worth solving this properly and come up with a mechanism to make sure that a root server gets installed with the disk paritions and the kernel I want and *only* the software I want. Not to mention desaster recovery. A desaster will always happen when you will not be there yourself and don't have the most experienced personell on duty. So having kind of a one-button restore mechanism (after someone replaced a faulty harddisk for example) can be quite useful as well. Of course, this is an individual decision. Regards, Torsten Holger Levsen schrieb: Hi, On Friday 11 May 2007 18:17, Thomas Lange wrote: system and then use FAI softupdates to configure the machine and keep it up to date. Holger, this is the FAI mailing list. We do not want to install manually :-) Thomas, I seriously think you're wasting FAIs potential if you insist on doing fully automatic installations only with FAI. To me FAI means Fine automated infrastructure. And sometimes doing manually installations and just doing the rest (which is usually more than 95% of the work) with FAI is much more sensible than insisting on fully automatic installations. regards, Holger
Re: Using FAI to install a root Server
Little update in case anyone is following this tread: Pitfall #1: On the FAI server, double-check that /srv/fai/nfsroot/etc/hosts has a proper name and IP address for the FAI server. When the FAI install kernel on the install client boots and mounts the root FS via NFS, it does not have any DNS services configured, at least not in my case. (It might have gotten DNS servers through DHCP but I don't have DHCP.) So it has to rely on /etc/hosts to be able to find the install server. Once I fixed that, I was able to see the install client not only mount /srv/fai/nfsroot but also /src/fai/config! Unfortunately, still no SSH on the install client despite FAI_FLAGS=sshd. So Tip #2: To follow on the install server what the install client might be doing (or not) start rpc.nfsd with the -l (as in logging) option to receive a log of all files that the install client reads from the server. I can see there that it reads this in my case: May 14 17:11:12 localhost nfsd[20230]: 217.20.118.216 /srv/fai/config/class/10-base-classes May 14 17:11:13 localhost nfsd[20230]: 217.20.118.216 /srv/fai/config/class/20-hwdetect.source May 14 17:11:24 localhost nfsd[20230]: 217.20.118.216 /srv/fai/config/class/50-host-classes May 14 17:11:25 localhost nfsd[20230]: 217.20.118.216 /srv/fai/config/class/FAIBASE.var So after it got this, interesting enough, here is what is happening next: May 14 17:11:26 localhost nfsd[20230]: 217.20.118.216 /srv/fai/nfsroot/usr/lib/fai/load_keymap_cons olechars May 14 17:11:26 localhost nfsd[20230]: 217.20.118.216 /srv/fai/nfsroot/bin/loadkeys May 14 17:11:26 localhost nfsd[20230]: 217.20.118.216 /srv/fai/nfsroot/lib/libcfont.so.0.0.0 May 14 17:11:27 localhost nfsd[20230]: 217.20.118.216 /srv/fai/nfsroot/usr/share/keymaps/i386/qwert y/us-latin1.kmap.gz May 14 17:11:27 localhost nfsd[20230]: 217.20.118.216 /srv/fai/nfsroot/bin/gunzip May 14 17:11:27 localhost nfsd[20230]: 217.20.118.216 /srv/fai/nfsroot/bin/sleep After the sleep, nothing happens anymore And as I said, no sshd running on the install client. So I cannot login there to read anything from /tmp. Ok, on to the next round. As I know now that the install client has a proper network config (as it is able to NFS from userland), I might experiment a bit with netcat to try and send some logging output from the install client to the install server. I will keep the list posted. Regards, Torsten Thomas Lange schrieb: On Fri, 11 May 2007 17:37:46 +0200, Torsten Schlabach [EMAIL PROTECTED] said: But what we know for sure is: It mounted the root filesystem via NFS from the FAI server. I just checked, even a regular kernel would then start init which would in turn execute /etc/init.d/rcS; which would be coming from the NFS root rcS is a symlink /srv/fai/nfsroot/etc/init.d/rcS - /usr/sbin/fai Is it correct to assume that when I mount /srv/fai/nfsroot as /, then the install client will be chrooted and see /srv/fai/nfsroot as /, so if init is looking for /etc/init.d/rcS, this will map to /srv/fai/nfsroot/etc/init.d/rcS on the server? Yep. And that should be a symlink to fai. Does the FAI kernel have ext2/ext3 filesystem support? Only as a module. Is it built with netconsole support? Waht is netconsole? What does the -m option mean on the kernel command line? ?? You mean make-fai-bootfloppy -m? Read the man page.
Using FAI to install a root Server
Dear List! I am currently doing some experiments with FAI to use it to install a server which is rented in a data centre somewhere on the Internet, aka root Server. This mean in practice: - I have no access to the hardware, i cannot insert any CDs or the like. - I have no power over any DHCP infrastructure in the network the box is in. So here is what I did / tried: 1. I have created a FAI server which can be reached via the Internet. 2. I have created a boot floppy image, mounted it with -o loop and looked at the grub config. There I found a kernel image called vmlinuz-2.6.20-fai-kernels So I have set up Lilo on the server to boot into this kernel and used the append variable to add the kernel parameters for IP config and mounting the NFS root filesystem. This seems to have worked, because if I reboot the server (I can do that through a remote control web interface) I can see that it mounts the /srv/fai/nfsroot from my FAI server. From that I conclude that I boot the right kernel and that the kernel parameters for root=/dev/nfs and the corresponding IP configuration seem to have worked. But IIUC I should - in a next step - see that the install client mounts the /srv/fai/config directory, but it does not even attempt to and I wonder why. Any ideas? I am not sure that should happen next after the FAI kernel has booted and mounted the root filesystem. Is there anything in my /srv/fai/nfsroot which I should check? There is no initrd involved, is there? Do I have any means to write debug information anywhere over the network? faimond does not display anything. Regards, Torsten
Re: Using FAI to install a root Server
On Fri, 11 May 2007 11:05:12 +0200, Torsten Schlabach [EMAIL PROTECTED] said: - I have no access to the hardware, i cannot insert any CDs or the like. - I have no power over any DHCP infrastructure in the network the box is in. So I have set up Lilo on the server to boot into this kernel and used the append variable to add the kernel parameters for IP config and mounting the NFS root filesystem. This seems to have worked, because if I reboot the server (I can do that through a remote control web interface) I can see that it mounts the /srv/fai/nfsroot from my FAI server. That's not bad. From that I conclude that I boot the right kernel and that the kernel parameters for root=/dev/nfs and the corresponding IP configuration seem to have worked. yep. But IIUC I should - in a next step - see that the install client mounts the /srv/fai/config directory, but it does not even attempt to and I wonder why. Read the log files or put them on paste.debian.net Which FAI version are you using? There where changes from FAI 2.x to 3.X. There is no initrd involved, is there? No. FAI currently does no use an initrd. -- regards Thomas
Re: Using FAI to install a root Server
Hi Torsten, On Friday 11 May 2007 17:37, Torsten Schlabach wrote: I cannot use that support guy; it was pure chance that a remote reset did not work, so I had to use their support and he told me that. If I make them fix that, they are going to charge be an unreasonable amount of money for remote hands. If it's just a single box, I would definitly remotly install manually with debian-installer (either via serial console or ssh) a base system and then use FAI softupdates to configure the machine and keep it up to date. That way you also dont need nfs at all. regards, Holger pgpHWXjUN3p2C.pgp Description: PGP signature
Re: Using FAI to install a root Server
Hi, On Friday 11 May 2007 18:17, Thomas Lange wrote: system and then use FAI softupdates to configure the machine and keep it up to date. Holger, this is the FAI mailing list. We do not want to install manually :-) Thomas, I seriously think you're wasting FAIs potential if you insist on doing fully automatic installations only with FAI. To me FAI means Fine automated infrastructure. And sometimes doing manually installations and just doing the rest (which is usually more than 95% of the work) with FAI is much more sensible than insisting on fully automatic installations. regards, Holger pgpeXiOGPRfh5.pgp Description: PGP signature
Re: FAI CD for etch using FAI 3.1.8 available
Hi, On Friday 20 April 2007 20:41, Holger Levsen wrote: If you download the iso from faicd.d.n today, its still broken, you need to boot with vmlinuz initrd=initrd.gz boot=casper - hopefully tomorrow the syslinux-config is fixed (its autobuild daily) and you can just boot the cd. (Which will erase your harddrive :) The iso from faicd.debian.net as of today works fine. (It installs a very basic system.) Is there also some way to build such a faicd from my own config space? Much like the old FAI-CD... Will this kind of faicd be the future of FAI-CD in general? I don't entirely rely on FAI-CD for our installs in general, but it would be a very nice way for bootstrapping our entire network, some I'm somewhat missing this feature :-) I haven't been engaged in the discussions about FAI-CD in general lately, so I might be missing something, sorry. Best, Michael pgpeqapSrddfX.pgp Description: PGP signature
Re: fai kernel
Moin, Du brauchst mich nicht cc:en, ich lese die Liste.. das gilt immer noch... Sind die Verzeichnisse bei der 3.1.8 die selben? siehe /usr/share/doc/fai-client/NEWS.Debian.gz und meine Server teils 4GB ram haben und der basic kern leider nur 900MB erkennt. Das ist ein Bug. Entweder im Kernel oder in Deiner Konfiguration. Gruß, Holger pgp8Lz5Eg6sbq.pgp Description: PGP signature
Re: fai kernel
Hi, On Saturday 21 April 2007 19:57, Daniel wrote: Wo genau müssen die custom kernel den nun hinterlegt werden? Werden sie noch immer an der selben stellen wie sonst eingetragen? /etc/fai/make-fai-nfsroot.conf:KERNELPACKAGE= Gruß, Holger pgpfDRboqaCZu.pgp Description: PGP signature
Re: fai kernel
Moin, Du brauchst mich nicht cc:en, ich lese die Liste.. On Sunday 22 April 2007 16:24, you wrote: dann mußt Du das auch sagen :-P dachte das sei klar gewesen ;) Meine Kristallkugel ist gerade kaputt :( Hast Du die eigenen Kernel in einem eigenen Repository? Oder liegen die nur so auf dem Server rum? sie liegen einfach nur so rum so zu sagen ;) Bei der 2.x hab ich das so gemacht: http://faiwiki.informatik.uni-koeln.de/index.php/Using_customized_kernels_w ith_FAI Das hat auch super geklappt.. bei der 3.1.8 find ich irgentwie den ansatz nicht wohin das muss usw.. ;( Genauso. (Wobei das Howto im wesentlichen beschreibt, wie eigene fai-kernel zu bauen sind. Wozu brauchst Du überhaupt nen Custom-kernel?) Gruß, Holger pgpQX4BusUWm4.pgp Description: PGP signature
Re: fai kernel
Guten Tag Holger Levsen, am Sonntag, 22. April 2007 um 17:08 schrieben Sie: Moin, Du brauchst mich nicht cc:en, ich lese die Liste.. On Sunday 22 April 2007 16:24, you wrote: dann mußt Du das auch sagen :-P dachte das sei klar gewesen ;) Meine Kristallkugel ist gerade kaputt :( Achso, überall ist alles kaputt ;)) Genauso. Sind die Verzeichnisse bei der 3.1.8 die selben? Ich habe das Verzeichniss mal i /srv/fai/config gemacht allerdings nimmt er es dort nicht so wirklich an. (Wobei das Howto im wesentlichen beschreibt, wie eigene fai-kernel zu bauen sind. Wozu brauchst Du überhaupt nen Custom-kernel?) Ja in dem fall gehts mir nur um die config. Ich brauch diesen kernel weil ich zB 1000HZ benötige und meine Server teils 4GB ram haben und der basic kern leider nur 900MB erkennt. Ich nehm lieber was eigenes dann weiss ich was ich hab ;) -- Mit freundlichen Grüßen Daniel mailto:[EMAIL PROTECTED]
Re: fai kernel
Guten Tag Holger Levsen, am Sonntag, 22. April 2007 um 15:26 schrieben Sie: Hi, On Saturday 21 April 2007 19:57, Daniel wrote: Wo genau müssen die custom kernel den nun hinterlegt werden? Werden sie noch immer an der selben stellen wie sonst eingetragen? /etc/fai/make-fai-nfsroot.conf:KERNELPACKAGE= das ist der kernel fuer das NFSROOT das ist ja oke und das tut auch. Aber ich möchte das die clients auch meine custom kernel bekommen ;) -- Mit freundlichen Grüßen Daniel mailto:[EMAIL PROTECTED]
Re: fai kernel
Hi, On Sunday 22 April 2007 15:39, you wrote: das ist der kernel fuer das NFSROOT das ist ja oke und das tut auch. Aber ich möchte das die clients auch meine custom kernel bekommen ;) dann mußt Du das auch sagen :-P Hast Du die eigenen Kernel in einem eigenen Repository? Oder liegen die nur so auf dem Server rum? Gruß, Holger pgpnN9ltcBPqp.pgp Description: PGP signature
Re: fai kernel
Guten Tag Holger Levsen, dann mußt Du das auch sagen :-P dachte das sei klar gewesen ;) Hast Du die eigenen Kernel in einem eigenen Repository? Oder liegen die nur so auf dem Server rum? sie liegen einfach nur so rum so zu sagen ;) Bei der 2.x hab ich das so gemacht: http://faiwiki.informatik.uni-koeln.de/index.php/Using_customized_kernels_with_FAI Das hat auch super geklappt.. bei der 3.1.8 find ich irgentwie den ansatz nicht wohin das muss usw.. ;( -- Mit freundlichen Grüßen Daniel mailto:[EMAIL PROTECTED]
Re: upgrade FAI 2.10.2 to FAI 3
Hi, On Friday 20 April 2007 09:44, Rudy Gevaert wrote: Also, I read etch comes with cfengine2, but if I keep my sarge nfsroot Idon't have to change my cfengine1 scripts. Right? Only if I do a chroot into the new system I have to know what is running. sarge has cfengine2, cfengine1 is not supported upstream anymore and has some issues. so I just switched to cfengine2 for sarge and etch :-) regards, Holger pgpdfdcQ3zm0r.pgp Description: PGP signature
Re: FAI CD for etch using FAI 3.1.8 available
Hi, On Friday 20 April 2007 20:08, Michael Tautschnig wrote: A new ISO image of the FAI CD using the newest FAI release 3.1.8 and etch packages is available at http://www.informatik.uni-koeln.de/fai/fai-cd/ Currently it's only available for i386, not for amd64. Has it become possible again to create FAI-CDs? I thought that this is still broken - seems like I'm missing something :-) h01ger Mrfai, the new fai cd, were you be able to build it completly in etch, or did you use sarge packages as well? Mrfai I've create the mirror, nfsroot and config space on etch, create some tarballs, copied thos tarball to a sarge machine and build the iso image there. h01ger so you cant build a fai cd in etch? (i'm asking not to tell other people something wrong) h01ger and i (slowly) resumed working on the new fai cd today ;) Mrfai no you can't. Except if you have a sarge chroot on an etch system. h01ger well :) btw, i commited a fix today, which hopefully fixed the faicd produced with live-helper (from the live.debian.net project) available at faicd.debian.net - sources are in svn/people/h01ger/faicd I havent tested the change yet, as I'm busy with other stuff, but I'll test it tomorrow and report back. If you download the iso from faicd.d.n today, its still broken, you need to boot with vmlinuz initrd=initrd.gz boot=casper - hopefully tomorrow the syslinux-config is fixed (its autobuild daily) and you can just boot the cd. (Which will erase your harddrive :) regards, Holger Holger pgptXngaSoBnV.pgp Description: PGP signature
Parallel FAI installations for sarge and etch on a sarge machine
Hi all, i am wondering if there is a way to have FAI for sarge and etch on one server. I did not find any discussion about this in the mailinglist and hope i do not open a topic which was discussed earlier - if so, i do feel sorry! Currently i am running a FAI Version 2.9.1 and i am perfectly happy with it. Having installed more than 80 Clients it is now time to say goodbye to sarge and migrate to etch. But instead of having a second machine to serve the new clients i would like to have another instance of FAI on my sarge server. This would mean i can still use the sarge on recovery or special occasions. Is this possible without hazzle - i have no problem with a 2nd set of rules and configuration files, though? Which is the preferred way - if there is any ;-) Sunny greetings from Cologne Olaf -- Care for content. From start to finish. PIRONET NDH Datacenter GmbH O. Oexmann - DC-System Theodor-Heuss-Str. 92-100 - 51149 Köln Tel.: +49 (0)2203 93530 1500 - Fax: +49 (0)2203 93530 1499 mailto:[EMAIL PROTECTED] - http://www.pironet-ndh.com PIRONET NDH Datacenter GmbH, Sitz Hamburg, HRB 88054, AG Hamburg Geschäftsführer: Felix Höger, Khaled Chaar -- Wir kommen rum. Auch zu Ihnen! Besuchen Sie uns auf folgenden Veranstaltungen: www.pironet-ndh.com/events Come and see. Get to know us better! Inform yourself at the following upcoming events: www.pironet-ndh.com/events Notice: This email is confidential and may contain copyright material of PIRONET NDH. If you are not the intended recipient, please notify us and delete all copies of this message. PIRONET NDH accepts no responsibility for damage due to incorrect use of attached materials, corrupted files or viruses.
Re: fai on redhat/fedora/foo
Hi, On Sunday 08 April 2007 21:27, Henning Sprang wrote: On 3/21/07, Holger Levsen [EMAIL PROTECTED] wrote: Did you have any further experiences with this? Yes. I now create the rpms with alien and fixed install_packages to work, if apt isnt installed :) I'll publish the code in a branch shortly. BTW: running FAI on Fedora is not really necessary to install fedora with FAI. Right. I dont want to install fedora with fai, but from fedora live-cds :) I just want to update the systems with fai ;-) And I don't want a nfs/fai-server around... Still, I'd be happy if you'd share some of the things you did... Will do, will do. No worries :) regards, Holger pgpYQtocUTEkB.pgp Description: PGP signature
Re: fai on redhat/fedora/foo
On 3/21/07, Holger Levsen [EMAIL PROTECTED] wrote: Hi, I'm investigating using FAI to manage Fedora installations, but README.build-sources only talks about building a FAI package on debian. Obviously I can use alien to convert the .deb into an .rpm, but I'm unconvicent whether this will work well (and I'm lazy thats why I write this mail :) Does anybody have more current tips (or even .rpms) for me? Did you have any further experiences with this? BTW: running FAI on Fedora is not really necessary to install fedora with FAI. Still, I'd be happy if you'd share some of the things you did... Henning
fai on redhat/fedora/foo
Hi, I'm investigating using FAI to manage Fedora installations, but README.build-sources only talks about building a FAI package on debian. Obviously I can use alien to convert the .deb into an .rpm, but I'm unconvicent whether this will work well (and I'm lazy thats why I write this mail :) Does anybody have more current tips (or even .rpms) for me? regards, Holger pgpPtXgcEpahV.pgp Description: PGP signature
FAI 3.1.8 released
The next minor update of FAI is released. You can get FAI 3.1.8 and the new fai-kernels package version 1.17 by adding this line to your sources.list file. deb http://www.informatik.uni-koeln.de/fai/download etch koeln -- regards Thomas
grub menu after a fai-cd's fai installation
Hi. I installed fai 3.1.7 on my Debian system. I setup it successfully, then I copied the examples for the fai's config directory. I used fai-cd to generate an .iso image and I burned it. I installed it on a new pc, selecting the 'Gnome' installation. It finished succesfully, sending me the message that I have to remove the cd and restart the computer. I did it, but whe the computer starts I find a GRUB 'minimal BASH-like editing'. I think the kernel is not loaded, but I don't know how to find it and say it to grub, and I don't know how to make my installation bootable. Can someone help me? Thanks in advice
Re: FAI Meeting at FOSDEM 2007, Saturday 24th, 1930
On Mon, 19 Feb 2007 13:16:36 +0100, Henning Sprang [EMAIL PROTECTED] said: Let's get together for a small FAI devel meeting. I propose Saturday, 19:00 before the debian devroom. BTW: in case you want to join, it's not a bad idea to respson to this mail, so we might wait for you. I hope you will wait for me :-) -- cu Thomas
Re: FAI Meeting at FOSDEM 2007, Saturday 24th, 1930
Thomas Lange wrote: I hope you will wait for me :-) Let's see... :) Seems like it's only Holger, you, and me currently... Henning
Re: FAI Meeting at FOSDEM 2007, Saturday 24th, 1930
Henning Sprang wrote: Hi, Let's get together for a small FAI devel meeting. I propose Saturday, 19:00 before the debian devroom. BTW: in case you want to join, it's not a bad idea to respson to this mail, so we might wait for you. For now and to my knowledge it's Holger, Thomas and me joining this meeting. Henning
FAI Meeting at FOSDEM 2007, Saturday 24th, 1930
Hi, Let's get together for a small FAI devel meeting. I propose Saturday, 19:00 before the debian devroom. Henning
Re: FAI 3.1.7 and kernel 2.6.18.3
Hi, check software.log for errors. I'd bet it's a kind of disk full error with is not logged into fai.log but software.log. regards, Oliver * Binh Ngo [EMAIL PROTECTED] [070214 22:49]: Hi, Does anyone have a problem installing kernel 2.6.18.3 in etch? I'm trying to install the kernel from one of the postinstall scripts and it always fails with this error: ... Selecting previously deselected package initramfs-tools. Unpacking initramfs-tools (from .../initramfs-tools_0.85e_all.deb) ... Selecting previously deselected package linux-image-2.6.18-3-686. Unpacking linux-image-2.6.18-3-686 (from .../linux-image-2.6.18-3-686_2.6.18-7_i386.deb) ... Ok, Aborting dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-3-686_2.6.18-7_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 ... I could be able to upgrade the install server to this kernel version from the same repository. Is there something to do with the chroot environment? Thanks for your help, Binh -- * Oliver Osburg- Software and System Architect * * email: [EMAIL PROTECTED] phone: +49 179 50 76 784 * * note: All above is my opinion unless said otherwise * * One Unix to rule them all, One Resolver to find them, * * One IP to bring them all and in the zone bind them.*
Re: FAI 3.1.7 and kernel 2.6.18.3
Thanks Oliver. I did check and there was still plenty of space on the root filesystem (20GB). The error was from shell.log because I used one of the postinstall scripts to install the kernel. Binh Oliver Osburg wrote: Hi, check software.log for errors. I'd bet it's a kind of "disk full" error with is not logged into fai.log but software.log. regards, Oliver * Binh Ngo [EMAIL PROTECTED] [070214 22:49]: Hi, Does anyone have a problem installing kernel 2.6.18.3 in etch? I'm trying to install the kernel from one of the postinstall scripts and it always fails with this error: ... Selecting previously deselected package initramfs-tools. Unpacking initramfs-tools (from .../initramfs-tools_0.85e_all.deb) ... Selecting previously deselected package linux-image-2.6.18-3-686. Unpacking linux-image-2.6.18-3-686 (from .../linux-image-2.6.18-3-686_2.6.18-7_i386.deb) ... Ok, Aborting dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-3-686_2.6.18-7_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 ... I could be able to upgrade the install server to this kernel version from the same repository. Is there something to do with the chroot environment? Thanks for your help, Binh -- * Oliver Osburg- Software and System Architect * * email: [EMAIL PROTECTED] phone: +49 179 50 76 784 * * note: All above is my opinion unless said otherwise * * One Unix to rule them all, One Resolver to find them, * * One IP to bring them all and in the zone bind them.*
FAI 3.1.7 released
A new minor release of FAI is available. It fixes two small but important bugs. FAI 3.1.7 can be downloaded via this sources.list entry. deb http://www.informatik.uni-koeln.de/fai/download etch koeln -- regards Thomas
FAI 3.1.7 and kernel 2.6.18.3
Hi, Does anyone have a problem installing kernel 2.6.18.3 in etch? I'm trying to install the kernel from one of the postinstall scripts and it always fails with this error: ... Selecting previously deselected package initramfs-tools. Unpacking initramfs-tools (from .../initramfs-tools_0.85e_all.deb) ... Selecting previously deselected package linux-image-2.6.18-3-686. Unpacking linux-image-2.6.18-3-686 (from .../linux-image-2.6.18-3-686_2.6.18-7_i386.deb) ... Ok, Aborting dpkg: error processing /var/cache/apt/archives/linux-image-2.6.18-3-686_2.6.18-7_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 ... I could be able to upgrade the install server to this kernel version from the same repository. Is there something to do with the chroot environment? Thanks for your help, Binh
Re: FAI won't install snort?
On Fri, 9 Feb 2007 13:54:07 -0500, Ralph Crongeyer [EMAIL PROTECTED] said: mkdir: cannot create directory `/var/log/fai/current': No such file or directory strange. I never saw this. dpkg: error processing /var/cache/apt/archives/snort_2.3.3-11_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 This is the main problem. snort does not install correctly inside the chroot environment. I can reproduce this error, but I do not know a solution. I'm pretty sure this is not a fault of FAI but a bug in snort's pre or postinst scripts. -- regards Thomas
FAI won't install snort?
Hi all, I've added snort to /srv/fai/config/package_config/FAIBASE but it doesn't get installed? How can I fix this? Thanks
Re: FAI won't install snort?
On Fri, 9 Feb 2007 11:30:58 -0500, Ralph Crongeyer [EMAIL PROTECTED] said: I've added snort to /srv/fai/config/package_config/FAIBASE but it doesn't get installed? How can I fix this? Read the log files, for e.g. fai.log. -- regards Thomas
Re: FAI won't install snort?
This seems weard, but I can't find a fai.log file? I'm using Debian Etch and the FAI packages that are in Etch. Any ideas? Ralph Thomas Lange [EMAIL PROTECTED] wrote: On Fri, 9 Feb 2007 11:30:58 -0500, Ralph Crongeyer [EMAIL PROTECTED] said: I've added snort to /srv/fai/config/package_config/FAIBASE but it doesn't get installed? How can I fix this? Read the log files, for e.g. fai.log. -- regards Thomas
Re: FAI won't install snort?
OK, I found the fai.log. Here's what I found in it about why snort didn't install: ---Snip--- Unpacking snort (from .../snort_2.3.3-11_i386.deb) ... mkdir: cannot create directory `/var/log/fai/current': No such file or directory dpkg: error processing /var/cache/apt/archives/snort_2.3.3-11_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 -End Snip-- I'm not sure what to do to fix this? During the install there is a /var/log/fai/current directory? Right? Do you have any ideas? Thanks Ralph Ralph Crongeyer [EMAIL PROTECTED] wrote: This seems weard, but I can't find a fai.log file? I'm using Debian Etch and the FAI packages that are in Etch. Any ideas? Ralph Thomas Lange [EMAIL PROTECTED] wrote: On Fri, 9 Feb 2007 11:30:58 -0500, Ralph Crongeyer [EMAIL PROTECTED] said: I've added snort to /srv/fai/config/package_config/FAIBASE but it doesn't get installed? How can I fix this? Read the log files, for e.g. fai.log. -- regards Thomas
Re: FAI won't install snort?
OK, I found the fai.log. Here's what I found in it about why snort didn't install: ---Snip--- Unpacking snort (from .../snort_2.3.3-11_i386.deb) ... mkdir: cannot create directory `/var/log/fai/current': No such file or directory dpkg: error processing /var/cache/apt/archives/snort_2.3.3-11_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 -End Snip-- I'm not sure what to do to fix this? During the install there is a /var/log/fai/current directory? Right? Do you have any ideas? This error seems like really weird, what is snort doing about FAI's log directory!? But anyway, you should probably check /var/lib/dpkg/info/snort.preinst to see what snort is trying to do there. HTH, Michael pgp5hFsCllo4z.pgp Description: PGP signature
Re: Strange error w/ fai-mirror
[...] To really fix it please file a bug with the Debian BTS to get this issue solved as soon as possible, it probably doesn't even take too much effort. For this bug I would report that fai-mirror fails when detecting two archs in a mirror? That seems like one bug (i.e. better error message). I also think I'm going to read into this a little more (when i have time) to see if I can figure out why fai-mirror is populating /srv/fai/mirror with more than one arch or would that type of investigation be generally discouraged? (I'm a bit new to open source and contributing to projects, but would like to help more if i could) Such an investigation is never discouraged, at least not within Debian, rather the converse is true: Whenever you find some bug or way to improve the software, this will be highly appreciated. It would be cool if you could file a bug report, such that this issue gets documented (publically), feel free to add the information that you are already investigating this issue. Thanks for your efforts, Michael pgpoJ0xxW4Ml7.pgp Description: PGP signature
Re: Strange error w/ fai-mirror
[...] /srv/fai/mirror/dists/etch/main/binary-i386/Packages /srv/fai/mirror/dists/etch/main/binary-amd64/Packages I use this machine to do fai installations for both 32bit and 64bit machines. Originally I set things up on original machines and copied them over. I was hoping to make things work on a single machine without having to set things up on two different machines. For a workaround i'll continue to do things on separate machines (a 32bit and a 64bit) and copy the results over to my server unless anyone has a better suggestion? Hmm, for the fix: It probably suffices to choose different mirror directories rather than different machines, but that's up to you. To really fix it please file a bug with the Debian BTS to get this issue solved as soon as possible, it probably doesn't even take too much effort. Best, Michael pgpR2NpVvjgcS.pgp Description: PGP signature
Re: Strange error w/ fai-mirror
Michael Tautschnig wrote: [snip] Hmm, for the fix: It probably suffices to choose different mirror directories rather than different machines, but that's up to you. Well, its funny you mention that. I do have two different mirror directories. I have a /srv/fai/mirror and a /srv/fai/mirror64. I'm honestly not sure how /srv/fai/mirror ended up containing both arches in it. Before when i had done things, I had noticed that various fai scripts would detect my architecture and download accordingly. For example, I can't make an nfsroot for a 32bit machine on the 64 bit machine, at least I don't know how. What I had tried this time was to fake it out using debian's linux32 package and running the command: #linux32 fai-mirror /srv/fai/mirror Where /srv/fai/mirror is a completely empty directory (i run an rm -rf /srv/fai/mirror/* before hand). Granted my package_config/DEFAULT contains packages for both i386 and amd64, I assumed (or hoped) that it would detect the architecture and build the appropriate mirror. It appears to have attempted to build mirrors for both archs and then failed right at the end, but I haven't read into the script enough to really understand what's going on, which would be my next step. To really fix it please file a bug with the Debian BTS to get this issue solved as soon as possible, it probably doesn't even take too much effort. For this bug I would report that fai-mirror fails when detecting two archs in a mirror? That seems like one bug (i.e. better error message). I also think I'm going to read into this a little more (when i have time) to see if I can figure out why fai-mirror is populating /srv/fai/mirror with more than one arch or would that type of investigation be generally discouraged? (I'm a bit new to open source and contributing to projects, but would like to help more if i could) Thanks for your help, Carl -- Carl J. Van Arsdall [EMAIL PROTECTED] Build and Release MontaVista Software
AW: Problems with FAI installation from USB DVD drive
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Thomas Lange Gesendet: Freitag, 2. Februar 2007 18:00 An: linux-fai Betreff: Re: Problems with FAI installation from USB DVD drive On Fri, 2 Feb 2007 15:36:03 +0100, [EMAIL PROTECTED] said: In our company, we're installing all our linux systems (debian sarge) with FAI. Nice. How many? Have you filled out the FAI questionnaire? http://www.informatik.uni-koeln.de/fai/questionnaire At the moment ca. 100 desktop pc's and notebooks. The problem in our company is that micros*** is the primary operating system. Actually users can only use desktop pc's or notebook with linux, when they need MS software only for mailing. So it's our aim, that we can show to our bosses: linux works quite better than windows, also for the daily business. And MS might be death in a few years here :) Now I wanna reach the FAI support for Dell Latitude D420. It's a subnotebook. The problem is now, this model doesn't have a CD or DVD drive build-in. There's only a DVD drive aviable which can be connectet with USB. I can boot from my FAI CD Is this a FAI CD created with the fai-cd command or using make-fai-bootfloppy and put that image onto a CD? Our FAI CD is created with the fai-cd command. I think you are using the fai-cd command. But a better approach is to build a boot floppy image and put this onto a CD. Then you can boot the fai kernel from CD, but you will get the NFSROOT and config space via NFS. I hope you are allowed to use NFS in your enironment ;-) Sadly no... We're not allowed to use NFS in our environment. :( -- regards Thomas
Strange error w/ fai-mirror
I'm running 3.1.6. After running the command and some downloading the script produces an error... [apt doing stuff.] Calling apt-move /usr/bin/fai-mirror: line 319: $pfile: ambiguous redirect overlord:/srv/fai/config/package_config# Is this something I've done wrong or a problem with the script? -carl -- Carl J. Van Arsdall [EMAIL PROTECTED] Build and Release MontaVista Software
Re: Strange error w/ fai-mirror
I'm running 3.1.6. After running the command and some downloading the script produces an error... [apt doing stuff.] Calling apt-move /usr/bin/fai-mirror: line 319: $pfile: ambiguous redirect overlord:/srv/fai/config/package_config# Is this something I've done wrong or a problem with the script? Definitely a problem of the script as it should deal with such situations properly, but in essence it means that pfile=$(find $mirrordir/dists -name Packages) returns more than one match (or none?) Could you try this find command manually after the script has failed? $mirrordir is the directory you are using for creating a mirror. Thanks, Michael pgpJZMrDcVK8T.pgp Description: PGP signature
Re: Strange error w/ fai-mirror
Michael Tautschnig wrote: I'm running 3.1.6. After running the command and some downloading the script produces an error... [apt doing stuff.] Calling apt-move /usr/bin/fai-mirror: line 319: $pfile: ambiguous redirect overlord:/srv/fai/config/package_config# Is this something I've done wrong or a problem with the script? Definitely a problem of the script as it should deal with such situations properly, but in essence it means that pfile=$(find $mirrordir/dists -name Packages) returns more than one match (or none?) Could you try this find command manually after the script has failed? $mirrordir is the directory you are using for creating a mirror. Thanks, Michael Sure enough, it was finding two dists. /srv/fai/mirror/dists/etch/main/binary-i386/Packages /srv/fai/mirror/dists/etch/main/binary-amd64/Packages I use this machine to do fai installations for both 32bit and 64bit machines. Originally I set things up on original machines and copied them over. I was hoping to make things work on a single machine without having to set things up on two different machines. For a workaround i'll continue to do things on separate machines (a 32bit and a 64bit) and copy the results over to my server unless anyone has a better suggestion? Thanks, Carl p.s. Thanks to everyone that works on fai, its incredibly useful. -- Carl J. Van Arsdall [EMAIL PROTECTED] Build and Release MontaVista Software
Re: Problems with FAI installation from USB DVD drive
Hello Thomas, On Friday 02 February 2007 23:01, Thomas Lange wrote: On Fri, 02 Feb 2007 19:56:46 +0100, Anders Jackson [EMAIL PROTECTED] said: Wouldn't it be easier to use a USB memmory stick with write protecktion for this? I did not managed to boot the fai-cd from USB stick yet. Does anybody succeed in this? Any help is welcome. I hope to replace mkinitrd-cd with a new boot technic for fai-cd this year. No succeed with grub (Not fai and no other CD with the grub loader)! But Knoppix works well and from a USB stick in the same environment. Also debian and DebianLive works fine as I remember. http://wiki.debian.org/DebianLive/ I think the difference is that they use isolinux insted of grub. Also that technic is near to the pxe booting! So may be you can swap to isolinux? Then we can also boot the CD Image from network like Knoppix may be with the option toram. :-) bye Andreas PS: I will test the CD if you have any solution and will report if you need help.
Problems with FAI installation from USB DVD drive
Hi all That's my situation: In our company, we're installing all our linux systems (debian sarge) with FAI. We set up normal PC's (HP and Dell) and Notebooks (Dell Latitude D600, D610, D620). Now I wanna reach the FAI support for Dell Latitude D420. It's a subnotebook. The problem is now, this model doesn't have a CD or DVD drive build-in. There's only a DVD drive aviable which can be connectet with USB. I can boot from my FAI CD, our two installation versions are found, but when it will start with the FAI installation the following error appears: - trying to locate cdrom: no ATAPI CD-ROM drives found - searching for installed SCSI adapters Where could be the problem? I doesn't have any idea how to implement the USB DVD drive support for FAI. Thanks a lot for your help! Christoph
Problems with FAI installation from USB DVD drive
Hi all That's my situation: In our company, we're installing all our linux systems (debian sarge) with FAI. We set up normal PC's (HP and Dell) and Notebooks (Dell Latitude D600, D610, D620). Now I wanna reach the FAI support for Dell Latitude D420. It's a subnotebook. The problem is now, this model doesn't have a CD or DVD drive build-in. There's only a DVD drive aviable which can be connectet with USB. I can boot from my FAI CD, our two installation versions are found, but when it will start with the FAI installation the following error appears: - trying to locate cdrom: no ATAPI CD-ROM drives found - searching for installed SCSI adapters Where could be the problem? I doesn't have any idea how to implement the USB DVD drive support for FAI. Thanks a lot for your help! Christoph
Re: Problems with FAI installation from USB DVD drive
On Fri, 2 Feb 2007 15:36:03 +0100, [EMAIL PROTECTED] said: In our company, we're installing all our linux systems (debian sarge) with FAI. Nice. How many? Have you filled out the FAI questionnaire? http://www.informatik.uni-koeln.de/fai/questionnaire Now I wanna reach the FAI support for Dell Latitude D420. It's a subnotebook. The problem is now, this model doesn't have a CD or DVD drive build-in. There's only a DVD drive aviable which can be connectet with USB. I can boot from my FAI CD Is this a FAI CD created with the fai-cd command or using make-fai-bootfloppy and put that image onto a CD? I think you are using the fai-cd command. But a better approach is to build a boot floppy image and put this onto a CD. Then you can boot the fai kernel from CD, but you will get the NFSROOT and config space via NFS. I hope you are allowed to use NFS in your enironment ;-) -- regards Thomas
Re: Problems with FAI installation from USB DVD drive
On Fri, 02 Feb 2007 19:56:46 +0100, Anders Jackson [EMAIL PROTECTED] said: Wouldn't it be easier to use a USB memmory stick with write protecktion for this? I did not managed to boot the fai-cd from USB stick yet. Does anybody succeed in this? Any help is welcome. I hope to replace mkinitrd-cd with a new boot technic for fai-cd this year. -- regards Thomas
Re: ssh key / fai-chboot options?
On Wed, 31 Jan 2007 15:25:57 +0100, Adrian von Bidder [EMAIL PROTECTED] said: * to use the initrd trick for all hosts, does fai-chboot has an easy option so I don't have to modify the pxelinux.cfg file manually each time? (I don't want to create a default file - I don't want mistakes to happen when somebody randomly net-boots some machine!) Currently fai-chboot does not has options for adding initrd information. But you can create a template manually, and then use the copy option -c. See man fai-chboot for more details. -- regards Thomas
Re: FAI on GRML Live CD
Dear Holger, As far as I understood, this was to replace the current fai cd. This is, as I and Thomas already pointed out not a live cd. See the threads in this list about that topic. I talk about a _real_ live cd. A running FAI Server. Fot a network installation. If you want to tell me that you alo think about a real live cd, please write this in a full sentence, not only point me to links, but explain. Holger Levsen wrote: Hi, On Thursday 25 January 2007 10:18, you wrote: If not I'd like to try to remaster GRML to include FAI myself. But then, I'd also try the other possibilities of making a live cd and see what's best. http://faicd.debian.net svn://svn.debian.org/fai/people/h01ger/faicd/ http://layer-acht.org/slides/20070115_debian-live_LCA2007.pdf (or .odp) You're welcome to contribute. enjoy, Holger
Re: FAI on GRML Live CD
Hi, On Thursday 25 January 2007 22:21, you wrote: I talk about a _real_ live cd. A running FAI Server. Fot a network installation. Ah, I missed that. Might be related to the fever I currently have. If you want to tell me that you alo think about a real live cd, please write this in a full sentence, I want to tell you that I think it's easily possible to build another live-cd (thats what the faicd is) with the same setup (well minimal changes needed to build two different cds) on the same server. If you want to do this, I'm happy to do the changes with you. regards, Holger pgpVsWddRL3at.pgp Description: PGP signature
Re: FAI on GRML Live CD
Holger Levsen wrote: On Thursday 25 January 2007 22:21, you wrote: I talk about a _real_ live cd. A running FAI Server. Fot a network installation. Ah, I missed that. Might be related to the fever I currently have. Sorry if you don't feel well, but it would be very helpful to read mails before replying - that happens too often on this list, for my taste. If you want to tell me that you alo think about a real live cd, please write this in a full sentence, I want to tell you that I think it's easily possible to build another live-cd (thats what the faicd is) with the same setup (well minimal changes needed to build two different cds) on the same server. Thanks for this additional information! Now I understand - the directory full of iso's was a bit cryptic to read as a reply. If you want to do this, I'm happy to do the changes with you. I surely will look into it. The GRML idea came, because I anyway filled something in their wishlist-form - not because I don't like your faicd project (but I also knew, your cd is an install cd, no live-cd). If they had included fai-quickstart, just by me filling this form, it would be great, because no work at all for any of us. Now that it's clear that some more research is necessary, I will explore multiple possible ways, including your project. A bonus we get from having a working FAI server on a GRML live cd is, that grml is a well known project, and can be used for more than just a FAI server - so we get publicity and new users from the GRML user base. I'll have to finish other projects before getting deeper into this, anyhow... Henning
Re: FAI on GRML Live CD
Hi, On Friday 26 January 2007 02:25, Henning wrote: wishlist-form - not because I don't like your faicd project (but I also knew, your cd is an install cd, no live-cd). It's a live-cd which happens to do an installation. So we have two choices: make the user selection upon booting, if he or she wants to boot an install-server or install the system, or to create to different cds. I prefer the second option. regards, Holger pgpZ1ySa9h9ct.pgp Description: PGP signature
Re: FAI on GRML Live CD
On Friday 26 January 2007 15:05, I wrote: It's a live-cd which happens to do an installation. So we have two choices: make the user selection upon booting, if he or she s/selection/select/ wants to boot an install-server or install the system, or to create to s/to create to/to create two/ different cds. I prefer the second option. regards, Holger pgpvTxQ3OvE5w.pgp Description: PGP signature
Re: FAI partitioning.
Thanks everyone for the responses. Sorry I didn't answer back for so long but I got pulled off of this to another project. But I now I'm back on getting FAI to do SW RAID. Does anybody have a working SW RAID /srv/fai/config/disk_config/FAIBASE or FAISERVER file that they could share with me as an example? I'm running FAI 3.1.4 that is packaged with Debian Etch. Thanks Anders Jackson [EMAIL PROTECTED] wrote: tis 2007-01-16 klockan 15:41 -0500 skrev Ralph Crongeyer: Thanks for the help on this everyone. I have another question about SW RAID and FAI. I found this online http://svn.debian.org/wsvn/fai/people/mugwump/lvmraid/examples/simple/disk_ c onfig/MIRRORED?op=filerev=0sc=0 Is this the current way to set this up? I think I need to do this in /srv/fai/config/disk_config/FAIBASE: As I wrote, have one gigant RAID-disk (for speed, using distributed writes and reads on different controllers and disks). On top of that RAID-disk I would put a LVM system, so I could resize those logical partitions when needed. Maybe do a RAID partition for scratch data and one for rest of the system. If I am shore I never will need to resize any partition, I go for a pure RAID system. And RAID don't free you from making backups. You still need it when a progam (or user) runs wild on your data. RAID only saves you from disk crashes, not from data losses. But that is only my 5 öre. /Jackson
FAI Software RAID.
Can FAI do Software RAID setups out of the box in version 3.1.4 (the version currently in Debian Etch)? I'm having a tough time trying to get this set this up after reading through the manual and searching the web. I'm not finding much in the way of HowTo's etc online. If anyone has this working would you be willing to help me get it working? Thanks Ralph
Re: FAI on GRML Live CD
Hi, On Thursday 25 January 2007 10:18, you wrote: If not I'd like to try to remaster GRML to include FAI myself. But then, I'd also try the other possibilities of making a live cd and see what's best. http://faicd.debian.net svn://svn.debian.org/fai/people/h01ger/faicd/ http://layer-acht.org/slides/20070115_debian-live_LCA2007.pdf (or .odp) You're welcome to contribute. enjoy, Holger pgpykfBP7oRUB.pgp Description: PGP signature
FAI 3.1.6 released. Fixes grave bug in 3.1.5
FAI 3.1.6 was just uploaded and is now available in the repository from my URL deb http://www.informatik.uni-koeln.de/fai/download etch koeln It fixes a grave bug in fai-class, that did not set HOSTNAME and so most classes were not defined. So if you are using FAI 3.1.5 you should upgrade to 3.1.6 soon. -- regards Thomas
Re: USB keyboard with ubuntu fai
On Tue, 16 Jan 2007 22:24:41 -0600, Carl Caum [EMAIL PROTECTED] said: I've never been able to use USB keyboards during an FAI installation. USB keyboards don't work. I'm running fai-server version 2.10.5 with 2.6.15.6-ubuntu1-fai-kernels_1_i386 for running install kernel. My Any ideas? Yes. Maybe your hardware needs a different kernel module, than those which are already loaded. You can add the kernel module to the script class/20hwdetect.source. This is some detail of this script. kernelmodules=rtc floppy usbkbd ide-disk ide-cd case $(uname -r) in 2.4*) kernelmodules=$kernelmodules keybdev mousedev hid ide-detect isa-pnp ;; 2.6*) kernelmodules=$kernelmodules ehci-hcd ohci-hcd uhci-hcd usbhid usbmouse ide-generic mptspi ata_piix ;; esac -- regards Thomas
Re: USB keyboard with ubuntu fai
On Tue, 16 Jan 2007 22:24:41 -0600, Carl Caum [EMAIL PROTECTED] wrote: Hello all. I'm using FAI to deploy Ubuntu and have gotten some new Dell core 2 duo machines to deploy. I've never been able to use USB keyboards during an FAI installation. I've had the same experience installing Dell Optiplex GX280 desktops with FAI 2.10.1ubuntu1 (comes with Dapper). I found that if you unplug the USB keyboard during boot, and plug it back in afterwards it is usable.. Then I switched to FAI 3.1ubuntu1 (Edgy) and never had the problem again, so I did not look into it any further. Cheers, Emil Gorter
Re: FAI cancel client install during HD partitioning.
Hi folks. Only today I could to try do make as Thomas and others had suggested to solve my problem. Now, I've got the error message below: ... Partitioning local harddisks setup_harddisks version 0.40fai Probing disks: /dev/cciss/c0d0 Disks found:Disk /dev/cciss/c0d0: cannot get geometry Illegal division by zero at /usr/sbin/setup_harddisks line 298. ... I've tried to solve the error indicated by setup_harddisks script, but I've not had any success. And I've tried to find message on FAI mail history with same or similar error but I've not had too. Does someone know how to solve that error? Thanks in advance. Regards, -- Marcelo - Fully Automatic Installation - FAI FAI 3.1.2, 27 Nov 2006 Copyright (c) 1999-2006 Thomas Lange [EMAIL PROTECTED] - Calling task_confdir Kernel parameters: ip=dhcp FAI_ACTION=install root=/dev/nfs nfsroot=/srv/fai/nfsroot,v3,tcp,rsize=32768,wsize=32768 FAI_FLAGS=verbose,sshd,createvt BOOT_IMAGE=vmlinuz-install Reading /var/log/fai/current/boot.log FAI_FLAGS: verbose sshd createvt Configuration space atom00:/srv/fai/config mounted to /var/lib/fai/config Monitoring to server atom00 enabled. Calling task_setup FAI_FLAGS: verbose sshd createvt Wed Jan 17 18:24:33 2007 17 Jan 18:24:33 ntpdate[1826]: step time server 192.168.10.250 offset 0.582348 sec Press ctrl-c to interrupt FAI and to get a shell Calling task_defclass /usr/bin/fai-class: Defining classes. Executing /var/lib/fai/config/class/10-base-classes. 10-base-classes OK. Executing /var/lib/fai/config/class/20-hwdetect.source. loading kernel module rtc loading kernel module floppy loading kernel module usbkbd loading kernel module ide-disk loading kernel module ide-cd loading kernel module evdev loading kernel module tg3 loading kernel module cciss loading kernel module scsi_mod loading kernel module ehci-hcd loading kernel module ohci-hcd loading kernel module uhci-hcd loading kernel module usbhid loading kernel module ide-generic loading kernel module generic loading kernel module piix [33m*[39;49m Skipping Module ehci-hcd. It's already loaded. [33m*[39;49m Skipping Module piix. It's already loaded. [33m*[39;49m Skipping Module cciss. It's already loaded. Video card detected: ati 20-hwdetect.source OK. Executing /var/lib/fai/config/class/50-host-classes. 50-host-classes OK. List of all classes: DEFAULT LINUX I386 FAIBASE DHCPC DEMO GRUB atom01 LAST Calling task_defvar Executing FAIBASE.var ++ FAI_ALLOW_UNSIGNED=1 ++ CONSOLEFONT= ++ KEYMAP=us-intl.iso01 ++ UTC=no ++ TIMEZONE=America/Recife ++ ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1' ++ MODULESLIST='ehci-hcd ohci-hcd uhci-hcd usbhid psmouse' ++ VIDEODRIVER=ati Loading keymap(s) us-intl.iso01 ...done. Calling task_action FAI_ACTION: install Performing FAI installation. All data may be overwritten! Calling task_install Calling task_partition Partitioning local harddisks setup_harddisks version 0.40fai Probing disks: /dev/cciss/c0d0 Disks found:Disk /dev/cciss/c0d0: cannot get geometry Illegal division by zero at /usr/sbin/setup_harddisks line 298. setup_harddisks version 0.40fai Probing disks: /dev/cciss/c0d0 Disks found:Save log files via rsh to [EMAIL PROTECTED]:atom01/install-20070117_182434
Re: FAI cancel client install during HD partitioning.
On Wed, 17 Jan 2007 16:06:15 -0300, Marcelo Santana [EMAIL PROTECTED] said: Disks found:Disk /dev/cciss/c0d0: cannot get geometry Illegal division by zero at /usr/sbin/setup_harddisks line 298. ... You can force sfdisk to use a certain geometry by defining a varaible in .../class/*.var. sfdisk=--force -C 7752 -H 240 -S 63 I need this when installaing a dual boot machine, where Wind did the partitioning and sfdisk always think the partition was made for a different geometry that linux detects. It's works well for me. So try to determine which geometry you must force for your disks. P.S: Please do not attach the complete log file, if we only need a certain part of it. -- regards Thomas
Re: FAI cancel client install during HD partitioning.
--- Stephan Hermann [EMAIL PROTECTED] escreveu: Thomas Lange wrote: On Mon, 15 Jan 2007 16:38:18 -0300, Marcelo Santana [EMAIL PROTECTED] said: sfdisk: ERROR: sector 0 does not have an msdos signature /dev/cciss/c0d0: unrecognized partition table type No partitions found The problem is that your disk contains no (MSDOS) disk label. Most hard disks that you can buy are normally preformatted with an MSDOS disk label. You can create a disk label by running fdisk or cfdisk or parted once. fdisk /dev/cciss/c0d0 then type: o w q Probing disks: /dev/cciss/c0d0 Disks found: It's not good that there's no disk name after Disk found. That is one of the problems I had with our HP servers. Some of those machines weren't ship with msdos labels or any other labels...and partitioning failes... how could we come over this problem via fai? if you need another disk label you have to set it via partition.$CLASS anyways. And sfdisk is sometimes stupid for this. Regards, \sh Thanks a lot for all answers in so short time! Regards, Marcelo __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/
FAI partitioning.
Hi all, How do you tell FAI to use the rest of the disk? I'm trying to get FAI to set up a software RAID and this is how I'm trying to lay out my disks in /disk_config/FAIBASE disk_config sda primary - 2000 primary - 500 primary - 5000 logical - 1 logical - 0- disk_config sdb primary - 2000 primary - 500 primary - 5000 logical - 1 logical - 0- I want to have the last logical partition use the remaining disk space, is this correct just 0- ? Thanks Ralph
Re: FAI partitioning.
at tuesday, 2007-01-16 5:31PM wrote Ralph Crongeyer: [...] I want to have the last logical partition use the remaining disk space, is this correct just 0- ? See yourself. http://debiananwenderhandbuch.de/fai.html#faiclient -- best regards, Michael
Re: FAI partitioning.
On 1/16/07, Ralph Crongeyer [EMAIL PROTECTED] wrote: [...] I want to have the last logical partition use the remaining disk space, is this correct just 0- ? Looks good, I am not sure if zero values work well, if not you might do something like 10- Do you see an error when you try this? Which one? And, maybe a bit OT, and maybe I have just no enoughj knowledge about SW RAID, but when doing RAID, isn't it better to take the full disks and make the sw raid on them, then partition above the md devices instead of paritioning the raw device, and doing sw raid for single paritions (as it looks what you want to do here)? Henning
Re: FAI partitioning.
On Tue, Jan 16, 2007 at 11:31:18AM -0500, Ralph Crongeyer wrote: Hi all, How do you tell FAI to use the rest of the disk? [...] logical - 0- I want to have the last logical partition use the remaining disk space, is this correct just 0- ? I've been using 1- for years... not sure whether 0 isn't handled different. While we're at it I'd like to ask the developers: will there be support for BIG (yes, BIG: 6.4TB in my case) disks? sfdisk's input file is created with the right numbers, but somewhere there's an overrun (31 or 32 bits I guess) so instead of 6.4TB I'd get 0.4TB only ... I suppose the new setup_harddisks would switch to parted in such a case? Cheers, Steffen -- Steffen Grunewald * MPI Grav.Phys.(AEI) * Am Mühlenberg 1, D-14476 Potsdam Cluster Admin * http://pandora.aei.mpg.de/merlin/ * http://www.aei.mpg.de/ * e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298} No Word/PPT mails - http://www.gnu.org/philosophy/no-word-attachments.html
Re: FAI partitioning.
Thanks for the info, I'll give it a try. As far as the software RAID setup goes, I don't know? This is the first time I've set up a SW Raid. However doing it this way if one set gets out of sync only that set needs to resync vs the entire disk. Does anyone else have any advice on this? Thanks! Ralph Henning Sprang [EMAIL PROTECTED] wrote: On 1/16/07, Ralph Crongeyer [EMAIL PROTECTED] wrote: [...] I want to have the last logical partition use the remaining disk space, is this correct just 0- ? Looks good, I am not sure if zero values work well, if not you might do something like 10- Do you see an error when you try this? Which one? And, maybe a bit OT, and maybe I have just no enoughj knowledge about SW RAID, but when doing RAID, isn't it better to take the full disks and make the sw raid on them, then partition above the md devices instead of paritioning the raw device, and doing sw raid for single paritions (as it looks what you want to do here)? Henning
Re: FAI partitioning.
Thanks for the help on this everyone. I have another question about SW RAID and FAI. I found this online http://svn.debian.org/wsvn/fai/people/mugwump/lvmraid/examples/simple/disk_c onfig/MIRRORED?op=filerev=0sc=0 Is this the current way to set this up? I think I need to do this in /srv/fai/config/disk_config/FAIBASE: disk_config sda primary swap 2000rw ; raid(1,md0) primary /boot 500 rw ; -c -j ext3 raid(1,md1) primary / 5000rw,errors=remount-ro ; -c -j ext3 raid (1,md2) logical /var/log 1 rw ; -c -j ext3 raid(1,md3) logical /var/log/apache 0- rw ; -c -j ext3 raid(1,md4) disk_config sdb primary - 2000; raid(1,md0) primary - 500 ; raid(1,md1) primary - 5000; raid(1,md2) logical - 1 ; raid(1,md3) logical - 0- ; raid(1,md4) to get this result: config# cat /proc/mdstat Personalities : [raid1] md4 : active raid1 sda6[0] sdb6[1] 55512512 blocks [2/2] [UU] md3 : active raid1 sda5[0] sdb5[1] 9767424 blocks [2/2] [UU] md2 : active raid1 sda3[0] sdb3[1] 4883648 blocks [2/2] [UU] md1 : active raid1 sda2[0] sdb2[1] 489856 blocks [2/2] [UU] md0 : active raid1 sda1[0] sdb1[1] 1951744 blocks [2/2] [UU] Is this correct? Thanks Ralph Ralph Crongeyer [EMAIL PROTECTED] wrote: Thanks for the info, I'll give it a try. As far as the software RAID setup goes, I don't know? This is the first time I've set up a SW Raid. However doing it this way if one set gets out of sync only that set needs to resync vs the entire disk. Does anyone else have any advice on this? Thanks! Ralph Henning Sprang [EMAIL PROTECTED] wrote: On 1/16/07, Ralph Crongeyer [EMAIL PROTECTED] wrote: [...] I want to have the last logical partition use the remaining disk space, is this correct just 0- ? Looks good, I am not sure if zero values work well, if not you might do something like 10- Do you see an error when you try this? Which one? And, maybe a bit OT, and maybe I have just no enoughj knowledge about SW RAID, but when doing RAID, isn't it better to take the full disks and make the sw raid on them, then partition above the md devices instead of paritioning the raw device, and doing sw raid for single paritions (as it looks what you want to do here)? Henning
USB keyboard with ubuntu fai
Hello all. I'm using FAI to deploy Ubuntu and have gotten some new Dell core 2 duo machines to deploy. I've never been able to use USB keyboards during an FAI installation. I've never cared because I could easily plug in a PS/2 keyboard. However the new Dell's do not have PS/2 ports on them and I suddenly am in need of figuring out why USB keyboards don't work. I'm running fai-server version 2.10.5 with 2.6.15.6-ubuntu1-fai-kernels_1_i386 for running install kernel. My pxelinux.cfg/default file looks like: default fai-generated label fai-generated kernel vmlinuz-2.6.15.6-ubuntu1-fai-kernels append ip=:: nfsroot=(boot_server_ip):/usr/lib/fai/nfsroot-ubuntu FAI_ACTION=install root=/dev/nfs FAI_FLAGS=verbose,sshd,syslogd,reboot,createvt Any ideas?
Re: USB keyboard with ubuntu fai
Please reply with a dmesg so I can see what sort of hardware is detected by the FAI kernel. Thanks! --zach On Jan 16, 2007, at 10:24 PM, Carl Caum wrote: Hello all. I'm using FAI to deploy Ubuntu and have gotten some new Dell core 2 duo machines to deploy. I've never been able to use USB keyboards during an FAI installation. I've never cared because I could easily plug in a PS/2 keyboard. However the new Dell's do not have PS/2 ports on them and I suddenly am in need of figuring out why USB keyboards don't work. I'm running fai-server version 2.10.5 with 2.6.15.6-ubuntu1-fai-kernels_1_i386 for running install kernel. My pxelinux.cfg/default file looks like: default fai-generated label fai-generated kernel vmlinuz-2.6.15.6-ubuntu1-fai-kernels append ip=:: nfsroot=(boot_server_ip):/usr/lib/fai/nfsroot- ubuntu FAI_ACTION=install root=/dev/nfs FAI_FLAGS=verbose,sshd,syslogd,reboot,createvt Any ideas?
Re: FAI partitioning.
On Tuesday 16 January 2007 17:55, Henning Sprang wrote: And, maybe a bit OT, and maybe I have just no enoughj knowledge about SW RAID, but when doing RAID, isn't it better to take the full disks and make the sw raid on them, then partition above the md devices instead of paritioning the raw device, and doing sw raid for single paritions (as it looks what you want to do here)? Instinctively I'd do md raid on the whole disks, after all the canonical unit for RAID is disks, so you don't have to worry about syncing partition sectors manually. OTOH md devices couldn't be partitioned until relatively recently, so md on top of the partitioning is what I have on my own machines as a left-over from when they were set up. Also, many md Tutorials are probably written that way still. Also, my desktop (without hot swap hardware or robust disk controller) is expected to crash on disk failure anyway, RAID is only so that I don't lose data. So I have swap as the first partition on both disks and the rest of the disks for several RAID partitions. That means that I have a partition sector on hda and hdc anyway, so adding another layer of partitioning inside the md doesn't necessarily make sense. This is all pretty much intuition about what is a sane setup, tastes differ on this, I'm sure. cheers -- vbi -- to debug such lockups in the future you can do: ... NOTE: dont use the keyboard in this mode for too long, it can lock up. -- Ingo Molnar, lkml pgpeJw9hwtWBa.pgp Description: PGP signature
FAI cancel client install during HD partitioning.
Hi folks. I'd like to know if someone already installed beowulf cluster with HP Proliant DL360 machines using FAI, because I've had difficulties to install the operational system in the client stations. I'm using testing version of debian and I've got to install the FAI server without bigger difficulties, selecting the msdos signature type during the HD partitioning. However, when I try to install in the stations the process always is cancelled during the formatting of the HD, with the following error message: --#--# Partitioning local harddisks setup_harddisks version 0.40fai Probing disks: /dev/cciss/c0d0 Disks found:Disk /dev/cciss/c0d0: cannot get geometry sfdisk: ERROR: sector 0 does not have an msdos signature /dev/cciss/c0d0: unrecognized partition table type No partitions found Using config file: /var/lib/fai/config/disk_config/FAIBASE ERROR: could not read device /dev/cciss/c0d0 Mapping disk name disk1 to cciss/c0d0 setup_harddisks version 0.40fai Probing disks: /dev/cciss/c0d0 Disks found: Using config file: /var/lib/fai/config/disk_config/FAIBASE Mapping disk name disk1 to cciss/c0d0 --#--#--- As you can see in the 20-hwdetect.source attached archive, I modified that to add modules evdev, cciss, scsi_mod, piix and tg3, during boot of kernel 2.6.18-fai-kernels. I'm sending also the fai.log archive to assist in the troubleshooting. Thanks in advance. PS: Sorry for my poor english. Best, Marcelo - Fully Automatic Installation - FAI FAI 3.1.2, 27 Nov 2006 Copyright (c) 1999-2006 Thomas Lange [EMAIL PROTECTED] - Calling task_confdir Kernel parameters: ip=dhcp FAI_ACTION=install root=/dev/nfs nfsroot=/srv/fai/nfsroot,v3,tcp,rsize=32768,wsize=32768 FAI_FLAGS=verbose,sshd,createvt BOOT_IMAGE=vmlinuz-install Reading /var/log/fai/current/boot.log FAI_FLAGS: verbose sshd createvt Configuration space atom00:/srv/fai/config mounted to /var/lib/fai/config Can't connect to monserver on atom00 port 4711. Monitoring disabled. Calling task_setup FAI_FLAGS: verbose sshd createvt rdate: connect: Connection refused 15 Jan 17:07:45 ntpdate[1825]: step time server 192.168.10.250 offset -210.951272 sec Press ctrl-c to interrupt FAI and to get a shell Calling task_defclass /usr/bin/fai-class: Defining classes. Executing /var/lib/fai/config/class/10-base-classes. 10-base-classes OK. Executing /var/lib/fai/config/class/20-hwdetect.source. loading kernel module rtc loading kernel module floppy loading kernel module usbkbd loading kernel module ide-disk loading kernel module ide-cd loading kernel module evdev loading kernel module tg3 loading kernel module cciss loading kernel module scsi_mod loading kernel module ehci-hcd loading kernel module ohci-hcd loading kernel module uhci-hcd loading kernel module usbhid loading kernel module ide-generic loading kernel module generic loading kernel module piix [33m*[39;49m Skipping Module ehci-hcd. It's already loaded. [33m*[39;49m Skipping Module piix. It's already loaded. [33m*[39;49m Skipping Module cciss. It's already loaded. Video card detected: ati 20-hwdetect.source OK. Executing /var/lib/fai/config/class/50-host-classes. 50-host-classes OK. List of all classes: DEFAULT LINUX I386 FAIBASE DHCPC DEMO GRUB atom01 LAST Calling task_defvar Executing FAIBASE.var ++ FAI_ALLOW_UNSIGNED=1 ++ CONSOLEFONT= ++ KEYMAP=us-intl.iso01 ++ UTC=no ++ TIMEZONE=America/Recife ++ ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1' ++ MODULESLIST='ehci-hcd ohci-hcd uhci-hcd usbhid psmouse' ++ VIDEODRIVER=ati Loading keymap(s) us-intl.iso01 ...done. Calling task_action FAI_ACTION: install Performing FAI installation. All data may be overwritten! Calling task_install Calling task_partition Partitioning local harddisks setup_harddisks version 0.40fai Probing disks: /dev/cciss/c0d0 Disks found:Disk /dev/cciss/c0d0: cannot get geometry sfdisk: ERROR: sector 0 does not have an msdos signature /dev/cciss/c0d0: unrecognized partition table type No partitions found Using config file: /var/lib/fai/config/disk_config/FAIBASE Mapping disk name disk1 to cciss/c0d0 ERROR: could not read device /dev/cciss/c0d0 setup_harddisks version 0.40fai Probing disks: /dev/cciss/c0d0 Disks found: Using config file: /var/lib/fai/config/disk_config/FAIBASE Mapping disk name disk1 to cciss/c0d0 Save log files via rsh to [EMAIL PROTECTED]:atom01/install-20070115_170745 20-hwdetect.source Description: Binary data
FAI 3.1.5 released
FAI 3.1.5 was released which will also go into etch. It fixes some bugs which could be fixed with small patches. -- regards Thomas
Re: booting FAI kernel with initrd
[...] On a machine running a stock Debian kernel 2.6.18 (with etch) edit /etc/initramfs-tools/initramfs.conf and change to these lines MODULES=netboot BOOT=nfs I doubt that you really need these, actually I did not change my initramfs.conf and it still works. then mkinitamfs -o fai-initrd. This creates the initrd for net booting. Copy the the kernel /boot/vmlinuz-2.6.18-3-686 and fai-initrd to /srv/fai/tftp In pxelinux.cfg/ use this file: If you don't change initramfs.conf, you don't even need to run mkinitramfs ... - just copied over the kernel and the initrd that was already there. label fai-generated kernel vmlinuz-2.6.18-3.686 append initrd=fai-initrd ip=dhcp FAI_CONFIG_SRC=nfs://kueppers/usr/local/share/cs-etch FAI_ACTION=install root=/dev/nfs nfsroot=134.95.9.149:/usr/lib/fai/nfsroot-etch,v2,tcp,rsize=32768,wsize=32768 FAI_FLAGS=verbose,sshd,createvt For the sake of completeness, I'm using the following pxelinux.cfg/default: label fai-generated kernel vmlinuz-2.6.17-2-486 append ip=dhcp devfs=nomount FAI_ACTION=install root=/dev/nfs FAI_FLAGS=verbose,sshd,createvt,syslogd initrd=initrd.img-2.6.17-2-486 nfsroot=192.168.248.29:/srv/fai/nfsroot Actually one shouldn't need the additional nfsroot=..., if it is already provided by DHCP; however some versions of initramfs-tools seem to be buggy (and I don't know whether it got fixed already) and fail to parse the DHCP results. Best, Michael pgpCOu0suY1i6.pgp Description: PGP signature
Re: booting FAI kernel with initrd
On 1/6/07, Michael Tautschnig [EMAIL PROTECTED] wrote: [...] On a machine running a stock Debian kernel 2.6.18 (with etch) edit /etc/initramfs-tools/initramfs.conf and change to these lines MODULES=netboot BOOT=nfs I doubt that you really need these, actually I did not change my initramfs.conf and it still works. Right, that seems to work. The root=/dev/nfs seems most important. Actually one shouldn't need the additional nfsroot=..., if it is already provided by DHCP; however some versions of initramfs-tools seem to be buggy (and I don't know whether it got fixed already) and fail to parse the DHCP results. Right, I fail to get an installation started when not having nfsroot set on kernelk command line. So my orginal question, if/how this can be done with getting the nfsroot location via dhcp seems not yet solved In most situations it's enough to set it on the kernel command line, but it's not 100% compatible to the strategy of putting these features in the Kernel. Henning
Re: booting FAI kernel with initrd
[...] Actually one shouldn't need the additional nfsroot=..., if it is already provided by DHCP; however some versions of initramfs-tools seem to be buggy (and I don't know whether it got fixed already) and fail to parse the DHCP results. Right, I fail to get an installation started when not having nfsroot set on kernelk command line. So my orginal question, if/how this can be done with getting the nfsroot location via dhcp seems not yet solved In most situations it's enough to set it on the kernel command line, but it's not 100% compatible to the strategy of putting these features in the Kernel. I think the initramfs-tools bug related to these problems is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387808 - and it isn't fixed yet... I guess it's just some small bug in the scripts running in the busybox, but I haven't found the time to debug it. Best, Michael pgpoXoDZuZ67c.pgp Description: PGP signature
booting FAI kernel with initrd
I like to answer this question from IRC lazyb0y did anybody ever create an initrd for fai that includes features to get the location of the nfsroot by dhcp and mount the nfsroot lazyb0y as opposed to having the kernel features compiled in and do that on the kernel level? h01ger yes,lots of peoole No, not lots of people. I think only oz, h0lger and I did this for FAI. It works this way: On a machine running a stock Debian kernel 2.6.18 (with etch) edit /etc/initramfs-tools/initramfs.conf and change to these lines MODULES=netboot BOOT=nfs then mkinitamfs -o fai-initrd. This creates the initrd for net booting. Copy the the kernel /boot/vmlinuz-2.6.18-3-686 and fai-initrd to /srv/fai/tftp In pxelinux.cfg/ use this file: label fai-generated kernel vmlinuz-2.6.18-3.686 append initrd=fai-initrd ip=dhcp FAI_CONFIG_SRC=nfs://kueppers/usr/local/share/cs-etch FAI_ACTION=install root=/dev/nfs nfsroot=134.95.9.149:/usr/lib/fai/nfsroot-etch,v2,tcp,rsize=32768,wsize=32768 FAI_FLAGS=verbose,sshd,createvt This boots my Thinkpad T60 without problems where the default FAI kernel does not work. Do not forget to change the initramfs.conf back to is previous version, otherwise the next kernel update will create an initrd which will not boot your machine any more (this happend to me once) or use the option -d. -- regards Thomas
FAI 3.1.4 released
FAI 3.1.4 which contains some small but important changes is released and will also go into etch. Since the package xorg changes its dependencies, the class XORG of the examples in FAI did not install some important packages containing xorg video output drivers. Additionally, setup_harddisks has now support for mounting existing NTFS partitions. You can get the new version by adding this line to your sources.list file: deb http://www.informatik.uni-koeln.de/fai/download etch koeln -- regards Thomas
Re: USB stick client for FAI install.
Hello, On Wednesday 03 January 2007 18:38, Ralph Crongeyer wrote: I have several machines comming in that have no floppy and the motherboard doesn't support PXE boot. I'm wondering if there is a script like make-fai-bootfloppy for usb sticks? If not, does anyone know how I can make one? (Instructions on a site or wiki). Is your network card supported on http://rom-o-matic.net/ ? If yes you can put a boot image for PXE on a USB Stick or a USB Floppy. You can also try http://www.bootix.com/ but it is commercial. bye Andreas
USB stick client for FAI install.
Happy New Year list! I am new to the list and a first time user of FAI but a long time user of Debian. I have several machines comming in that have no floppy and the motherboard doesn't support PXE boot. I'm wondering if there is a script like make-fai-bootfloppy for usb sticks? If not, does anyone know how I can make one? (Instructions on a site or wiki). Thanks Ralph
Re: USB stick client for FAI install.
On Wed, 3 Jan 2007 12:38:36 -0500, Ralph Crongeyer [EMAIL PROTECTED] said: I have several machines comming in that have no floppy and the motherboard doesn't support PXE boot. Really no PXE? IMO most new boards with onboard NIC's have PXE. But anyway. Currently, we can't create a bootable USB stick for FAI but maybe you can put an image from rom-o-matic.net onto an USB stick. Another option is to put only the kernel (and may a boot loader) onto a USB stick which then mount the rest via NFS. I think it should also be possible to create a boot floppy image using make-fai-bootfloppy and put thisfloppy image via dd onto a USB stick. In the next few month I like to work on booting FAI (completelty) from USB stick. -- regards Thomas
Re: [FAI] Install error
Michael Tautschnig [EMAIL PROTECTED] escribió: That's so unusual! The two anomalies I found are the main theme of theese mails, located in Calling task_instsoft step, and this, at the end of the installation: Calling task_chboot WARNING: rsh -l user server failed. Can't call fai-chboot on the install server. When the installation start, the directory /tmp in the chroot is almost empty (there is only a file: /tmp/etc/resolv.conf). Well, after the installation, there is a whole structure of directories like this, +/tmp/target/ | --- bin | --- boot | --- dev | --- etc ... ... So, durig the installation, the file system is not read-only. But after that, if I make an apt-get updatem, I get an error: 30 Read Only file system. I think one possible sollution is to execute an apt-get before the Calling task_instsoft step.. but I don't know hoy to do it. What do you thik? Thank you so much! And congratulations for all the great job that make this tookit works. Thank you! Fernando. Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [...] (weird errors...) Did you check all the logs? I guess there must be some other anomalies than just these problems with apt - and your system being read-only is very very strange (and probably one of the causes of this problem). Best, Michael
Re: [FAI] Install error
Michael Tautschnig [EMAIL PROTECTED] escribió: That's so unusual! The two anomalies I found are the main theme of theese mails, located in Calling task_instsoft step, and this, at the end of the installation: Could you please send all your log files? Please send them to me via private mail, not via the list. Best, Michael pgpyui2lZP3nQ.pgp Description: PGP signature
Re: [FAI] Install error
[...] (weird errors...) Did you check all the logs? I guess there must be some other anomalies than just these problems with apt - and your system being read-only is very very strange (and probably one of the causes of this problem). Best, Michael pgpJYFJQhf3Ak.pgp Description: PGP signature
Re: [FAI] Install error
Thank you for your answers, I'm so much lost... Henning Sprang [EMAIL PROTECTED] escribió: On 12/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi! In the installation of the client, if fails with errors of this kind: Could't stat source package list http://amd64.debian.net sarge/main Packages (/var/lib/apt/lists/amd64.debian.net_debian-amd64_dists_sarge_main_binary-amd64_Packages) - stat (2 No such file or directory) I get several errors like this, but in my nfsroot, those files allready exists. And if I do ls -l /var/lib/apt/lists/ in the client, I found the files!! And they are not empty!! You do the ls in the nfsroot or in the client chroot? Both. The files exists in nfsroot/var/..., and in the client chroot. Any idea? What can be the problem? Sounds strange. Can you get a shell prompt at install time (or before rebooting), chroot into /tmp/target and see if the files are there, also? No, in /tmp/target/var/lib/apt/lists/ are only a file called lock, and an empty directory called partial. And try to install some package in the chroot? Error: The system is read-only. Henning --- --- Michael Tautschnig [EMAIL PROTECTED] escribió: Could it be as simple as amd64.debian.net being irresponsive for a few seconds or some proxy at your site being overloaded? Or rather - is it reproducible? Thanks, Michael I've tried several times, and amd64.debian.net is not the only repository. amd64.debian.org, security.debian.org, and www.informatik.uni-koeln.de are my sources, and no-one works. The problem is my cluster. Thank both!
[FAI] Install error
Hi! In the installation of the client, if fails with errors of this kind: Could't stat source package list http://amd64.debian.net sarge/main Packages (/var/lib/apt/lists/amd64.debian.net_debian-amd64_dists_sarge_main_binary-amd64_Packages) - stat (2 No such file or directory) I get several errors like this, but in my nfsroot, those files allready exists. And if I do ls -l /var/lib/apt/lists/ in the client, I found the files!! And they are not empty!! Any idea? What can be the problem? Thank you very much. Fernando
Re: [FAI] Install error
On 12/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi! In the installation of the client, if fails with errors of this kind: Could't stat source package list http://amd64.debian.net sarge/main Packages (/var/lib/apt/lists/amd64.debian.net_debian-amd64_dists_sarge_main_binary-amd64_Packages) - stat (2 No such file or directory) I get several errors like this, but in my nfsroot, those files allready exists. And if I do ls -l /var/lib/apt/lists/ in the client, I found the files!! And they are not empty!! You do the ls in the nfsroot or in the client chroot? Any idea? What can be the problem? Sounds strange. Can you get a shell prompt at install time (or before rebooting), chroot into /tmp/target and see if the files are there, also? And try to install some package in the chroot? Henning
Re: [FAI] Install error
Hi! In the installation of the client, if fails with errors of this kind: Could't stat source package list http://amd64.debian.net sarge/main Packages (/var/lib/apt/lists/amd64.debian.net_debian-amd64_dists_sarge_main_binary-amd64_Packages) - stat (2 No such file or directory) Could it be as simple as amd64.debian.net being irresponsive for a few seconds or some proxy at your site being overloaded? Or rather - is it reproducible? Thanks, Michael pgpYWlW9oM1B7.pgp Description: PGP signature
FAI 3.1.3 released
FAI 3.1.3 is now available. It's only a bug fix release, which also fixes one security bug. The log files on the local disk are now only readable by root and the group adm, because they contain the root password hash. You will get the new version when using this line in sources.list: deb http://www.informatik.uni-koeln.de/fai/download etch koeln -- regards Thomas
Re: Building VServers with FAI
Hi, On Wednesday 01 November 2006 17:29, you wrote: I just use the normal debootstrap build method for vservers and then run fai softupdate on top. Works great :) yes, it works fine for me, too. How do you manage to nfs-mount the fai config space into the namespace of the vserver for softupdates? (Or do you use CVS/SVN for configuration?) I could think of various solutions, each having a specific downside: * mount from within the host just before the softupdate (needs coordination between mount/umont on the host and softupdate on the guest) * permanently mount into vserver by /etc/vservers/myvserver/fstab ( many permanent hard/soft mounts, potential problems when nfs client/server is down or during network/power outage) * Allow vserver to nfs-mount (too much capabilities for vserver) * auto-mount into vserver by host (never tried auto-mounting in vservers, doubt, if it will work) * ... How do you manage that? Cheers, Thomas
Re: Building VServers with FAI
Hi, On Thursday 07 December 2006 14:17, you wrote: How do you manage to nfs-mount the fai config space into the namespace of the vserver for softupdates? (Or do you use CVS/SVN for configuration?) I use svn. Besides not having the nfs-problems you describe (and the additional problem that I dont have an nfs-server there), I also have the benefit of having version control and I can use one svn-repository accessable via ssh (so it's readable only to people/hosts I want and I can safely and easily use it over the internet.) regards, Holger pgpnKPKOAWmpb.pgp Description: PGP signature
trouble running fai-cd (fai 3.1.1 etch)
Hi, i grabbed the fai cd (FAI 3.1.1, etch) and installed a faiserver with it. I have added some configs and now i want to create a new install-cd with fai-cd, but i get this error: ERROR: mkinitrd-cd not found. Please install package. But mkinitrd-cd is not available in etch. Is fai-cd broken in 3.1.1 for etch ?
Re: trouble running fai-cd (fai 3.1.1 etch)
Hi, On Thursday 30 November 2006 12:50, Thomas Memenga wrote: But mkinitrd-cd is not available in etch. Is fai-cd broken in 3.1.1 for etch ? Yes. regards, Holger pgpPWAKF1H0SB.pgp Description: PGP signature