<?xml version="1.0" encoding="ISO-8859-1" ?>
<feed xmlns="http://purl.org/atom/ns#" version="0.3"
	  xmlns:dc="http://purl.org/dc/elements/1.1/"
	  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xml:lang="fr">

  <title>Tony alias NuNuX</title>
  <link rel="alternate" type="text/html" href="http://tonyducrocq.free.fr/dotclear/index.php"/>
  <tagline type="text/plain" mode="escaped"></tagline>
  
  <modified>2007-12-03T13:02:15+01:00</modified>
  <generator version="1.2.3" url="http://www.dotclear.net/">DotClear</generator>
  
  <sy:updatePeriod>daily</sy:updatePeriod>
  <sy:updateFrequency>1</sy:updateFrequency>
  <sy:updateBase>2007-12-03T13:02:15+01:00</sy:updateBase>
  
<entry xml:lang="en">
  <title>Howto launch kde4daily in a chroot</title>
  <link rel="alternate" type="text/html" href="http://tonyducrocq.free.fr/dotclear/index.php?2007/12/03/6-howto-launch-kde4daily-in-a-chroot" />
  <issued>2007-12-03T13:02:15+01:00</issued>
  <modified>2007-12-03T13:02:15+01:00</modified>
  <id>http://tonyducrocq.free.fr/dotclear/index.php?2007/12/03/6-howto-launch-kde4daily-in-a-chroot</id>
  <author><name>Tony Ducrocq</name></author>
  <dc:subject>General</dc:subject>
  <summary>I am using Debian Sid to write this how-to but it will normally work on all Linux distribs.

What do you need?
* Around 4Gb of free space
* Qemu
* Xephyr
* losetup
* dmsetup
* root access

Setting up the chroot :
First you have to download the qemu image at...</summary>
  <content type="text/html" mode="escaped"> I am using Debian Sid to write this how-to but it will normally work on all Linux distribs.&lt;br&gt;
