<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EquinoxeFR &#187; kernel &raquo; EquinoxeFR</title>
	<atom:link href="http://www.equinoxefr.org/post/tag/kernel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.equinoxefr.org</link>
	<description>DIY Lab</description>
	<lastBuildDate>Sun, 05 Feb 2012 21:33:11 +0000</lastBuildDate>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Archlinux: J&#8217;ai cassé mon kernel !</title>
		<link>http://www.equinoxefr.org/post/2012/01/05/archlinux-jai-casse-mon-kernel/</link>
		<comments>http://www.equinoxefr.org/post/2012/01/05/archlinux-jai-casse-mon-kernel/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 17:00:53 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Non classé]]></category>
		<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[réparer]]></category>
		<category><![CDATA[rescue]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=1378</guid>
		<description><![CDATA[A la suite d&#8217;une fausse manip lors d&#8217;une mise à jour, mon PC ne démarre plus avec archlinux. Après expertise, il s&#8217;avère que l&#8217;installation du paquet de mise à jour du noyau n&#8217;est pas allée à son terme. Le noyau ( Vmlinuz ) est à jour mais le initrd lui est trop ancien. Pour s&#8217;en &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2012/01/05/archlinux-jai-casse-mon-kernel/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.equinoxefr.org/wp-content/uploads/2012/01/archlinux-logo.png" rel="lightbox[1378]"><img class="aligncenter size-full wp-image-1381" title="archlinux-logo" src="http://www.equinoxefr.org/wp-content/uploads/2012/01/archlinux-logo.png" alt="" width="600" height="199" /></a></p>
<p>A la suite d&#8217;une fausse manip lors d&#8217;une mise à jour, mon PC ne démarre plus avec archlinux. Après expertise, il s&#8217;avère que l&#8217;installation du paquet de mise à jour du noyau n&#8217;est pas allée à son terme. Le noyau ( Vmlinuz ) est à jour mais le initrd lui est trop ancien.</p>
<p>Pour s&#8217;en sortir, rien de très compliqué:</p>
<p>Démarrer l&#8217;installable d&#8217;Archlinux sur un CD ou une clef USB.</p>
<p>Réglez votre clavier correctement avec la commande <em>km</em>, c&#8217;est plus facile ensuite <img src='http://www.equinoxefr.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Montez votre partition root</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>recup
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1 <span style="color: #000000; font-weight: bold;">/</span>recup</pre></div></div>

<p>Mettez à jour le mtab de la partition root</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> rootfs <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>mounts <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>recup<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mtab</pre></div></div>

<p>Montez ensuite les filesystem spéciaux</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>proc <span style="color: #000000; font-weight: bold;">/</span>recup<span style="color: #000000; font-weight: bold;">/</span>proc
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>dev <span style="color: #000000; font-weight: bold;">/</span>recup<span style="color: #000000; font-weight: bold;">/</span>dev
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>sys <span style="color: #000000; font-weight: bold;">/</span>recup<span style="color: #000000; font-weight: bold;">/</span>sys</pre></div></div>

<p>Un petit chroot</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chroot</span> <span style="color: #000000; font-weight: bold;">/</span>recup
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-a</span></pre></div></div>

<p>Vous pouvez retrouver les derniers paquets installés dans <em>/var/cache/pacman/pkg/</em> et en réinstaller un avec <em>pacman -U XXX.pkg.tar.gz</em>, pour moi se sera <em>linux-3.1.7-1-x86_64.pkg.tar.xz</em></p>
<p>Bingo ! Un redémarrage plus tard, tout refonctionne. J&#8217;ai trouvé après coup une doc similaire ici <a href="http://wiki.archlinux.fr/Install_chroot" target="_blank">http://wiki.archlinux.fr/Install_chroot</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2012/01/05/archlinux-jai-casse-mon-kernel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backporter le noyau 2.6.28 de Jaunty dans Intrepid</title>
		<link>http://www.equinoxefr.org/post/2009/01/12/backporter-le-noyau-2628-de-jaunty-dans-intrepid/</link>
		<comments>http://www.equinoxefr.org/post/2009/01/12/backporter-le-noyau-2628-de-jaunty-dans-intrepid/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 21:33:29 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[2.6.28]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=488</guid>
		<description><![CDATA[Il y a quelques semaines, j&#8217;ai remplacé mon portable. Après avoir fait un tour des différents PC disponibles, j&#8217;ai finalement craqué pour un macbook alu. La machine est superbe comparé à la concurrence. Pour ce qui est de l&#8217;OS, c&#8217;est quand même mieux que Windows (a défaut d&#8217;être totalement ouvert, c&#8217;est stable et il y &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2009/01/12/backporter-le-noyau-2628-de-jaunty-dans-intrepid/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Il y a quelques semaines, j&#8217;ai remplacé mon portable. Après avoir fait un tour des différents PC disponibles, j&#8217;ai finalement craqué pour un macbook alu. La machine est superbe comparé à la concurrence. Pour ce qui est de l&#8217;OS, c&#8217;est quand même mieux que Windows (a défaut d&#8217;être totalement ouvert, c&#8217;est stable et il y a un shell, un vrai&#8230;). Pour être tout à fait honnête, c&#8217;est même parfait pour celui qui veut un truc qui marche sans soucis&#8230; Mais pour moi Linux reste de loin plus intéressant car beaucoup plus ouvert.</p>
<p>J&#8217;ai donc installé sur mon Macbook Ubuntu 8.10 64bits. Tout fonctionne en suivant les instructions du site <a href="https://help.ubuntu.com/community/MacBook%20Aluminum" target="_blank">Ubuntu</a>, il ne reste que le microphone et le haut parleur interne gauche qui ne marche pas chez moi. La puce audio semble un peu trop récente&#8230;</p>
<p>Afin d&#8217;améliorer encore le support pour ce nouveau matériel, j&#8217;ai décidé d&#8217;installer le noyau 2.6.28 présent dans Ubuntu Jaunty. La procédure est longue mais simple: il suffit de télécharger sur https://launchpad.net/ubuntu/jaunty/+source/linux/2.6.28-4.9 les sources du noyau, les patchs et le fichier de description puis d&#8217;utiliser pbuilder pour créer les packages</p>
<p><img class="alignnone size-medium wp-image-495" title="term1" src="http://www.equinoxefr.org/wp-content/uploads/2009/01/term1-300x228.png" alt="term1" width="300" height="228" /></p>
<p>[code]</p>
<p># installation de l'outil de compilation</p>
<p>sudo apt-get install pbuilder</p>
<p># Creation de l'environnement de compilation</p>
<p>sudo pbuilder create</p>
<p>[/code]</p>
<p><img class="alignnone size-medium wp-image-496" title="capture-pierremacbook-download" src="http://www.equinoxefr.org/wp-content/uploads/2009/01/capture-pierremacbook-download-300x197.png" alt="capture-pierremacbook-download" width="300" height="197" /></p>
<p>[code]</p>
<p># Compilation du kernel</p>
<p>sudo pbuilder build linux_2.6.28-4.9.dsc</p>
<p>[/code]</p>
<p><img class="alignnone size-medium wp-image-497" title="capture" src="http://www.equinoxefr.org/wp-content/uploads/2009/01/capture-300x197.png" alt="capture" width="300" height="197" /></p>
<p>Vous allez pouvoir aller prendre un café, cette opération dure un certain temps. Attention aussi à prévoir pas mal d&#8217;espace, 10 gigas de libres ne sont pas superflus pour la compilation de l&#8217;ensemble. Si vous n&#8217;avez pas assez sur votre volume, vous pouvez compiler dans un autre répertoire à l&#8217;aide de l&#8217;option &#8211;buildplace de pbuilder.</p>
<p>Le résultat de cette longue phase de compilation se trouve dans /var/cache/pbuilder/result</p>
<p>Pour installer le nouveau noyau fraichement compilé,</p>
<p>[code]</p>
<p>sudo dpkg -i linux-image-2.6.28-4-generic_2.6.28-4.9_amd64.deb linux-headers-2.6.28-4-generic_2.6.28-4.9_amd64.deb</p>
<p>[/code]</p>
<p>Il ne me reste plus qu&#8217;à tester ce nouveau noyau <img src='http://www.equinoxefr.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2009/01/12/backporter-le-noyau-2628-de-jaunty-dans-intrepid/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

