DoudouLinux dev's blog

To content | To menu | To search

Tag - LiveCD

Entries feed - Comments feed

Friday 25 November 2011

Automatic login now available

The default behavior of DoudouLinux is to show the menu of activities (see below) after the system has started and as soon as any activity is leaved. This is good for small children because the activities menu offers activities in the increasing order of difficulties, from top to bottom. However, for older children, the first activities are or will quickly become of poor interest. This is why the list of activities shown – but not their order – can be changed with the activities menu editor .

Activities menu (small)

However the oldest children may still have no interest at all in seeing a menu of activities, since they will surely login into “Whole DoudouLinux”. The new version of the activities menu editor can now do this. The trick is quite simple: if only one activity is selected in the menu, DoudouLinux will not show the activities menu but instead will enter this activity directly. Activities menu settings are recorded in the directory /home/etc/, which means that any data persistence (user data or user+system) is sufficient to make settings survive a reboot or a shutdown.

This new version of the activities menu editor will be available with next releases: the coming development release numbered 2011-11 and the planned official release update Gondwana 1.2, due to mid January.

Saturday 9 April 2011

Clean install of DoudouLinux on hard disk

Currently the DoudouLinux installer just copies onto disk the Live media as is. While this is very practical for us and brings interesting features to users (rock-solid read-only system), this also has drawbacks:

  • the system is still compressed and slows down startup on old computers
  • you can not remove software
  • upgrading software creates a duplicate version of each software
  • many boot parameters cannot be changed (they're not persistent)

One of our most active contributors, Richard, suggested to use Remastersys. This is a tool whose goal is to perform full system backup onto a Live CD for Debian-based distributions. One of its features is to let users re-install a clean system onto hard disk from the Live CD: just what we need!

Thanks to it, on a laptop from 2003-2004, DoudouLinux is now booting in 40s instead of 120s from CD. I installed the system in 3 separate partitions: root, home and swap. The root system needs 1.9 GB so you have to setup at least a 2.5 GB root partition. Of course if you want to add software or don't want a separated home partition (bad idea), make it larger! Now let's look at the recipe :).

Remastersys is offered as a Debian package. The package provides a shell script to install the running Live system on disk: “remastersys-installer”. Reading the script showed that it is doing what we need. We have then successfully performed a clean install of DoudouLinux with the following operations:

  1. add Remastersys repository to a running DoudouLinux
  2. install Remastersys
  3. run the Remastersys script called “remastersys-installer”
  4. reboot!

Note that there are some issues to be corrected after the first boot (see after the source code below). We also have to customize the Remastersys script for use in an official future DoudouLinux release. In the meanwhile, if you want to test it by yourself, you need to type several code lines as root then as the main user to be able to use the graphical Gtk interface:

# log as root
su -

# define parameters
SOURCESLIST=/etc/apt/sources.list
DANSREGEXPEXCEPT=/etc/dansguardian/lists/exceptionregexpurllist
DANSSERVICE=/etc/init.d/dansguardian

# register remastersys repository
echo 'deb http://www.geekconnection.org/remastersys/repository debian/' >> $SOURCESLIST

# fix bug DansGuardian blocking some deb's files
# see: https://gna.org/bugs/index.php?18003
echo '\\.deb$' >> $DANSREGEXPEXCEPT
$DANSSERVICE restart

# install remastersys
apt-get update
apt-get install --assume-yes --force-yes remastersys

# call installer as normal user
exit
sudo remastersys-installer gui

Once completed, if you see messages complaining about the impossibility to unmount /TARGET and /TARGET/home, just unmount them manually in the console:

sudo umount /TARGET/home/
sudo umount /TARGET/

Finally please note that there are few details to be corrected:

  • at boot GRUB is complaining about a missing splash image
  • network may not work because the file /etc/network/interfaces is appended with another network configuration at each boot (which causes inconsistencies)
  • boot is hanging tens of seconds when network is not plugged because it is waiting for a DHCP lease

The first point can be solved by editing /boot/grub/menu.lst and adding “boot” between the double slash (//) in the line speaking of splash. Note that the Remastersys splash image is not childish at all. Prefer installing the package grub-splashimages-doudoulinux instead! (and replace the file /boot/grub/splash.xpm.gz)

The second one can be solved by removing the for loop of the 3rd block of code in /etc/rc.local.

The last one cannot be simply solved. We have to achieve additional experiments to find a solution. They'll be reported in the ticket related to this topic: Provide a way to do a real DDL installation.

Have nice DoudouLinux installs! ;)

