Bonjour,<br>Cela fait quelques jours que je galère sur ca.&nbsp; J&#39;explique : <br>L&#39;objectif
c&#39;est de créer une distribution à base Ubuntu 8.04 pour les bornes avec les
écrans tactiles dans les supers et hypers marchés.<br>
J&#39;ai procédé ainsi ;<br>- Installation et configuration d&#39;Ubuntu sur la borne<br>- à partir d&#39;un script créer un iso en utilisant les configs du système<br>- à partir d&#39;un script créer le CDROM d&#39;installation.<br>


Tout s&#39;est bien passé sauf que le script d&#39;installation ne passe pas l&#39;étape de partitionnement du disque.<br>Le
script d&#39;installation s&#39;exécute correctement quand je le lance dans un
shell mais pendant l&#39;installation, il&nbsp; ne detecte pas le disque dur.<br>
Voici la partie qui traite le partionnement :<br><br><span style="color: rgb(0, 0, 153);">echo &quot;Initialisation de l&#39;installateur ...&quot;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">umount $INS_DIR</span><br style="color: rgb(0, 0, 153);">


<span style="color: rgb(0, 0, 153);">modprobe ide-disk</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">DEV_DIR=&quot;/dev&quot;</span><br style="color: rgb(0, 0, 153);">


<span style="color: rgb(0, 0, 153);">DISK_DEV=&quot;/dev/hda&quot;</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">OK=&quot;false&quot;</span><br style="color: rgb(0, 0, 153);">


<br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">while [ &quot;$OK&quot; = &quot;false&quot; ]</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">do</span><br style="color: rgb(0, 0, 153);">


<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; $DIALOG_BIN --title &quot;$TITLE&quot;
--backtitle &quot;$BACKTITLE&quot; --ok-label &quot;Valider&quot; --cancel-label &quot;Ne pas
modifier&quot; --inputbox &quot;Veuillez indiquer le device du disque dur (eg
/dev/hdb, /dev/hdc, /dev/sda, /dev/sdb, /dev/discs/disc0 ...)&quot; 10 60 &quot;&quot;
2&gt;$TMP_FILE</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; sel=$?</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; DISK_DEV=`cat $TMP_FILE`</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; /sbin/hdparm -d1 $DISK_DEV &amp;&amp; test -b $DISK_DEV &amp;&amp; OK=&quot;true&quot; </span><br style="color: rgb(0, 0, 153);">


<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; /sbin/cfdisk -P t $DISK_DEV &amp;&amp; test -b $DISK_DEV &amp;&amp; OK=&quot;true&quot; </span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; sleepIfDebug</span><br style="color: rgb(0, 0, 153);">


<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; if [ &quot;$OK&quot; = &quot;false&quot; ]</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; then</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; $DIALOG_BIN --title &quot;$TITLE&quot; --backtitle &quot;$BACKTITLE&quot; --msgbox
&quot;Attention ! &quot;$DISK_DEV&quot; n&#39;est pas un device correcte&quot; 10 30</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; fi</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">done</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">$DIALOG_BIN
--title &quot;$TITLE&quot; --backtitle &quot;$BACKTITLE&quot; --yesno &quot;Souhaitez vous faire
un partitionnement manuel (recommendé) ?&quot; 10 30 &amp;&amp; AUTO_PART=&quot;0&quot;</span><br style="color: rgb(0, 0, 153);">
<br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">if [ &quot;$AUTO_PART&quot; = &quot;1&quot; ]</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">then</span><br style="color: rgb(0, 0, 153);">


<br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp;
test &quot;$DEBUG&quot; = &quot;1&quot; &amp;&amp; $DIALOG_BIN --title &quot;$TITLE&quot; --backtitle
&quot;$BACKTITLE&quot; --msgbox &quot;Attention : suppression des anciennes partitions
!&quot; 10 30</span><br style="color: rgb(0, 0, 153);">
<br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">....</span><br><br>Merci d&#39;avance pour votre coup de main.