&lt;br&gt;
&lt;h4&gt;What do you need?&lt;/h4&gt;
* Around 4Gb of free space&lt;br&gt;
* Qemu&lt;br&gt;
* Xephyr&lt;br&gt;
* losetup&lt;br&gt;
* dmsetup&lt;br&gt;
* root access&lt;br&gt;
&lt;br&gt;
&lt;h4&gt;Setting up the chroot :&lt;/h4&gt;&lt;br&gt;
First you have to download the qemu image at [|http://etotheipiplusone.com/kde4daily/docs/kde4daily.html|en] then bunzip and convert it in a raw format :&lt;br&gt;
&lt;br&gt;
&lt;code&gt;
$ bunzip2 -c kde4daily-0_0_1_r734472-qcow.img.bz2 &gt;&gt; kde4daily-0_0_1_r734472-qcow.img&lt;br&gt;
$ qemu-img convert kde4daily-0_0_1_r734472-qcow.img kde4daily-0_0_1_r734472-qcow.raw&lt;br&gt;
&lt;/code&gt;
&lt;br&gt;
Note : you need qemu to do the conversion.&lt;br&gt;
&lt;br&gt;
(At this point you will need to be root or use sudo)&lt;br&gt;
Ok, now the raw file is like a hard drive, it contains 4 partitions (3 ext3 and 1 swap). &lt;br&gt;
&lt;br&gt;
&lt;code&gt;
# sfdisk -d kde4daily-0_0_1_r734472-qcow.raw&lt;br&gt; 
partition table of kde4daily-0_0_1_r734472-qcow.raw&lt;br&gt;
unit: sectors&lt;br&gt;
&lt;br&gt;
kde4daily-0_0_1_r734472-qcow.raw1 : start=       63, size=  1959867, Id=83, bootable&lt;br&gt;
kde4daily-0_0_1_r734472-qcow.raw2 : start=  1959930, size=   996030, Id=82&lt;br&gt;
kde4daily-0_0_1_r734472-qcow.raw3 : start=  2955960, size=  1959930, Id=83&lt;br&gt;
kde4daily-0_0_1_r734472-qcow.raw4 : start=  4915890, size=  2409750, Id=83&lt;br&gt;
&lt;/code&gt;
&lt;br&gt;
With sfdisk you can see the differents paritions, we will mount them in /mnt/kde4daily, to do this you have to mount the image in loopback then create a device for the 3 partitions :&lt;br&gt;
&lt;code&gt;
# losetup -f kde4daily-0_0_1_r734472-qcow.raw&lt;br&gt;
# echo &quot;0 1959867 linear /dev/loop0 63&quot; &gt; kde_part1&lt;br&gt;
# echo &quot;0 1959930 linear /dev/loop0 2955960&quot; &gt; kde_part2&lt;br&gt;
# echo &quot;0 2409750 linear /dev/loop0 4915890&quot; &gt; kde_part3&lt;br&gt;
# dmsetup create loop0p1 kde_part1&lt;br&gt;
# dmsetup create loop0p2 kde_part2&lt;br&gt; 
# dmsetup create loop0p3 kde_part3&lt;br&gt; 
&lt;/code&gt;
&lt;br&gt;
At this point you will have three new devices :&lt;br&gt;
&lt;code&gt;
# ls /dev/mapper/&lt;br&gt;
control  loop0p1  loop0p2  loop0p3&lt;br&gt;
&lt;/code&gt;
&lt;br&gt;
Now we mount them :&lt;br&gt;
&lt;code&gt;
# mkdir /mnt/kde4daily&lt;br&gt;
# mount /dev/mapper/loop0p1 /mnt/kde4daily/&lt;br&gt;
# mount /dev/mapper/loop0p2 /mnt/kde4daily/home/&lt;br&gt;
# mount /dev/mapper/loop0p3 /mnt/kde4daily/storage/tmp/kde4dev/&lt;br&gt;
&lt;/code&gt;
&lt;br&gt;
now mount some other thing :&lt;br&gt;
&lt;code&gt;
# mount -o bind /dev /mnt/kde4daily/dev&lt;br&gt;
# mount -o bind /proc /mnt/kde4daily/proc&lt;br&gt;
# mount -o bind /sys /mnt/kde4daily/sys&lt;br&gt;
# mount -o bind /tmp /mnt/kde4daily/tmp&lt;br&gt;
&lt;/code&gt;
&lt;br&gt;
Good, the kde4daily filesystem is now mounted on yours, now we set up and entering in the chroot.&lt;br&gt;
&lt;br&gt;
&lt;code&gt;
# cp -L /etc/resolv.conf /mnt/kde4daily/etc/resolv.conf&lt;br&gt;
# chroot /mnt/kde4daily /bin/bash&lt;br&gt;
su - kde4daily&lt;br&gt;
[kde4daily@obelix][21:37:02]&lt;br&gt;
[~/kde4dailyupdater]&gt; ./kde4daily-update&lt;br&gt;
&lt;/code&gt;
The last line is for updating the system, if you don't wan't to do this now, just skip this step.&lt;br&gt;
&lt;br&gt;
At this point you are in kde4daily envirronment, you will need this terminal later, so hide it. You have to alternative now : &lt;br&gt;
- Use a 2nd X server&lt;br&gt;
or&lt;br&gt;
- Use Xephyr&lt;br&gt;
&lt;br&gt;
Xephyr is an X server inside your X server, it is just a window with an emulated X server inside. A 2nd X server will let you try the composite effects and all your screen resolution.&lt;br&gt;
&lt;br&gt;
&lt;h4&gt;The Xephyr solution :&lt;/h4&gt;&lt;br&gt;
In your host system start Xephyr as normal user :&lt;br&gt;
&lt;code&gt;
$ Xephyr :1 -screen 1024x768 -ac&lt;br&gt;
&lt;/code&gt;
if you have more than one X server use :2 (or :3 etc ...) instead of :1. You can use a bigger or smaller resolution than 1024x768 if you want.&lt;br&gt;
&lt;br&gt;
&lt;h4&gt;The 2nd X server solution :&lt;/h4&gt;&lt;br&gt;
Your user have to be allowed to start a 2nd X server, for Debian you have to replace the line :&lt;br&gt;
&lt;br&gt;
allowed_users=console&lt;br&gt;
  by&lt;br&gt;
allowed_users=anybody&lt;br&gt;
&lt;br&gt;
in the file /etc/X11/Xwrapper.config&lt;br&gt;
Now start the server :&lt;br&gt;
&lt;code&gt;
$ startx -- :1&lt;br&gt;
&lt;/code&gt;
Then you can switch between the first and the second server with Ctrl+Alt+F7 and Ctrl+Alt+F8.&lt;br&gt;
Go back in the first server and in another terminal (the 3rd :) execute :&lt;br&gt;
&lt;code&gt;
DISPLAY=&quot;:1&quot; xterm&lt;br&gt;
&lt;/code&gt;
In the 2nd X serveur you will see a terminal disable host control and close the terminal :&lt;br&gt;
&lt;code&gt;
$ xhost +&lt;br&gt;
$ exit&lt;br&gt;
&lt;/code&gt;
And finally return in the 1st X server with Ctrl+Alt+F7&lt;br&gt;
&lt;br&gt;
&lt;h4&gt;Launch KDE4&lt;/h4&gt;&lt;br&gt;
OK your now ready to launch kde4 &lt;br&gt;
&lt;code&gt;&lt;br&gt;
DISPLAY=&quot;:1&quot; /storage/tmp/kde4dev/kde/bin/startkde&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
&lt;h4&gt;The End&lt;/h4&gt;
&lt;br&gt;
TODO :&lt;br&gt;
- Howto quit and unmount all mounted stuff.&lt;br&gt;
- Script to automate all these steps.&lt;br&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>Config kernel MSI S270</title>
  <link rel="alternate" type="text/html" href="http://tonyducrocq.free.fr/dotclear/index.php?2006/01/31/4-config-kernel-msi-s270" />
  <issued>2006-01-31T20:49:47+01:00</issued>
  <modified>2006-01-31T20:49:47+01:00</modified>
  <id>http://tonyducrocq.free.fr/dotclear/index.php?2006/01/31/4-config-kernel-msi-s270</id>
  <author><name>Tony Ducrocq</name></author>
  <dc:subject>Hardware</dc:subject>
  <summary>Vous le savez peut-être déja je possède un laptop MSI S270 (chipset RS480), après avoir recontré divers problèmes d'I/O lors de graure de cd/dvd, de kernel panic lors de la copie de gros fichier depuis un cd et autres j'ai fini par trouver une configuration qui fonctionne plûtot bien. Mon kernel est...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Vous le savez peut-être déja je possède un laptop MSI S270 (chipset RS480), après avoir recontré divers problèmes d'I/O lors de graure de cd/dvd, de kernel panic lors de la copie de gros fichier depuis un cd et autres j'ai fini par trouver une configuration qui fonctionne plûtot bien. Mon kernel est le 2.6.15.1 officiel (aucun patch), les pilotes pour le son, le réseau, et autres sont en dur dans le kernel, vous pouvez bien entendu les mettres en modules. &lt;br /&gt;
&lt;a href=&quot;http://tonyducrocq.free.fr/files/config&quot; hreflang=&quot;fr&quot;&gt;Cliquez ici pour télécharger le fichier&lt;/a&gt;&lt;/p&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>Journée Logiciels Libres du 28 Janvier</title>
  <link rel="alternate" type="text/html" href="http://tonyducrocq.free.fr/dotclear/index.php?2006/01/29/3-journee-logiciels-libres-du-28-janvier" />
  <issued>2006-01-29T21:35:19+01:00</issued>
  <modified>2006-01-29T21:35:19+01:00</modified>
  <id>http://tonyducrocq.free.fr/dotclear/index.php?2006/01/29/3-journee-logiciels-libres-du-28-janvier</id>
  <author><name>Tony Ducrocq</name></author>
  <dc:subject>Asso</dc:subject>
  <summary>Hier à eu lieu la journée Logiciels Libres au X2000 (à Lille), le résultat à été plutôt mitigé de part la faible fréquentation. J'ai passé quasiment toute la journée à installer mandriva (ou plutôt windows) sur un zoli ordinateur Packard Bell dont les cd d'installation système n'étaient pas fournis....</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Hier à eu lieu la journée Logiciels Libres au X2000 (à Lille), le résultat à été plutôt mitigé de part la faible fréquentation. J'ai passé quasiment toute la journée à installer mandriva (ou plutôt windows) sur un zoli ordinateur Packard Bell dont les cd d'installation système n'étaient pas fournis. Vive Packard Bell et les système de restauration ...&lt;/p&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>Rovclock</title>
  <link rel="alternate" type="text/html" href="http://tonyducrocq.free.fr/dotclear/index.php?2006/01/23/2-rovclock" />
  <issued>2006-01-23T17:51:23+01:00</issued>
  <modified>2006-01-23T17:51:23+01:00</modified>
  <id>http://tonyducrocq.free.fr/dotclear/index.php?2006/01/23/2-rovclock</id>
  <author><name>Tony Ducrocq</name></author>
  <dc:subject>Logiciels</dc:subject>
  <summary>J'ai trouvé un petit outil assé simpas pour les pocesseurs de carte video ATI : rovclock. Cet outil vous permettra de changer la fréquence de votre carte ATI à la volée. Attention vous devez posséder les driver ATI propriétaires....</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;J'ai trouvé un petit outil assé simpas pour les pocesseurs de carte video ATI&amp;nbsp;: &lt;a href=&quot;http://www.hasw.net/linux/&quot; hreflang=&quot;en&quot;&gt;rovclock&lt;/a&gt;. Cet outil vous permettra de changer la fréquence de votre carte ATI à la volée. Attention vous devez posséder les driver ATI propriétaires.&lt;/p&gt;</content>
</entry>
<entry xml:lang="fr">
  <title>Bienvenue</title>
  <link rel="alternate" type="text/html" href="http://tonyducrocq.free.fr/dotclear/index.php?2006/01/13/1-first-post" />
  <issued>2006-01-13T00:50:29+01:00</issued>
  <modified>2006-01-13T00:50:29+01:00</modified>
  <id>http://tonyducrocq.free.fr/dotclear/index.php?2006/01/13/1-first-post</id>
  <author><name>Tony Ducrocq</name></author>
  <dc:subject>General</dc:subject>
  <summary>Bienvenu sur mon weblogue, celui-ci parlera en général d'informatique et plus précisément de GNU/Linux. Toutefois ne vous étonnez pas si je parle de mon chat (j'ai pas de chat!?) ou des raviolis que j'ai mangé ce midi (j'aime pas les raviolis !?).J'espère que vous passerez de bons moments à me lire...</summary>
  <content type="text/html" mode="escaped"> &lt;p&gt;Bienvenu sur mon weblogue, celui-ci parlera en général d'informatique et plus précisément de GNU/Linux. Toutefois ne vous étonnez pas si je parle de mon chat (j'ai pas de chat!?) ou des raviolis que j'ai mangé ce midi (j'aime pas les raviolis !?).&lt;/p&gt;&lt;p&gt;J'espère que vous passerez de bons moments à me lire : bonne lecture.&lt;/p&gt;</content>
</entry>
</feed>