Saturday 9 October 2010

Daily builds available!

We have created a new download section named “Daily build”. There is a section for LiveCD images and section for USB key images. Please note that these files cannot be downloaded from the standard download web page because these files are uploaded onto the server for testing purposes only. As usual, this does not mean that they do not work correctly at all!

Unlike what its name suggests, we do not intend to build a DoudouLinux version every night in this directory for obvious upload bandwidth reasons. Instead you may find sometimes versions that are being developed and made available during several days (say at least 7 days). The page Release notes provide information about what has been changed from the latest official build (currently the 2010-08).

Thursday 2 September 2010

Upload en cours…

Allez patience, encore quelques heures et la nouvelle mouture sera disponible au téléchargement. Rendez-vous normalement dans 24h, en attendant lisez les notes de mise à jour

Sunday 28 February 2010

La construction de CD multi-lingue est opérationnelle !

Ça y'est ! Les modifications nécessaires ont été apportées au code source afin de pouvoir générer des LiveCD dans d'autres langues que le français. Il reste encore à organiser un peu mieux les répertoires et, notamment, ne plus faire de l'anglais la base du LiveCD mais une langue comme une autre ;-). Néanmoins n'importe quelle autre langue peut être créée dans la mesure où elle est gérée par Debian. Il suffit de lancer la commande suivante dans le répertoire doudoulinux/live/trunk :

$ ./init-lang.sh xx

xx est le code de la langue sur deux lettres. On trouve ces codes par exemple dans la page List of ISO 639-1 codes. Ensuite il faut modifier les fichiers placés dans le répertoire de la langue qui vient d'être créé. La liste est la suivante (fichiers en italiques) :

$ tree es/
es/
|-- binary
|-- binary_local-hooks
|   `-- 10-set-grub.sh
|-- bootstrap
|-- chroot
|-- chroot_local-hooks
|   `-- 30-translate-shutdown.sh
`-- chroot_local-includes
   |-- etc
   |   `-- skel
   |       |-- .profile
   |       `-- .vkeybdmap
   `-- usr
       `-- share
           `-- lxlauncher
               `-- default
                   `-- lxpanel
                       `-- panels
                           `-- panel

Toutes les explications se trouvent dans le fichier HOWTO, du moins en théorie ;-). Du coup j'ai envoyé sur le serveur deux nouvelles langues du CD :

NB: si les liens sont morts, il faut aller directement dans http://download.doudoulinux.org/livecd/trunk/ !

Wednesday 3 February 2010

Un premier CD est disponible !

J'ai uploadé, pardon, envoyé une image ISO de CD il y a quelques jours. C'est la dernière version de DoudouLinux que j'ai compilée, avec notamment la persistence des données activée. Ça veut dire que, une fois qu'on a sélectionné le périphérique sur lequel enregistrer les données (clef USB, disque dur interne, etc.), au démarrage suivant les travaux des utilisateurs pourront être enregistrées automatiquement puis restaurées à chaque démarrage suivant.

Il ne reste plus qu'à indiquer l'emplacement de ce CD :

http://download.doudoulinux.org/liv...

Chez moi j'obtiens un débit plus qu'honorable d'environ 800 ko/s soit 12 min. de téléchargement. On dirait pour le moment que je ne me suis pas fait roulé en prenant cet hébergeur ;-) !

NB: vous pouvez vérifier l'intégrité du CD téléchargé en vérifiant sa somme de contrôle MD5. Sous Linux c'est très simple :

$ md5sum --check doudoulinux-20100115.iso.md5 
doudoulinux-20100115.iso: OK

Sous Mac OS, ça doit marcher pareil, par contre sous Windows… il faut certainement commencer par télécharger l'outil qui va bien et qui ne fait évidemment pas partie du système par défaut parce que sinon ça aurait coûté 2j d'ingénieur en plus à la pauvre société milliardaire qui l'édite ;-) ! Cela dit tout logiciel de gravure de CD qui se respecte vérifie la somme de contrôle intégrée au CD avant de graver…