FAI - server logging + FAI Ubuntu Trusty
René Bleisch
accounts at climate.unibe.ch
Tue Jul 8 16:25:51 CEST 2014
Hi Thomas,
yes, I thought that it is required or at least better to have a matching
nfsroot (wheezy nfsroot for wheezy, ubuntu nfsroot for ubuntu).
Maybe this is not really the case...
Just now I suceeded to start the first FAI-installation using a
Ubuntu/Trusty nfsroot.
I had quite some problems to solve:
- I had to chmod /srv/tftp/fai_ubuntu/initrd... from "-rw------"- to
"-rw-r--r--" (seems to be a known problem)
- unfortunately I had to replace dracut with liveboot (there seem to be
some already known incompatibility issues between dracut and initramfs
on ubuntu)
- I had to adapt the PXE-config file like this: (to be able to boot into
nfsroot)
------------
# generated by fai-chboot for host ... with IP ...
default fai-generated
label fai-generated
kernel vmlinuz-3.13.0-30-generic
append initrd=initrd.img-3.13.0-30-generic ip=dhcp
*nfsroot=130.92.143.73:/srv/fai/nfsroot_ubuntu* boot=live *netboot=nfs*
FAI_FLAGS=verbose,sshd,createvt
FAI_CONFIG_SRC=nfs://phkup26/srv/fai/config_ubuntu FAI_ACTION=install
-------------
Now my installation fails when it tries to extract the base file, which
is in my case $NFSROOT/var/tmp/base.tar.xz instead of
$NFSROOT/var/tmp/base.tgz (to be detected by task_extrbase).
Ill maybe try to convert it.
However because the FAI-version used on ubuntu seems to be quite old
(3.4.8. , I had even to change the DISK configuration back to old format
:-( ), I fear that there will be a whole bunch more of problems due to
FAI backwards-compatibility issues, as I used my wheezy config-files as
a base.
=>
Probably I 'll better try to use the wheezy nfs-root also for Ubuntu,
allowing me to use dracut and an actual fai version
Just a final question: can I use the "http://fai-project.org/download"
also for Ubuntu 14.04/trusty? (I remember having heard something in
former e-mails)
Regards
René
On 07/07/2014 02:48 PM, Thomas Neumann wrote:
> On Monday 07 July 2014 11:05:11 René Bleisch wrote:
>> I already have a FAI-server for my workstations (wheezy). Now I'm trying
>> to setup an additional FAI-server for my servers (Ubuntu Trusty).
> Why do you want to set up 2 different servers in the first place? To create the
> matching nfsroot to install a matching OS?
>
>
> There's actually nothing that prevents you from installing OS 'abc' from an
> nfsroot with OS 'def'. It's not the default and there are some assumptions in
> FAI that need to be circumvented (like copying sources.list from the nfsroot
> to the newly installed OS.)
>
> There's not even a need to have a separate 32 and 64bit nfsroots as long as
> the client is able to boot a 64bit OS.
>
>
> You may run into problems if the nfsroot's debootstrap is unable to create the
> target OS base install, but that can be avoided by preparing a suitable
> "base.tgz" (it's just the tarred debootstrap result). [Btw. using suitable a
> base image makes it possible to install RedHat and SuSE via FAI.]
>
>
> bye
> thomas
-------------- n?chster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20140708/338fd4d8/attachment.html>
More information about the linux-fai
mailing list