fai personalize: Tips to add logos and backgrounds when installing and after installation
Hi best Is there tips in order to change background logo fonts during the setup and provide a background image in the Linux console after the first boot. There is some howto but it require kernel compilation... Best regards... -- David Touzeau -- Linux Ubuntu 7.04 feisty FreePascal-Lazarus,perl,delphi,php artica for postfix management console (http://www.artica.fr) icq:160018849
Re: fai-cd: Is there a cache ?
I have rebuild the CD and there was a mistake... I had 2 tarball and the second erase the first that is the reason... So many thanks for you files are updated and it's working now. Michael Tautschnig a e'crit: -C I didn't use this token because i use default /etc/fai configuration by default. > Config space /srv/fai/config mounted Good. Did you copy your new files into this location? yes new files are copied here : /srv/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT for example, after installing with new CD, the file installed is artica-1.1.050713.tgz but inside the tgz the file version is artica-1.1.050609 from first compilation cd that i had build this morning. i have mounted the iso mount -o loop -t iso9660 /home/artica-1.1.050713.iso /mnt/iso there is a /mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT cp /mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT Are you damn sure that this tgz file is the only source of your /usr/share/artica-postfix/VERSION file? You don't install any deb, use ftar, copy some files explicitly, etc? If you turn on verbose, you should find quite a bit of output in /tmp/fai/{fai,shell}.log or /var/log/fai/localhost/last-install/{fai.shell}.log. Best, Michael -- David Touzeau -- Linux Ubuntu 7.04 feisty FreePascal-Lazarus,perl,delphi,php artica for postfix management console (http://www.artica.fr) icq:160018849
Re: fai-cd: Is there a cache ?
> > -C > I didn't use this token because i use default /etc/fai configuration by > default. > >> Config space /srv/fai/config mounted > Good. Did you copy your new files into this location? > > yes new files are copied here : > /srv/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT > > for example, after installing with new CD, the file installed is > artica-1.1.050713.tgz but inside the tgz the file version is > artica-1.1.050609 from first compilation cd that i had build this morning. > > > i have mounted the iso > mount -o loop -t iso9660 /home/artica-1.1.050713.iso /mnt/iso > > there is a > /mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT > > cp > /mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT > Are you damn sure that this tgz file is the only source of your /usr/share/artica-postfix/VERSION file? You don't install any deb, use ftar, copy some files explicitly, etc? If you turn on verbose, you should find quite a bit of output in /tmp/fai/{fai,shell}.log or /var/log/fai/localhost/last-install/{fai.shell}.log. Best, Michael pgpOewrwJME1a.pgp Description: PGP signature
Re: Problem with setup_harddisks
On Sat, May 03, 2008 at 08:19:56PM +0200, Michael Tautschnig wrote: > Hi! > > [...] > > > > As disk-config, we are using: > > disk_config disk1 > > primary /boot/ 10-100 ; boot > > primary - preserve2 > > logical / 9000-14000 rw,errors=remount-ro ; -j ext3 > > logical swap400-600 rw > > logical - preserve7 > > > > >From that, the following partition.hda - file is created: > > > > unit: sectors > > > > /dev/hda1 : start=63, size= 79569, Id= 83, bootable > > /dev/hda2 : start= 80325, size= 20482875, Id= c > > /dev/hda3 : start= 20563200, size= 57560895, Id= 5 > > /dev/hda4 : start= 0, size= 0, Id= 0 > > /dev/hda5 : start= 20563263, size= 20635713, Id= 83 > > /dev/hda6 : start= 41199039, size=907137, Id= 82 > > /dev/hda7 : start= 42106428, size= 36017667, Id= c > > > > which looks quite reasonable - except may bo for the partition /dev/hda4? > > > Hmm, yes. I don't know whether this is a bug in setup_harddisks or some > problem > with your prior partitioning. To rule out the former, could you try adding > another primary partition (maybe as small as 16MB, just for the sake of > debugging this? It shouldn't affect the 7th partition). Sorry, that's not so easy - thanks to our special hardware to protect the Hard-disks in Win98 I can't create hda4 without destroying the logical partitions ... > > > > > But setup_harddisks seems to have a problem with that: > > > > Creating partition table: LC_ALL=C sfdisk -q /dev/hda < > > /tmp/fai/partition.hda > > Warning: The partition table looks like it was made > > for C/H/S=*/255/63 (instead of 77504/16/63). > > For this listing I'll assume that geometry. > > > [...] > > Well, this might be the other possible cause: sfdisk might be confused about > the > geometry; usually, this requires adding the --force option to sfdisk (by > adding > export sfdisk="--force" to an appropriate .var file in class/). "--force" didn't change anything for our problem. Thank you for your remarks and proposals - we decided to take the "safest" way: creating a hook to switch of the partitioning completely. Like that, everything is working fine. Axel
Re: fai-cd: Is there a cache ?
-C I didn't use this token because i use default /etc/fai configuration by default. > Config space /srv/fai/config mounted Good. Did you copy your new files into this location? yes new files are copied here : /srv/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT for example, after installing with new CD, the file installed is artica-1.1.050713.tgz but inside the tgz the file version is artica-1.1.050609 from first compilation cd that i had build this morning. i have mounted the iso mount -o loop -t iso9660 /home/artica-1.1.050713.iso /mnt/iso there is a /mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT cp /mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT /root/artica-1.1.050713.tgz tar -xf /root/artica-1.1.050713.tgz cat artica-postfix/VERSION And the version is correct 1.1.050713 I have copied the cd to new computer and running installation The cd copy the right version see(http://www.artica.fr/images/cd1.jpg) But after installing there is an old version of my program copied ! see (http://www.artica.fr/images/cd2.jpg) totally crazy !!! best regards Thomas Lange a écrit : On Wed, 07 May 2008 14:43:57 +0200, TOUZEAU DAVID <[EMAIL PROTECTED]> said: > The fai-cd version is fai-cd 3.3 OK, this is a new version. > FAI_CONFIGDIR=/srv/fai/config Fine. > here it is the ouptout: > debian4r1:~# fai-cd -m /home/mirror -f /home/artica-1.1.050713.iso > Bind mounting all required parts > NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted > Config space /srv/fai/config mounted Good. Did you copy your new files into this location? > Mirror /home/mirror mounted > Writing FAI CD-ROM image to /home/artica-1.1.050713.iso. This may need > some time. > re-directing all messages to /dev/null > ISO image size and filename: 724M /home/artica-1.1.050713.iso Looks perfect for me. Can you please loop mount this iso image and check if the correct file are located in the config space on this iso? > Did you specify -C? > I didn't find any -C on the man page... how this token works ??? man fai-cd > No HTML mails, please. -- David Touzeau -- Linux Ubuntu 7.04 feisty FreePascal-Lazarus,perl,delphi,php artica for postfix management console (http://www.artica.fr) icq:160018849
Re: fai-cd: Is there a cache ?
> On Wed, 07 May 2008 14:43:57 +0200, TOUZEAU DAVID <[EMAIL PROTECTED]> > said: > The fai-cd version is fai-cd 3.3 OK, this is a new version. > FAI_CONFIGDIR=/srv/fai/config Fine. > here it is the ouptout: > debian4r1:~# fai-cd -m /home/mirror -f /home/artica-1.1.050713.iso > Bind mounting all required parts > NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted > Config space /srv/fai/config mounted Good. Did you copy your new files into this location? > Mirror /home/mirror mounted > Writing FAI CD-ROM image to /home/artica-1.1.050713.iso. This may need > some time. > re-directing all messages to /dev/null > ISO image size and filename: 724M /home/artica-1.1.050713.iso Looks perfect for me. Can you please loop mount this iso image and check if the correct file are located in the config space on this iso? > Did you specify -C? > I didn't find any -C on the man page... how this token works ??? man fai-cd > No HTML mails, please. -- regards Thomas
Re: fai-cd: Is there a cache ?
The fai-cd version is fai-cd 3.3 FAI_CONFIGDIR=/srv/fai/config here it is the ouptout: debian4r1:~# fai-cd -m /home/mirror -f /home/artica-1.1.050713.iso Bind mounting all required parts NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted Config space /srv/fai/config mounted Mirror /home/mirror mounted Writing FAI CD-ROM image to /home/artica-1.1.050713.iso. This may need some time. re-directing all messages to /dev/null ISO image size and filename: 724M /home/artica-1.1.050713.iso Did you specify -C? I didn't find any -C on the man page... how this token works ??? best regards Thomas Lange a écrit : On Wed, 07 May 2008 14:09:06 +0200, TOUZEAU DAVID <[EMAIL PROTECTED]> said: > I have put some files in config/files/ directory in order to install > them during CD installation. > ex: > /config/files/home/mydir/file.tar.gz/DEFAULT > /config/files/home/mydir/file2.tar.gz/DEFAULT > sometimes i need to make updates of this files > i replace them in the same folder /config/files/home/mydir/file2.tar.gz > in each time i update files, i launch > fai-cd -m /home/mirror -f -v /home/myiso.iso > but i don't understand why after installing the system, files updates > inside config/files directories are not updated. > Is there a cache created ? No, there's no cache. The config space which will be put on the CD it taken from FAI_CONFIGDIR. Which version of fai-cd re you using? Did you specify -C? There was a bug closed recently which may be related to your problem. bug nr.: #475250 If not, please proved some output of your fai-cd run. You should see a message like this in it: Config space /etc/fai mounted -- David Touzeau -- Linux Ubuntu 7.04 feisty FreePascal-Lazarus,perl,delphi,php artica for postfix management console (http://www.artica.fr) icq:160018849
Re: fai-cd: Is there a cache ?
> On Wed, 07 May 2008 14:09:06 +0200, TOUZEAU DAVID <[EMAIL PROTECTED]> > said: > I have put some files in config/files/ directory in order to install > them during CD installation. > ex: > /config/files/home/mydir/file.tar.gz/DEFAULT > /config/files/home/mydir/file2.tar.gz/DEFAULT > sometimes i need to make updates of this files > i replace them in the same folder /config/files/home/mydir/file2.tar.gz > in each time i update files, i launch > fai-cd -m /home/mirror -f -v /home/myiso.iso > but i don't understand why after installing the system, files updates > inside config/files directories are not updated. > Is there a cache created ? No, there's no cache. The config space which will be put on the CD it taken from FAI_CONFIGDIR. Which version of fai-cd re you using? Did you specify -C? There was a bug closed recently which may be related to your problem. bug nr.: #475250 If not, please proved some output of your fai-cd run. You should see a message like this in it: Config space /etc/fai mounted -- regards Thomas
fai-cd: Is there a cache ?
Dear I have put some files in config/files/ directory in order to install them during CD installation. ex: /config/files/home/mydir/file.tar.gz/DEFAULT /config/files/home/mydir/file2.tar.gz/DEFAULT sometimes i need to make updates of this files i replace them in the same folder /config/files/home/mydir/file2.tar.gz in each time i update files, i launch fai-cd -m /home/mirror -f -v /home/myiso.iso but i don't understand why after installing the system, files updates inside config/files directories are not updated. Is there a cache created ? If yes, Is there a way to delete cache before make the iso file ? Best regards -- David Touzeau -- Linux Ubuntu 7.04 feisty FreePascal-Lazarus,perl,delphi,php artica for postfix management console (http://www.artica.fr) icq:160018849