ubuntu 8.10 on client side - third experience

Adrian Gibanel Lopez agibanel at alumnes.udl.cat
Wed Nov 26 20:14:13 CET 2008



Hi Fai list,

This is Adrian trying to make Ubuntu 8.10 fai package to serve an Ubuntu
8.10 client.

Here I am going to describe my ==third experience== with NO detail (I am
hurry).
However as I am right now working with a virtual machine I will tell you
more details in
next mails.

Do you remember my libsepol.so.1 mount errors?

I have managed to hack it.

Here there is how (It's not the exact commands that I typed but I think it
should work):

cp /src/tftp/fai/initrd.img-2.6.27-8-generic /tmp/initrd.img-2.6.27-8-generic
cd /tmp
gunzip /src/tftp/fai/initrd.img-2.6.27-8-generic
mkdir initrd_opened
cd initrd_opened
cpio -iv < ../initrd.img-2.6.27-8-generic
cp /lib/libsepol.so.1 /tmp/initrd_opened/lib/libsepol.so.1
find > ../file_list
cpio -ov < ../file_list > ../initrd.img-2.6.27-8-generic_FIXED -H newc
cd /tmp
rm initrd.img-2.6.27-8-generic
gzip -n initrd.img-2.6.27-8-generic_FIXED
mv initrd.img-2.6.27-8-generic_FIXED initrd.img-2.6.27-8-generic

cp /src/tftp/fai/initrd.img-2.6.27-8-generic
/src/tftp/fai/initrd.img-2.6.27-8-generic_ORIGINAL
cp initrd.img-2.6.27-8-generic /src/tftp/fai/initrd.img-2.6.27-8-generic

Try to boot the machine and it begins the FAI installation and everything
but...

there are some errors that persist but I have already said I will comment
them in
another mail.

I suppose that the problem comes in make-fai-nfsroot when calling
mkinitramfs for adding some
modules (or something like this) not adding essential modules such as
libsepol.so.1 and
maybe libpcre (I do not know if it is need in initrd with the hack I have
done).

I mean... there should a nicer hack editin make-fai-nfsroot script for
solving this problem,
isn't it? Any idea?

Adrian


-- 
Firma Automática 1:
---------------------
Adrian Gibanel Lopez
Estudiante de Ingenieria de Informatica de Sistemas en la Universitat de
LLeida.
Firma Automática 2:
---------------------
Participante en el III Concurso Universitario de Software Libre.
Proyecto: Desdeslin. http://desdeslin.wordpress.com


More information about the linux-fai mailing list