fai for ubuntu intrepid 8.10 clients?

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


>>     I've already checked in launchpad that ubuntu's intrepid's fai
>> package
>> has been updated to gutsy. But hardy ?
>>
>
> For what it's worth, I took the Lenny packages from Tomas Lange's
website (3.2.14) and adapted it for Hardy.  Works fine, but it did
require some massaging to alter the package names (for example, the aufs
packages in Ubuntu are provided by linux-ubuntu-modules and it's ilk),
kernel names, and other differences.
Thank you for your work. I'll use it if I do not manage to setup 8.10 in
the client.

>> Once fai-setup -v is finished I try to boot the client.
>>
>> * It fetches ok kernel and initrd. I think it mounts the nfs ok.
>>
>> However I am not very about itbecause it often outputs:
>>
>> mount: error while loading share libraries: libsepol.so.1
>>
>> I have checked the NFSROOT interpretation by make-fai-nfsroot and libsepol
>> seems to be installed ok so I do not understand why that happens.
>>
>
> Are libsepol1 and libsepol1-dev both installed?
libsepol1 it is. libsepol1-dev I will check it.
>
>> * It outputs wc not found but coreutils seems to be installed. Is there
any place where might I check the PATH?
>>
>
> Is the wc problem in the config space or in the client (/target) space?
It is something that client outputs but I do not know if it is before
mounting the system by nfs or before.

> You can chroot into the nfsroot on your FAI server to find out
> pre-installation if it's in the nfsroot, and drop to a busybox shell
with a ctrl+c during the installation to find out if wc is present in
the client space.
Just to be sure, what would be the default path on which I should chroot?

So If I am in the client and I think that installation has begun (How do I
know that it has begun by the way?) I press CTRL+C and get a busybox. Ok.
Thank you for the TIP.
>
>> * It outputs grep: error while loading libpcre.so.3. What's the associate
>> package for that?
>>
>
> Do an 'apt-cache search libpcre'; the answer should be self-evident.
I just used the search option (Both package name and description) in
Synaptic and nothing appeared. I will try your command (I should have
tried it too. ;) )

>
>> * It outputs complaints about perl because of en_US.UTF_8 locale not being
>> correctly installed. How do I fix it? (It is very annoying).
>>
>
> This is because the locale is not being set during the installation.
Make sure belocs-locales-bin, locales, and util-linux-locales are in the
list of packages installed to the client
Ok. I'll check them.
>.  You can then make a custom
> script that executes something like the following to make sure it's the
default locale when you reboot:
>
> $ROOTCMD bash -x -c "echo \"LANG='en_US.UTF-8'
> LANGUAGE='en_US.UTF-8' LC_CTYPE='en_US.UTF-8'
> LC_NUMERIC='en_US.UTF-8'
> LC_TIME='en_US.UTF-8'
> LC_COLLATE='en_US.UTF-8'
> LC_MONETARY='en_US.UTF-8'
> LC_MESSAGES='en_US.UTF-8'
> LC_PAPER='en_US.UTF-8'
> LC_NAME='en_US.UTF-8'
> LC_ADDRESS='en_US.UTF-8'
> LC_TELEPHONE='en_US.UTF-8'
> LC_MEASUREMENT='en_US.UTF-8'
> LC_IDENTIFICATION='en_US.UTF-8'\" >> /etc/environment"
Ok. Thank you.

> That's just off the top of my head, so there may be typos :P
;)
>
> I also, just as an extra precautionary measure, install postgres like
this in Hardy,
Wait a moment. I want intrepid on my clients. Just to be sure that I
understand what's my target.

>> And finally (not related to the client boot) I have also seen that when
parsing NFSROOT file is not finding any ext2resize package.
>>
>> Is it a problem? How do I solve it?
>
> If you want ext2resize in your nfsroot, put it in /etc/fai/NFSROOT and
run make-fai-nfsroot -k
I will have to check what -k means.

What it is funny about ext2resize is that I have download the whole
intrepid repository (or I think so), 47,6 GB and there is no ext2resize
package nowhere.

> Respectfully,
> Ryan

Thank you for all your suggestions, now, let's see if your suggestions
apply all for intrepid too or not. ;)

-- 
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



-- 
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