Installing Edubuntu with FAI

Dashamir Hoxha dashohoxha at gmail.com
Tue Jun 28 22:44:39 CEST 2011


You are right, os-prober solves the problem of
detecting the existing windows and adding it on
the grub menu.

Besides this, it is needed to create a default user
(by the scripts), different from 'fai demo'.
It is needed to create an 'admin' group and add
the default user to this group (so that the trick
'sudo su' of ubuntu works). There must be a lot of
other things as well.

I have the impression that ubuntu/edubuntu, after
installing packages, execute some post-installation
scripts that configure the system properly. I think
that the same scripts should be executed after FAI
installation, in order to have a normal ubuntu/edubuntu
system. But I don't think that I am able to re-invent
them from the scratch. It seems too much work for me.

Best regards,
Dashamir

On 06/28/2011 11:36 AM, Ahmed Altaher wrote:
> OK, Dear
> 
> you have to add os-prober under package_config directory, and
> your problem is how to choose the suitable packages during installation
> so could you check and study more the directory /srv/fai/config.
> 
> Best wishes,
> 
> Ahmed Altaher
> 
>> Date: Tue, 28 Jun 2011 08:30:58 +0200
>> From: dashohoxha at gmail.com
>> To: linux-fai at uni-koeln.de
>> Subject: Re: Installing Edubuntu with FAI
>>
>> I can confirm that with FAI 3.4.8, preserving the first
>> partition (where windows is installed) worked well.
>>
>> However I had other problems. For example the grub menu
>> that is installed does not have windows.
>> Also the edubuntu system that was installed is not the
>> same as the one installed from the DVD (a lot of things
>> are missing, in the menues, etc.)
>>
>> I realise that these may not be FAI problems at all,
>> but rather the problem is that I don't know to configure
>> it properly. But somehow this is also a problem related
>> to FAI, because it should try to make it easy for me.
>>
>> I have spent a lot of time with FAI (much more than I had
>> planned), and finally I am giving up. For 15-20 PCs that
>> I want to install, probably it is much more efficient to
>> do it manually than to struggle endlessly with FAI config.
>>
>> Regards,
>> Dashamir
>>
>> On 06/23/2011 07:47 PM, Dashamir Hoxha wrote:
>> > On 06/21/2011 03:37 PM, Dashamir Hoxha wrote:
>> >> Hi,
>> >>
>> >> We have tried to repeat the whole process from the beginning,
>> >> starting with a fresh edubuntu installation. Along the way
>> >> I have also noted the steps that we did. You can find them at
>> >>
> http://sourceforge.net/userapps/mediawiki/dashohoxha/index.php?title=Installing_Edubuntu_Automatically_with_FAI
>> >>
>> >> At 'fai-setup -v' I have noticed these problems:
>> >> ----------
>> >> Shadow passwords are now on.
>> >> cp: cannot stat `/srv/fai/nfsroot/live/filesystem.dir/boot/vmlinu?-*':
>> >> No such file or directory
>> >> cp: cannot stat
>> >> `/srv/fai/nfsroot/live/filesystem.dir/boot/initrd.img-*': No such file
>> >> or directory
>> >> DHCP environment prepared. If you want to use it, you have to
> enable the
>> >> dhcpd and the tftp-hpa daemon.
>> >> ERROR: No initrd installed.
>> >> Log file written to /var/log/fai/make-fai-nfsroot.log
>> >> ----------
>> >> The log file is also attached.
>> >
>> > I managed to find the cause of this problem:
>> > On the config file '/etc/fai/NFSROOT' on the section
>> > 'PACKAGES aptitude AMD64', packages 'linux-image-2.6-amd64' and 'grub'
>> > are listed. However, the first one does not exist on the natty
>> > repository (so I replaced it with 'linux-image'), and 'grub' seems
>> > to be a bit old and deprecated, so I replaced it with 'grub-pc'.
>> >
>> > Probably on the Ubuntu FAI packages these configurations are right,
>> > but I have installed the packages from
>> > deb http://fai-project.org/download squeeze koeln
>> >
>> > I have documented these modifications on my notes:
>> >
> http://sourceforge.net/userapps/mediawiki/dashohoxha/index.php?title=Installing_Edubuntu_Automatically_with_FAI
>> >
>> > I still have to retry the rest of the installation/configuration steps.
>> >
>> > Regards,
>> > Dashamir
>> >
>> >>
>> >> If you can notice something that may be the cause of such
>> >> a problem, please let me know.
>> >>
>> >> Thank you and best regards,
>> >> Dashamir
>> >>
>> >
>>
>> --
>> Dashamir Hoxha
>> GPG: 4F97 4EDE C739 4C3D 361E 16D3 FD06 AA8E 55D5 9B28
>> In God we trust. Everybody else we verify using GnuPG!
>>

-- 
Dashamir Hoxha
GPG: 4F97 4EDE C739 4C3D 361E 16D3 FD06 AA8E 55D5 9B28
In God we trust. Everybody else we verify using GnuPG!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20110628/bce34dfb/attachment.bin>


More information about the linux-fai mailing list