<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=423668&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [Résolu] Lancer un update-grub en LiveCD]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=423668</link>
		<description><![CDATA[Les sujets les plus récents dans [Résolu] Lancer un update-grub en LiveCD.]]></description>
		<lastBuildDate>Sat, 15 Sep 2012 05:18:17 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=10767481#p10767481</link>
			<description><![CDATA[<div class="quotebox"><cite>darkevolution a écrit&#160;:</cite><blockquote><div><p> il manque le montage de /sys</p></div></blockquote></div><p>C&#039;est vrai. la procédure préconisée dans la doc prévoit bien le montage de /sys : <a href="http://doc.ubuntu-fr.org/grub-pc#configurationreconfiguration_automatisee_a_partir_du_live_cd">http://doc.ubuntu-fr.org/grub-pc#config … du_live_cd</a></p>]]></description>
			<author><![CDATA[dummy@example.com (malbo)]]></author>
			<pubDate>Sat, 15 Sep 2012 05:18:17 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=10767481#p10767481</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=10710411#p10710411</link>
			<description><![CDATA[<p>Pour les intéréssés, il manque le montage de /sys, qui m&#039;a été indiqué en erreur :</p><div class="codebox"><pre><code>Cannot find list of partitions!  (Try mounting /sys.)</code></pre></div><p>Résolu, comme suit :</p><div class="codebox"><pre><code>sudo mount --bind /sys /media/vol/sys</code></pre></div><p>L&#039;update grub tourne ensuite sans erreur.</p>]]></description>
			<author><![CDATA[dummy@example.com (darkevolution)]]></author>
			<pubDate>Mon, 10 Sep 2012 21:33:07 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=10710411#p10710411</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793999#p3793999</link>
			<description><![CDATA[<p>Oops, j&#039;avais pas vu ton lien <img src="http://forum.ubuntu-fr.org/img/smilies/roll.png" width="15" height="15" alt="roll" /><br />Ahhh, ça marche déjà mieux ! Voici ce que j&#039;ai fait et ce que j&#039;obtiens :</p><div class="codebox"><pre><code>ubuntu@ubuntu:~$ sudo mount /dev/sdc1 /media/vol_ubuntu
ubuntu@ubuntu:~$ sudo mount --bind /dev /media/vol_ubuntu/dev/
ubuntu@ubuntu:~$ sudo mount -t proc /proc /media/vol_ubuntu/proc/
ubuntu@ubuntu:~$ sudo chroot /media/vol_ubuntu
root@ubuntu:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found memtest86+ image: /boot/memtest86+.bin
Cannot find list of partitions!
done
root@ubuntu:/#</code></pre></div><p>Seul le <strong>&quot;Cannot find list of partitions!&quot;</strong> me perturbe encore.<br />J&#039;ai redémarré et j&#039;ai toujours mon écran noir donc je pense que ça n&#039;a pas fonctionné...</p><p>Merci beaucoup pour le reste en tout cas <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />Je ferme le sujet car le problème n&#039;a plus aucun lien avec l&#039;utilisation de update-grub en LiveCD.</p>]]></description>
			<author><![CDATA[dummy@example.com (grobs)]]></author>
			<pubDate>Sun, 17 Oct 2010 16:15:51 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793999#p3793999</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793949#p3793949</link>
			<description><![CDATA[<p>ET tu es sûr que ta partition est bien montée sur /media/vol* ?</p>]]></description>
			<author><![CDATA[dummy@example.com (helly)]]></author>
			<pubDate>Sun, 17 Oct 2010 16:00:35 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793949#p3793949</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793945#p3793945</link>
			<description><![CDATA[<p>La page de doc sur laquelle moi lien pointe…</p>]]></description>
			<author><![CDATA[dummy@example.com (helly)]]></author>
			<pubDate>Sun, 17 Oct 2010 15:59:41 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793945#p3793945</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793938#p3793938</link>
			<description><![CDATA[<p>Ma foi... Oui ^^</p><div class="quotebox"><cite>man a écrit&#160;:</cite><blockquote><div><p>SYNOPSIS<br />&#160; &#160; &#160; &#160;chroot NEWROOT [COMMAND [ARG]...]</p><p>23.1 `chroot&#039;: Run a command with a different root directory<br />============================================================</p><p>`chroot&#039; runs a command with a specified root directory.&#160; On many<br />systems, only the super-user can do this.(1) Synopses:</p><p>&#160; &#160; &#160;chroot NEWROOT [COMMAND [ARGS]...]<br />&#160; &#160; &#160;chroot OPTION</p><p>&#160; &#160;Ordinarily, file names are looked up starting at the root of the<br />directory structure, i.e., `/&#039;.&#160; `chroot&#039; changes the root to the<br />directory NEWROOT (which must exist) and then runs COMMAND with<br />optional ARGS.&#160; If COMMAND is not specified, the default is the value<br />of the `SHELL&#039; environment variable or `/bin/sh&#039; if not set, invoked<br />with the `-i&#039; option.&#160; COMMAND must not be a special built-in utility<br />(*note Special built-in utilities::).</p><p>&#160; &#160;The only options are `--help&#039; and `--version&#039;.&#160; *Note Common<br />options::.&#160; Options must precede operands.</p><p>&#160; &#160;Here are a few tips to help avoid common problems in using chroot.<br />To start with a simple example, make COMMAND refer to a statically<br />linked binary.&#160; If you were to use a dynamically linked executable, then<br />you&#039;d have to arrange to have the shared libraries in the right place<br />under your new root directory.</p><p>&#160; &#160;For example, if you create a statically linked `ls&#039; executable, and<br />put it in `/tmp/empty&#039;, you can run this command as root:</p><p>&#160; &#160; &#160;$ chroot /tmp/empty /ls -Rl /</p><p>&#160; &#160;Then you&#039;ll see output like this:</p><p>&#160; &#160; &#160;/:<br />&#160; &#160; &#160;total 1023<br />&#160; &#160; &#160;-rwxr-xr-x 1 0 0 1041745 Aug 16 11:17 ls</p><p>&#160; &#160;If you want to use a dynamically linked executable, say `bash&#039;, then<br />first run `ldd bash&#039; to see what shared objects it needs.&#160; Then, in<br />addition to copying the actual binary, also copy the listed files to<br />the required positions under your intended new root directory.<br />Finally, if the executable requires any other files (e.g., data, state,<br />device files), copy them into place, too.</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (grobs)]]></author>
			<pubDate>Sun, 17 Oct 2010 15:58:16 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793938#p3793938</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793909#p3793909</link>
			<description><![CDATA[<p>Tu as au moins bien lu la doc sur <a href="http://doc./chroot">chroot</a> ?</p>]]></description>
			<author><![CDATA[dummy@example.com (helly)]]></author>
			<pubDate>Sun, 17 Oct 2010 15:49:55 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793909#p3793909</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793899#p3793899</link>
			<description><![CDATA[<p>J&#039;ai édité mon dernier post, j&#039;avais fait une erreur. Mais j&#039;ai toujours exactement la même erreur.</p>]]></description>
			<author><![CDATA[dummy@example.com (grobs)]]></author>
			<pubDate>Sun, 17 Oct 2010 15:47:47 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793899#p3793899</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793888#p3793888</link>
			<description><![CDATA[<p>À la première ou la deuxième commande ?</p>]]></description>
			<author><![CDATA[dummy@example.com (helly)]]></author>
			<pubDate>Sun, 17 Oct 2010 15:45:51 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793888#p3793888</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793881#p3793881</link>
			<description><![CDATA[<p>J&#039;ai exactement la même erreur... <img src="http://forum.ubuntu-fr.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[dummy@example.com (grobs)]]></author>
			<pubDate>Sun, 17 Oct 2010 15:44:28 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793881#p3793881</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793865#p3793865</link>
			<description><![CDATA[<p>Il faut d&#039;abord que tu accèdes à ta partition en sudo !</p><div class="codebox"><pre><code>sudo chroot /media/vol_ubuntu</code></pre></div><p>Puis tu lances update-grub</p><div class="codebox"><pre><code>sudo update-grub</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (helly)]]></author>
			<pubDate>Sun, 17 Oct 2010 15:39:36 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793865#p3793865</guid>
		</item>
		<item>
			<title><![CDATA[[Résolu] Lancer un update-grub en LiveCD]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793851#p3793851</link>
			<description><![CDATA[<p>Bonjour à toutes et à tous !</p><p>Je suis en train de me battre avec la dernière mouture d&#039;Ubuntu (10.10) pour essayer de la faire fonctionner mais c&#039;est toute une affaire.<br />N&#039;ayant pas accès au grub au démarrage (écran noir et underscore clignotant à la place), je souhaiterai changer la ligne de commande envoyée au noyau lors du boot.<br />Pour ce faire, j&#039;ai édité le fichier /etc/default/grub mais désormais, la commande update-grub doit être lancée pour prendre en compte les modifications.</p><p>Comme un sudo update-grub ne peut pas fonctionner (car il essaie de monter /dev sur le liveCD) j&#039;ai essayé de faire ceci (en tant que root) :</p><div class="codebox"><pre><code>chroot /media/vol_ubuntu/ update-grub</code></pre></div><p>(/media/vol_ubuntu étant mon disque où Ubuntu 10.10 a été installé)</p><p>Le problème est qu&#039;il me dit ça :</p><div class="quotebox"><cite>Console a écrit&#160;:</cite><blockquote><div><p>/usr/lib/grub/grub-mkconfig_lib: 38: cannot create /dev/null: Permission denied<br />/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted ?)</p></div></blockquote></div><p>Gné ? <img src="http://forum.ubuntu-fr.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p><p>PS : cette commande me donne le même résultat :</p><div class="codebox"><pre><code>chroot /media/vol_ubuntu/ grub-mkconfig -o /boot/grub/grub.cfg</code></pre></div><p>Merci d&#039;avance de vos réponses éclairées</p>]]></description>
			<author><![CDATA[dummy@example.com (grobs)]]></author>
			<pubDate>Sun, 17 Oct 2010 15:35:54 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3793851#p3793851</guid>
		</item>
	</channel>
</rss>
