Installing kernel's for local boot

Thomas Lange lange at informatik.uni-koeln.de
Tue Oct 10 00:50:54 CEST 2006


>>>>> On Mon, 09 Oct 2006 15:14:35 -0700, "Carl J. Van Arsdall" <cvanarsdall at mvista.com> said:

    > I've been playing with getting FAI setup for a couple weeks now.  I've 
Which version are you using? Things have changed with FAI 3.0.

    > custom kernels.  The thing is, the howto is pretty dated.  It comments 
    > putting files in files/packages which was deprecated in 2.54 from what I 
 FAI Guide version 2.5.4, 20 april 2006 for FAI package version 2.10.1
.
.
  `files/packages/'
          THE USE OF THIS DIRECTORY IS NOW OBSOLETE.


Maybe you are using an older version of the fai guide. But you are
right we have to update the fai guide.

    > So it seems to me that kernel's are specified in two places:
    >    1.  /etc/fai/make-fai-nfsroot.conf
    >    2.  specify a kernel for PXE that lives /srv/tftp/fai/ (or whereever 
    > your tftp stuff is housed I guess).
yep.

    > So, my question, the boot kernel is always going to be vmlinuz install  
    > or whatever you point to using fai-chboot right? 
In FAI 3.0, make-fai-nfsroot has now the option -V to specify the
kernel name. See man make-fai-nfsroot for more info. You can also
specify the kernel name with fai-chboot.

    > From the comments in 
    > the conf file, the kernel from make-fai-nfsroot.conf is the kernel that 
    > will boot via nfs.
Correct.

    > I'm a bit confused as to how this works. 
This is the normal way how diskless clients boots. Have a look at
nfsroot.txt in the kernel sources documentation.

    > Anyhow, following that stuff..  what's the best way to configure fai to 
    > install a specific kernel for class?
Build your own kernel using make-kpkg. This will make a Debian package
out of this kernel. The create a local Debian package repository, add
a line to the soures.lsit file and add the name of your kernel package
to the class in package_config.

-- 
regards Thomas



More information about the linux-fai mailing list