<?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=1798&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / Monter un DD externe au démarrage]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1798</link>
		<description><![CDATA[Les sujets les plus récents dans Monter un DD externe au démarrage.]]></description>
		<lastBuildDate>Thu, 24 Mar 2005 17:06:31 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=14188#p14188</link>
			<description><![CDATA[<p>Ouais je vois merci <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Bon pr le pb du disque je réessaierai plus tard, ces temps-ci j&#039;ai la flemme...</p><p>Merci à tous <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Funto)]]></author>
			<pubDate>Thu, 24 Mar 2005 17:06:31 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=14188#p14188</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13832#p13832</link>
			<description><![CDATA[<p>voici la liste des runlevels :</p><p>&#160; &#160; &#160; 0 — Arrêt<br />&#160; &#160; &#160; 1 — Mode texte mono-utilisateur<br />&#160; &#160; &#160; 2 — Non utilisé<br />&#160; &#160; &#160; 3 — Mode texte multi-utilisateurs complet<br />&#160; &#160; &#160; 4 — Non utilisé<br />&#160; &#160; &#160; 5 — Mode graphique multi-utilisateurs complet <br />&#160; &#160; &#160; 6 — Redémarrage</p><p>tu peux lire par ici :http://www.debian-fr.org/article.php?page=viewarticle&amp;article=4 .<br />ceci dit je n&#039;ai jamais essayer de monter un disque par la .. <img src="http://forum.ubuntu-fr.org/img/smilies/roll.png" width="15" height="15" alt="roll" /></p><p>mais de toutes facon lire un peut ne fait jamais de mal sous nux <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />@plucH</p>]]></description>
			<author><![CDATA[dummy@example.com (LiRYc)]]></author>
			<pubDate>Tue, 22 Mar 2005 21:26:21 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13832#p13832</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13783#p13783</link>
			<description><![CDATA[<p>Ouais pr la vitesse, apparemment le HUB est reconnu en USB 1.1 (ce qui est peut-être le cas dans la réalité...), tandis que l&#039;interface du DD est reconnue en USB 2...<br />J&#039;essaierai de bidouiller les branchements ^^</p><p>Après, pour gnome-sudo, même combat qu&#039;avec gksudo; d&#039;ailleurs gnome-sudo est un fichier texte dont le contenu est :</p><div class="codebox"><pre><code>#!/bin/sh

/usr/bin/gksudo &quot;$@&quot;</code></pre></div><p>Ca veut tout dire ^^</p><p>J&#039;ai essayé en virant l&#039;option &quot;-o&quot; de mount, et là curieusement gksudo semble fonctionner...mais même pour root, la partition ne se monte quand même pas !!</p><p>Quant à ton rc.d et ton level 5...c&#039;est quoi?:rolleyes:</p>]]></description>
			<author><![CDATA[dummy@example.com (Funto)]]></author>
			<pubDate>Tue, 22 Mar 2005 18:37:23 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13783#p13783</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13567#p13567</link>
			<description><![CDATA[<p>mm pour faire dans le meme style :</p><div class="codebox"><pre><code>gnome-sudo mount /dev/sda1 /mnt/removable</code></pre></div><p>ou alors pkoi ne pas faire un script que tu place dans rc.d et que tu lances au level 5 ?</p><p>c&#039;est pas une bonne idee ?</p><p>pour ton probleme de vitesse .... je ne sais pas ton port USB est bien reconu en USB2 ?</p><p><img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" />@plucH</p>]]></description>
			<author><![CDATA[dummy@example.com (LiRYc)]]></author>
			<pubDate>Mon, 21 Mar 2005 21:10:20 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13567#p13567</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=13065#p13065</link>
			<description><![CDATA[<p>Oui bah j&#039;avais rajouté l&#039;espace entre gksudo et mount bien sûr (je sais qd même ce que je fais lol), mais comme je te l&#039;ai dit dans le msg qui précède le dernier que tu viens de poster, j&#039;avais déjà testé...</p>]]></description>
			<author><![CDATA[dummy@example.com (Funto)]]></author>
			<pubDate>Sat, 19 Mar 2005 12:02:51 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=13065#p13065</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12882#p12882</link>
			<description><![CDATA[<p>J&#039;ai du mal avec les copier coller moi<br />gksudo mount&#160; -t vfat -o uid=1000&#160; /dev/sda1 /mnt/f</p><p>Regarde la position des options, ça joue peut etre dans le mount., uid est un nombre.</p>]]></description>
			<author><![CDATA[dummy@example.com (coffee)]]></author>
			<pubDate>Thu, 17 Mar 2005 21:07:12 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12882#p12882</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12858#p12858</link>
			<description><![CDATA[<p>Comme tu peux le voir 3 msg plus haut, j&#039;ai déjà testé cette solution et ça ne donne rien...</p>]]></description>
			<author><![CDATA[dummy@example.com (Funto)]]></author>
			<pubDate>Thu, 17 Mar 2005 19:01:55 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12858#p12858</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12684#p12684</link>
			<description><![CDATA[<p>oui je suis allé bcp trop vite en copier coller</p><p>gksudomount&#160; -t vfat -o uid=funto&#160; /dev/sda1 /mnt/f</p><p>sudo ne se termine pas quand tu as tapé ton mdp, il se termine lorsque tu as fini ta session root</p>]]></description>
			<author><![CDATA[dummy@example.com (coffee)]]></author>
			<pubDate>Thu, 17 Mar 2005 02:46:57 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12684#p12684</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12616#p12616</link>
			<description><![CDATA[<p>Mouais ok je vois mieux ce que tu veux dire...<br />Je trouve quand même ça curieux malgré tout, quand je fais un sudo -s sur ma console, normalement, qd le prog a fini de s&#039;exécuter (ce qui est le cas dès que j&#039;ai entré mon mdp) je suis tjs root...</p><p>Quant au code que tu viens de me passer, il ne fonctionne pas, ce qui en soi est logique : les -t vfat et -o uid=funto sont des arguments de mount, pas de gksudo, donc logiquement ils doivent se placer après le mount, pas avant...<br />Du coup j&#039;ai toujours les mêmes erreurs:(</p>]]></description>
			<author><![CDATA[dummy@example.com (Funto)]]></author>
			<pubDate>Wed, 16 Mar 2005 18:41:42 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12616#p12616</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12294#p12294</link>
			<description><![CDATA[<div class="codebox"><pre><code>#!/bin/sh
gksudo -t vfat -o uid=funto mount /dev/sda1 /mnt/f
gksudo -t vfat -o uid=funto mount /dev/sda5 /mnt/g</code></pre></div><p>les options avant<br />le termes thread n&#039;est peut etre pas bon, il instancie une session root et à la fin de cette session qui n&#039;apparait pas de façon visible à l&#039;écran) il lancera les commandes après</p><p>remplaçons ton sudo -s par une autre commande, par exemple un programme graphique comme firefox par exemple, ton script lance firefox, attend la fin d&#039;execution de firefox et lancera ensuite le mount</p>]]></description>
			<author><![CDATA[dummy@example.com (coffee)]]></author>
			<pubDate>Tue, 15 Mar 2005 19:23:43 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12294#p12294</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12281#p12281</link>
			<description><![CDATA[<p>Je dois avouer que j&#039;ai du mal à comprendre...<br />sudo -s me crée un autre thread, appartement à root, mais mount n&#039;est pas exécuté? Je comprends pas pourquoi...ce nouveau thread ne devrait-il pas l&#039;exécuter en tant que root??</p><p>Par ailleurs, j&#039;ai essayé avec gksudo mais, pour le script suivant :</p><div class="codebox"><pre><code>#!/bin/sh
gksudo mount /dev/sda1 /mnt/f -t vfat -o uid=funto
gksudo mount /dev/sda5 /mnt/g -t vfat -o uid=funto</code></pre></div><p>J&#039;obtiens ceci :</p><div class="codebox"><pre class="vscroll"><code>funto@home:~/Desktop $ ./Monter
gksudo: option invalide -- o
GKsu version 1.2.0

Usage: gksudo [-u &lt;user&gt;] [-k] [-l] &lt;command&gt;

  --user &lt;user&gt;, -u &lt;user&gt;
    Calls &lt;command&gt; as the specified user
  --message &lt;message&gt;, -m &lt;message&gt;
    Replaces the standard message shown to ask for
    password for the argument passed to the option
  --title &lt;title&gt;, -t &lt;title&gt;
    Replaces the default title with the argument
  --icon &lt;icon&gt;, -i &lt;icon&gt;
    Replaces the default window icon with the argument
  --print-pass, -p
    Asks gksu to print the password to stdout, just
    like ssh-askpass. Useful to use in scripts with
    programs that accept receiving the passowrd on
    stdin.
  --disable-grab, -g
    Disables the &quot;locking&quot; of the keyboard, mouse,
    and focus done by the program when asking for
    password
  --ssh-fwd, -s
    Strip the host part of the $DISPLAY variable, so that
    GKSu will work on SSH X11 Forwarding.

  --login, -l
    Makes this a login shell. Beware this may cause
    problems with the Xauthority magic. Run xhost
    to allow the target user to open windows on your
    display!
  --preserve-env, -k
    Preserve the current environments, does not set $HOME
    nor $PATH, for example.</code></pre></div><p>(2 fois car j&#039;essaie de monter 2 partitions)</p>]]></description>
			<author><![CDATA[dummy@example.com (Funto)]]></author>
			<pubDate>Tue, 15 Mar 2005 19:01:55 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12281#p12281</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12012#p12012</link>
			<description><![CDATA[<p>ton script decryopté:</p><div class="codebox"><pre><code>sudo -s</code></pre></div><p>on devient root</p><div class="codebox"><pre><code>mount /dev/sda1 /mnt/f -t vfat -o uid=funto</code></pre></div><p>on monte /dev/sda1</p><p>bon la le souci, c&#039;est un problème de thread (part pas en courant, tu vas comprendre)<br />Ton script instancie une demande d&#039;espace pour s&#039;executer, celui execute son contenu et lance ton sudo -s, tu rentres ton mdp et crée un shell root, à la fin de l&#039;execution du shell root, il executera la commande mount. Hors ton script crée un espace terminal que tu vois pas... donc tu peux pas l&#039;arreter, donc le mount n&#039;est pas executer</p><br /><p>root:&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;/ ---- (il devrait se passer des trucs mais non donc on attent donc script en attente )&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; /&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; <br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; /&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; <br />user --- sudo -s&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;mount qui ne s&#039;executera jamais</p><br /><p>Pour que ça marche, il faut faire un </p><div class="codebox"><pre><code>gksudo mount /dev/sda1 /mnt/f -t vfat -o uid=funto</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (coffee)]]></author>
			<pubDate>Mon, 14 Mar 2005 19:58:43 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12012#p12012</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12003#p12003</link>
			<description><![CDATA[<p>Je rajouterai aussi que j&#039;avais tenté de créer un script comme ça :</p><div class="codebox"><pre><code>sudo -s
mount /dev/sda1 /mnt/f -t vfat -o uid=funto</code></pre></div><p>Quand je fais clic droit -&gt; Lancer dans un terminal, le terminal s&#039;ouvre, me demande mon mot de passe, puis je retombe sous root mais ma partition n&#039;est quand même pas montée :&#039;(</p><p>A part ça, même dans le cas où ça marcherait, pour exécuter un script au démarrage je fais comment?</p><p>Ah ouais aussi, est-ce que c&#039;est normal que mes accès à mes partitions FAT32 sur mon DD USB soit aussi lents? Parce que là ça rame grave :&#039;(</p>]]></description>
			<author><![CDATA[dummy@example.com (Funto)]]></author>
			<pubDate>Mon, 14 Mar 2005 19:05:59 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12003#p12003</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11787#p11787</link>
			<description><![CDATA[<p>Le souci est que fstab monte les disques comme / /boot /home /usr ... tous les disques et ensuite hotplug peut lire ses fichiers et donc savoir comment crée les devices USB (donc au moment du premier fstab, les fichiers /dev/sdax n&#039;existent pas)</p>]]></description>
			<author><![CDATA[dummy@example.com (coffee)]]></author>
			<pubDate>Sun, 13 Mar 2005 12:22:57 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11787#p11787</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Monter un DD externe au démarrage]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11779#p11779</link>
			<description><![CDATA[<p>Cela m&#039;étonne que fstab ne fonctionne pas pour monter ton DD externe, mais alors comme alternative dibouilleuse, je te propose de te faire un petit script de ta commande mount que tu lances au démarrage automatiquement... Ca marchera, comme ça qd tu démarres, il monte automatiquement...</p>]]></description>
			<author><![CDATA[dummy@example.com (Olivier)]]></author>
			<pubDate>Sun, 13 Mar 2005 12:02:32 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11779#p11779</guid>
		</item>
	</channel>
</rss>
