<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>ext2 &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/ext2/</link>
	<description>Feed of posts on WordPress.com tagged "ext2"</description>
	<pubDate>Thu, 26 Nov 2009 06:36:11 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Crear particiones con la herramienta GParted (Linux)]]></title>
<link>http://miblogcurricular.wordpress.com/2009/11/22/crear-particiones-con-la-herramienta-gparted-linux/</link>
<pubDate>Sun, 22 Nov 2009 18:31:23 +0000</pubDate>
<dc:creator>Miquel</dc:creator>
<guid>http://miblogcurricular.wordpress.com/2009/11/22/crear-particiones-con-la-herramienta-gparted-linux/</guid>
<description><![CDATA[A menudo las herramientas de particionado a nuestra disposición nos resultan incomodas, limitadas o ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>A menudo las herramientas de particionado a nuestra disposición nos resultan incomodas, limitadas o complicadas de usar, todos los sistemas operativos incluyen herramientas de particionado, pero raras veces son tan completas como quisiéramos, en esas ocasiones puede sernos de utilidad una herramienta como GParted.</p>
<p>Para realizar el proceso detallado en este tutorial necesitaremos el <a href="http://gparted.sourceforge.net/livecd.php">Cd Live GParted</a>, si vuestro ordenador permite arrancar desde USB podréis ahorraros un CD.</p>
<p>1) Como es costumbre con los Live CD, introducimos el CD y configuramos en la BIOS el arranque desde el CD-ROM, guardamos los cambios y salimos de la BIOS.</p>
<p>2)Este Live Cd nos presenta una<em> interface</em> bastante amigable y cómoda de usar, nada complicada, seleccionamos la opción &#8220;<strong>GParted</strong>&#8221; para iniciar el programa y acto seguido nos aparecerá la tabla de particiones, en función de si el disco está vacío o si disponemos de particiones ya creadas el aspecto que presentará sera distinto pero fácil de entender.</p>
<p><a href="http://miblogcurricular.wordpress.com/files/2009/11/capture_10112009_180835.jpg"><img class="aligncenter size-full wp-image-86" title="Gparted inicial" src="http://miblogcurricular.wordpress.com/files/2009/11/capture_10112009_180835.jpg" alt="" width="510" height="421" /></a></p>
<ol>
<li>La opción &#8220;<strong>New&#8221;</strong> nos permitirá crear nuevas particiones, mientras que la opción &#8220;<strong>delete</strong>&#8221; nos permitirá borrarlas convirtiéndolas en espacio no asignado, la opción redimensionar nos permitirá reducir o aumentar el tamaño de una o mas particiones así como mover de sitio la partición si deseamos colocarla al final o delante de otra.</li>
<li>La tabla de particiones se nos muestra con un aspecto similar a un gráfico, pudiendo observar las distintas particiones, su posición, el espacio que ocupan o su nombre.</li>
<li>El nombre de la partición si tiene.</li>
<li>El sistema de archivos de la partición, &#8220;extended&#8221; hace referencia a la memoria Swap.</li>
<li>El tamaño total de la partición, su espacio ocupado y su espacio libre.</li>
</ol>
<p>Si deseamos crear una partición, deberemos situarnos sobre el espacio del disco duro no asignado (<em>en gris</em>) y o bien con botón derecho o bien con el icono &#8220;<strong>New</strong>&#8221; podremos configurar sus características.</p>
<p><a href="http://miblogcurricular.wordpress.com/files/2009/11/capture_10112009_181101.jpg"><img class="aligncenter size-full wp-image-87" title="creando una particion - GParted" src="http://miblogcurricular.wordpress.com/files/2009/11/capture_10112009_181101.jpg" alt="" width="510" height="421" /></a></p>
<p>Podremos ajustar su tamaño tanto introduciendo el numero exacto en la casilla &#8220;<strong>Tamaño nuevo (MB)</strong>&#8221; como manualmente mediante el gráfico superior <em>(algo mas impreciso que introduciendo el numero)</em>, la opción &#8220;<strong>Crear como</strong>&#8221; hace referencia a si deseamos una partición primario o lógica, en &#8220;<strong>Sistema de archivos</strong>&#8221; seleccionaremos el que se ajuste a nuestras necesidades, Ext2 o Ext 3 si ha de albergar un Linux, Swap si ha de ser la de intercambio.<br />
Si deseamos ponerle una etiqueta a nuestra partición para tenerla diferenciada podemos hacerlo escribiendo aquellos que nos parezca acertado, el<strong> </strong> &#8220;<strong>espacio libre precedente</strong>&#8220;<strong> </strong>y &#8220;<strong>el espacio libre a continuación</strong>&#8221; lo dejamos a 0.</p>
<p>Pulsamos en &#8220;<strong>add</strong>&#8221; y ya tendremos configurada la partición, podremos crear aquellas que necesitemos, en mi caso, dos para la instalación de una distribución Linux, por lo que necesitaré otra partición Swap.</p>
<p>Una vez creadas las particiones necesarias, procederemos a guardar los cambios, pulsaremos en &#8220;<strong>apply</strong>&#8221; para que se apliquen los cambios y escriba las particiones en la tabla de particiones, cuando termine se habrán realizado correctamente todos los cambios realizados y podremos salir del CD-Live con la opción &#8220;<strong>exit</strong>&#8220;.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[News: ReactOS y EXT2]]></title>
<link>http://reactos.wordpress.com/2009/11/11/news-reactos-y-ext2/</link>
<pubDate>Wed, 11 Nov 2009 10:26:44 +0000</pubDate>
<dc:creator>reactos</dc:creator>
<guid>http://reactos.wordpress.com/2009/11/11/news-reactos-y-ext2/</guid>
<description><![CDATA[&nbsp; Mientras esperamos a que se solucione el bug de RAPPS que está retrasando la release 0.3.11, ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>&#160;</p>
<p>Mientras esperamos a que se solucione el bug de RAPPS que está retrasando la release 0.3.11, el resto de desarrolladores<span style="color:#0080ff;"><strong> continúan trabajando en las diferentes áreas de ReactOS.</strong></span></p>
<p>Hoy la buena noticia nos la da <span style="color:#ff8000;"><strong>Arty Yerkes</strong></span>, un desarrollador que de manera silenciosa(no se prodiga mucho por el IRC) ha estado trabajando desde hace bastante tiempo en el <span style="color:#ff8000;"><strong>soporte EXT2 para ReactOS</strong></span>.</p>
<p>&#160;</p>
<p><!--more--></p>
<p>EXT2 es un sistema de archivos creado originalmente para el Kernel Linux, y que ha tenido sus ports para Windows e incluso MacOSX. Actualmente <span style="color:#0080ff;"><strong>ReactOS usa FAT como sistema de archivos, y su dependencia era total</strong></span>, ya que estaba íntimamente integrado con nuestro Kernel.</p>
<p>Para ello Arty ha tenido que romper esta “dependencia”, lo cual le ha llevado bastante tiempo, pero permitirá en un futuro poder usar otros Sistemas de Archivos a elección del usuario, como es el caso de EXT2.</p>
<p>Hace un par de días, <span style="color:#ff8000;"><strong>Arty nos dió la buena noticia de que había conseguido instalar ReactOS sobre una partición EXT2</strong></span>, y que había logrado llegar hasta el Escritorio.Reconoce que aún hay unos cuantos bugs por resolver, pero esto abre un camino prometedor para el soporte EXT2, y quien sabe si también para el EXT3.</p>
<p>Arty sigue trabajando en su branch particular(una rama donde tiene copiado todo el código de ReactOS más sus modificaciones) y <span style="color:#0080ff;"><strong>aún su código no ha sido mandado al árbol central de ReactOS</strong></span>. Una vez que se testee que sus cambios no afectan negativamente al comportamiento de nuestro FAT actual, y que además da soporte a EXT2, se procederá a integrar sus parches en ReactOS. Aunque esto no lo veremos hasta la 0.3.12. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Filesystem metadata overhead]]></title>
<link>http://rwmj.wordpress.com/2009/11/08/filesystem-metadata-overhead/</link>
<pubDate>Sun, 08 Nov 2009 12:00:41 +0000</pubDate>
<dc:creator>rich</dc:creator>
<guid>http://rwmj.wordpress.com/2009/11/08/filesystem-metadata-overhead/</guid>
<description><![CDATA[Which filesystems have the largest metadata overhead[1]? We can find out using guestfish sparse file]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Which filesystems have the largest metadata overhead[1]?  We can find out using <a href="http://libguestfs.org/guestfish.1.html">guestfish</a> <a href="http://rwmj.wordpress.com/2009/11/04/terabyte-virtual-disks/">sparse file support</a> and a short shell script:</p>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">
#!/bin/sh -

guestfish=fish/guestfish
testimg=/mnt/tmp/test/test.img
size=1G

for fstype in ext2 ext3 ext4 xfs ntfs msdos ; do
    $guestfish &#60;&#60;EOF
      sparse $testimg $size
      run
      sfdiskM /dev/sda ,
      mkfs $fstype /dev/sda1
EOF
    echo -n "$fstype: "
    du $testimg
done
</pre>
<p>The results:</p>
<table>
<tr>
<th> Filesystem </th>
<th> Allocated kilobytes (out of 1G) </th>
<th> Overhead % </th>
</tr>
<tr>
<td> ext2 </td>
<td> 16948 </td>
<td> 1.6% </td>
</tr>
<tr>
<td> ext3 [2] </td>
<td> 33352 </td>
<td>3.2% </td>
</tr>
<tr>
<td> ext4 [2] </td>
<td> 33288 </td>
<td> 3.2% </td>
</tr>
<tr>
<td> xfs </td>
<td> 5132 </td>
<td>0.5% </td>
</tr>
<tr>
<td> ntfs [3] </td>
<td> 5748 </td>
<td> 0.5% </td>
</tr>
<tr>
<td> msdos &#38; vfat </td>
<td> 2076 </td>
<td> 0.2% </td>
</tr>
<tr>
<td> reiserfs [3] </td>
<td>32916 </td>
<td> 3.1% </td>
</tr>
<tr>
<td> btrfs [3] </td>
<td> 4224 </td>
<td> 0.4% </td>
</tr>
<tr>
<td> hfs &#38; hfsplus [3] </td>
<td> 16432 </td>
<td> 1.6% </td>
</tr>
<tr>
<td> nilfs2 [3] </td>
<td> 2060 </td>
<td> 0.2% </td>
</tr>
<tr>
<td> jfs [3] </td>
<td>4364  </td>
<td> 0.4% </td>
</tr>
<tr>
<td> gfs [3] </td>
<td>16612  </td>
<td> 1.6% </td>
</tr>
<tr>
<td> gfs2 [3,4] </td>
<td> 132576 </td>
<td> 12% </td>
</tr>
</table>
<h4>Notes</h4>
<p>[1] Yes, there are shortcomings in the methodology.  What this really measures is how many blocks are written by the mkfs program.  Even if you believe the figures, this only measures the <i>initial</i> overhead, but you can use the same technique to measure the overhead of storing (eg) lots of small files, or whatever is appropriate for your workload.<br />
[2] Note the difference between ext2 and ext3/4 seems to be entirely down to the size of the journal, which is a kind of metadata overhead, but one that you can easily control.<br />
[3] Needs <a href="https://www.redhat.com/archives/libguestfs/2009-November/thread.html#00050">three small patches</a> to libguestfs to get these filesystems to work.<br />
[4] This seems off the scale &#8212; needs further investigation.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Terabyte virtual disks]]></title>
<link>http://rwmj.wordpress.com/2009/11/04/terabyte-virtual-disks/</link>
<pubDate>Wed, 04 Nov 2009 19:24:44 +0000</pubDate>
<dc:creator>rich</dc:creator>
<guid>http://rwmj.wordpress.com/2009/11/04/terabyte-virtual-disks/</guid>
<description><![CDATA[This is fun. I added a new command to guestfish which lets you create sparse disk files. This makes ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is fun.  I added a new command to <a href="http://libguestfs.org/guestfish.1.html">guestfish</a> which lets you create <a href="http://en.wikipedia.org/wiki/Sparse_file">sparse disk files</a>.  This makes it really easy to test out the limits of partitions and Linux filesystems.</p>
<p>Starting modestly, I tried a 1 <a href="http://en.wikipedia.org/wiki/Terabyte">terabyte</a> disk:</p>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">
$ guestfish

Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.

Type: 'help' for help with commands
      'quit' to quit the shell

&#62;&#60;fs&#62; sparse /tmp/test.img <b>1T</b>
&#62;&#60;fs&#62; run
</pre>
<p>The real disk image so far isn&#8217;t so big, just 4K according to &#8220;du&#8221;:</p>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">
$ ll -h /tmp/test.img
-rw-rw-r-- 1 rjones rjones 1T 2009-11-04 17:52 /tmp/test.img
$ <b>du -h /tmp/test.img
4.0K	/tmp/test.img</b>
</pre>
<p>Let&#8217;s partition it:</p>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">
&#62;&#60;fs&#62; sfdiskM /dev/vda ,
</pre>
<p>The partition table only uses 1 sector, so the disk image has increased to just 8K.  Let&#8217;s make an ext2 filesystem on the first partition:</p>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">
&#62;&#60;fs&#62; mkfs ext2 /dev/vda1
</pre>
<p>This command takes some time, and the sparse disk file has grown.  To 17 GB, so ext2 has an approx 1.7% overhead.</p>
<p>We can mount the filesystem and look at it:</p>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">
&#62;&#60;fs&#62; mount /dev/vda1 /
&#62;&#60;fs&#62; df-h
Filesystem            Size  Used Avail Use% Mounted on
/dev/vda1            1008G   72M  957G   1% /sysroot
</pre>
<p>Can we try this with larger and larger virtual disks?  In theory yes, in practice the 1.7% overhead proves to be a problem.  A 10T experiment would require a very real 170GB of local disk space, and where I was hoping to go, 100T and beyond, would be too large for my test machines.</p>
<p>In fact there is another limitation before we reach there.  Local sparse files on my host ext4 filesystem are themselves limited to under 16T:</p>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">
&#62;&#60;fs&#62; sparse /tmp/test.img <b>16T</b>
write: File too large
&#62;&#60;fs&#62; sparse /tmp/test.img <b>15T</b>
</pre>
<p>Although the appliance does boot with that 15T virtual disk:</p>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">
&#62;&#60;fs&#62; blockdev-getsize64 /dev/vda
<b>16492674416640</b>
</pre>
<h3>Update</h3>
<p>I noticed from Wikipedia that <a href="http://en.wikipedia.org/wiki/XFS">XFS</a> has a maximum file size of 8 exabytes &#8211; 1 byte.  By creating a temporary XFS filesystem on the host, I was able to create a 256TB virtual disk:</p>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">
&#62;&#60;fs&#62; sparse /mnt/tmp/test/test.img <b>256T</b>
&#62;&#60;fs&#62; run
&#62;&#60;fs&#62; blockdev-getsize64 /dev/vda
<b>281474976710656</b>
</pre>
<p>Unfortunately at this point things break down.  MBR partitions won&#8217;t work on such a huge disk, or at least sfdisk can&#8217;t partition it correctly.</p>
<p>I&#8217;m not sure what my options are at this point, but at least this is an interesting experiment in hitting limitations.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[SystemRescueCD]]></title>
<link>http://jinetedeldragon.wordpress.com/2009/10/19/systemrescuecd/</link>
<pubDate>Mon, 19 Oct 2009 14:09:13 +0000</pubDate>
<dc:creator>jinetedeldragon</dc:creator>
<guid>http://jinetedeldragon.wordpress.com/2009/10/19/systemrescuecd/</guid>
<description><![CDATA[Una herramienta de la cual hago uso muy seguido es el CD SystemRescueCD basado en Gentoo. Es un disc]]></description>
<content:encoded><![CDATA[Una herramienta de la cual hago uso muy seguido es el CD SystemRescueCD basado en Gentoo. Es un disc]]></content:encoded>
</item>
<item>
<title><![CDATA[GParted Partition Editor In Linux]]></title>
<link>http://suryodesign.wordpress.com/2009/10/10/gparted-partition-editor-in-linux/</link>
<pubDate>Sat, 10 Oct 2009 15:05:40 +0000</pubDate>
<dc:creator>suryodesign</dc:creator>
<guid>http://suryodesign.wordpress.com/2009/10/10/gparted-partition-editor-in-linux/</guid>
<description><![CDATA[banyak tools partisi yang telah kita kenal pada windows seperti paragon partition , ataupun acronis ]]></description>
<content:encoded><![CDATA[banyak tools partisi yang telah kita kenal pada windows seperti paragon partition , ataupun acronis ]]></content:encoded>
</item>
<item>
<title><![CDATA[Formatear Pendrive/Memorias con GNOME-Format]]></title>
<link>http://elsoftwarelibre.wordpress.com/2009/10/09/formatear-pendrivememorias-con-gnome-format/</link>
<pubDate>Fri, 09 Oct 2009 17:29:46 +0000</pubDate>
<dc:creator>Soft-Libre</dc:creator>
<guid>http://elsoftwarelibre.wordpress.com/2009/10/09/formatear-pendrivememorias-con-gnome-format/</guid>
<description><![CDATA[Estaba leyendo Actualidad GNU/Linux y me encuentro con una herramienta sumamente útil para quienes u]]></description>
<content:encoded><![CDATA[Estaba leyendo Actualidad GNU/Linux y me encuentro con una herramienta sumamente útil para quienes u]]></content:encoded>
</item>
<item>
<title><![CDATA[Prova 2004 REG Sistemas Operacionais 89-100]]></title>
<link>http://papacharliefox3.wordpress.com/2009/09/23/prova-2004-reg-sistemas-operacionais-89-100/</link>
<pubDate>Wed, 23 Sep 2009 02:38:59 +0000</pubDate>
<dc:creator>papacharliefox3</dc:creator>
<guid>http://papacharliefox3.wordpress.com/2009/09/23/prova-2004-reg-sistemas-operacionais-89-100/</guid>
<description><![CDATA[Salve, cabocos! Hoje quase morri na esteira! Caraca, correr 2,4km (6 voltas em uma pista de 400m) em]]></description>
<content:encoded><![CDATA[Salve, cabocos! Hoje quase morri na esteira! Caraca, correr 2,4km (6 voltas em uma pista de 400m) em]]></content:encoded>
</item>
<item>
<title><![CDATA[Feeling at /home...]]></title>
<link>http://bashinglinux.wordpress.com/2009/08/12/feeling-at-home/</link>
<pubDate>Wed, 12 Aug 2009 21:19:56 +0000</pubDate>
<dc:creator>malkodan</dc:creator>
<guid>http://bashinglinux.wordpress.com/2009/08/12/feeling-at-home/</guid>
<description><![CDATA[The following took place more than a year ago, but it is still fresh in my mind. After a few colleag]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The following took place more than a year ago, but it is still fresh in my mind. After a few colleagues urged me to write about it, I decided to finally do it. If the output of the commands does not match exactly whatever I had while dealing with it &#8211; bear with it. It&#8217;s far from being the point.</p>
<h4>The horror</h4>
<p>I took a break from work last year and decided to go and have some fun in NZ. Oh, did I have fun <a href="http://nevela.com/gallery2/v/nz2008/">there!</a><br />
There&#8217;s nothing more frustrating than returning to work, turning on your dusty computer and witnessing the following:<br />
<code><br />
*** An error occurred during the filesystem check.<br />
Give root password for maintenance (or type Control-D to continue):<br />
</code></p>
<p>Investigating it just a bit more I got to a conclusion that my <strong>/home</strong> is not mounting. <em>OMG!!!</em> all of my personal customizations and some private data is at <strong>/home!</strong><br />
I must admit, it&#8217;s nothing that couldn&#8217;t be reproduced at a reasonable amount of time, but having my neat KDE customizations I didn&#8217;t want to start the process from the beginning. Think about yourself losing your <strong>/home</strong>, it&#8217;s no fun. I decided I wanted it <em>back</em>.<br />
OK, so I&#8217;m running e2fsck:</p>
<pre><code>
# e2fsck /dev/sda5
e2fsck 1.39 (29-May-2006)
e2fsck: No such file or directory while trying to open /dev/sda5

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 

#
</code></pre>
<p>Oh man, how frustrating, e2fsck can&#8217;t read my superblock!<br />
Something I did notice during boot up, is that the HD is very noisy, in addition to very slow boot process. It wasn&#8217;t a new HD and it has worked hard (I tested on it numerous times our FS infrastructure of video recording). Probably it&#8217;s time has come.</p>
<p>I wanted to feel at <strong>/home</strong> again.<br />
I decided the smartest thing would be to first try and copy this whole partition aside as I knew there is a hardware problem with the HD. After I&#8217;ll solve that one, I could hopefully handle the missing superblock problem much better.</p>
<h4>Getting physical</h4>
<p>So I quickly inserted a fresh new HD to my machine, disconnected the old faulty HD (it caused the computer to boot so slow because of it&#8217;s defects) and issued a network install.<br />
15 minutes later I&#8217;m again at linux, with a bare new /home, and the faulty HD connected to it, slowing the computer as hell.<br />
I was sure <strong>dd</strong> would come for the rescue:<br />
<code><br />
# dd if=/dev/sda5 of=home-sweet-home.ext3 bs=4M<br />
</code><br />
After a few minutes of anticipation and cranky HD noises, I&#8217;m with:<br />
<code><br />
dd: reading `/dev/sda5': Input/output error<br />
0+0 records in<br />
0+0 records out<br />
# ls -l /home/home-sweet-home.ext3<br />
-rw-r--r-- 1 root root 0 Jul  10 08:26 home-sweet-home.ext3<br />
</code></p>
<p>Great <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . I&#8217;m searching the net, searching for an aggressive dd program, something that instead of giving up on bad sectors, would fill them with zeros and continue on (hoping the defects on the HD are at a very specific place). I must admit I have almost written something by myself, but finally I&#8217;ve found  <a href="http://www.garloff.de/kurt/linux/ddrescue/">dd_rescue</a>.<br />
And off we go:<br />
<code><br />
# dd_rescue -e 1 -A /dev/sda5 /home/home-sweet-home.ext3<br />
</code></p>
<p>It ran for hours! It was 65GB that <strong>dd_rescue</strong> had to tackle. With a dying HD that could take a lot of time. After more or less 8 hours I was back at my desktop, looking at my old home:<br />
<code><br />
# ls -lh /home/home-sweet-home.ext3<br />
-rw-r--r--   1 root   root        61G Jul  10 20:43 home-sweet-home.ext3<br />
#<br />
</code></p>
<h4>Being logical</h4>
<p>OK, that&#8217;s it, I have my data. Time to dump the old HD and deal with the logical errors I still have with this partition dump. Mounting the partition gave me the same result as I pasted above: no superblock &#8211; no fun!<br />
Oh! but ext3 always creates a few backup superblocks, maybe this is my lucky day where I will finally be able to use one of these backups. You are probably familiar with the following output:<br />
<code><br />
# e2fsck /tmp/e2fsck-test<br />
...<br />
27 block groups<br />
8192 blocks per group, 8192 fragments per group<br />
1992 inodes per group<br />
Superblock backups stored on blocks:<br />
        8193, 24577, 40961, 57345, 73729, 204801</p>
<p>Writing inode tables: done<br />
Writing superblocks and filesystem accounting information: done<br />
...<br />
</code><br />
Now go figure out where your backup superblocks are. Trying the obvious of 8193 and 32768 did not work for me. I knew there should be more backup superblocks. <em>Google</em> comes for the rescue again. I was quite close at this time as well to writing a small C program that would search the partition dump for ext3 superblock signatures and tell me where the backup superblocks are. But then again, I thought I&#8217;m probably not the first one who needs such a utility, here <a href="http://www.cgsecurity.org/wiki/TestDisk">TestDisk</a> came for the rescue.<br />
I simply ran <strong>TestDisk</strong> which reveled the remaining trustworthy superblocks on my damaged filesystem.<br />
Later on I discovered that it is also possible to run <em>e2fsck</em> on a partition with the same size and see where the superblocks get written. However, I think that probing the superblocks is much cleaner altogether.</p>
<p><code><br />
# mkdir /home2<br />
# mount -o loop,ro,sb=884736 /home/home-sweet-home.ext3 /home2<br />
#<br />
</code></p>
<p>Silence.</p>
<p>Did it work?</p>
<p><code><br />
# ls -l /home2<br />
drwxr-xr-x  41 dan    dan 8192 Feb  5 13:39 dan<br />
drwx------   7 distcc distcc   88 Jul 26 15:24 distcc<br />
drwxrwxrwx   2 nobody nobody        1 Feb 5 05:39 public<br />
#<br />
</code></p>
<p>Wow, it did!<br />
So how much of it was eventually damaged? &#8211; less than 1%!<br />
So I&#8217;ve found a few garbled files I didn&#8217;t need anyway, but I was more than 99% back at <strong>/home</strong>.</p>
<h4>Epilogue</h4>
<p>Needless to say that ever since I&#8217;m backing up my <strong>/home</strong> in a strict manner. But this is obviously not the point.<br />
The simplicity of Linux in general and ext2/3 in specific is something we should adore. I wouldn&#8217;t want to imagine what would have happened on a different OS or a different filesystem (and please don&#8217;t start a flame war about it now&#8230;).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ext3 da windows: ext2ifs o ext2fsd?]]></title>
<link>http://ry601.wordpress.com/2009/08/12/ext3-windows-ext2ifs-ext2fsd/</link>
<pubDate>Wed, 12 Aug 2009 10:43:27 +0000</pubDate>
<dc:creator>ry601</dc:creator>
<guid>http://ry601.wordpress.com/2009/08/12/ext3-windows-ext2ifs-ext2fsd/</guid>
<description><![CDATA[Ripropongo in questo post il confronto tra i due driver per leggere le partizioni con filesystem ext]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ripropongo in questo post il confronto tra i due driver per leggere le partizioni con filesystem ext2 ed ext3 da Windows.<br />
Ebbi modo di provare i due drivers qualche anno fa ma solo ora che ho un weblog mi sono deciso a scrivere due righe riguardo questo argomento :p<br />
Ho visto che altri utenti con sistemi dual-boot windows / linux hanno già scritto qualcosa a tal proposito ma, a mio avviso, gli articoli scritti sono troppo sintetici.<br />
<!--more leggi tutto...--><br />
<strong>Obiettivo:</strong> accedere in lettura (e volendo anche in scrittura) a filesystems ext2/ext3 da windows.<br />
Drivers attualmente disponibili:</p>
<ul>
<li>Ext2IFS: <a href="http://www.fs-driver.org/">www.fs-driver.org</a></li>
<li>Ext2Fsd: <a href="http://www.ext2fsd.com/">www.ext2fsd.com</a></li>
</ul>
<p>Limitazioni (di entrambe i drivers):</p>
<ul>
<li>non è disponibile il <em>journaling</em> su ext3</li>
</ul>
<p>Quest ultimo punto è molto importante: è vivamente sconsigliato scrivere dati da windows su partizioni linux, a meno che non necessario.<br />
Vorrei focalizzare questo aspetto in quanto l&#8217;intenzione di usare una partizione linux come archivio mi è sembrata oltremodo diffusa.<br />
Anche io tentai di trovare una soluzione per avere una partizione in comune da utilizzare sia da windows che da distribuzioni linux.<br />
Ma di soluzioni a regola d&#8217;arte non ce ne sono. Qualcuno potrebbe optare per una partizione FAT32 ma si va incontro a limitazioni notevoli: è un file system troppo vecchio (file non superiori a 4GB, niente journaling, etc etc).<br />
Scrivere da linux su partizioni NTFS con NTFS-3G sembra la via meno dolorosa ma non ci farei molto affidamento, NTFS rimane un file system chiuso ed i drivers disponibili per i sistemi unix/linux sono stati creati tramite reverse engineering.<br />
Ciò che consiglio, quindi, è di avere partizioni di archivio proprie per ogni sistema e di sfruttare i drivers per la sola lettura, per effettuare copie quando necessario.</p>
<p><strong>Ext2IFS o Ext2Fsd?</strong><br />
veniamo al confronto. Ext2IFS sembra più popolare ma ha una grossa limitazione: la partizione deve essere formattata con inodes di 128 bytes. Da qualche anno a questa parte le partizioni vengono formattate con inodes a 256 bytes. Di fatto Ext2IFS esce automaticamente di scena, non riuscendo a montare nulla.<br />
Ripieghiamo su Ext2Fsd. Posso dirvi che fino ad ora non ho avuto problemi di sorta ma è anche vero che non lo uso praticamente mai per scrivere dati.</p>
<p><strong>Installazione di Ext2Fsd:</strong><br />
attualmente è presente un installer con configurazione guidata. Quando provai il driver, molto tempo fa, era possibile la sola installazione manuale.<br />
Scaricate l&#8217;eseguibile se preferite essere guidati dal programma, in lingua inglese, oppure continuate a leggere per l&#8217;installazione manuale.<br />
La pagina dei downloads è qui: [ <a href="http://www.ext2fsd.com/?page_id=16">link</a> ].<br />
Per l&#8217;installazione manuale scaricate i due files zippati. Uno contiene il driver vero e proprio, l&#8217;altro un&#8217;interfaccia grafica per attribuire i punti di montaggio delle partizioni (ad es. G:\ nei sistemi windows).<br />
Scompattate in una cartella a vostra scelta. Aprite il prompt dei comandi (shortcut: Tasto Win + R, compare la finestra &#8220;<em>Esegui</em>&#8220;. Digitate <em>cmd</em> e premete invio).<br />
Portatevi nella cartella del driver. Entrate nella sottocartella <em>Setup</em>.<br />
Ora digitate, a seconda del vostro sistema operativo:<br />
<code>setup xp</code> &#8211; sistemi windows xp/vista a 32bit.<br />
<code>setup w64</code> &#8211; sistemi windows xp/vista a 64bit.<br />
Successivamente potete avviare <em>Ext2Mgr.exe</em> per avviare il Manager.<br />
Si presenta così:</p>
<p><a href="http://ry601.wordpress.com/files/2009/08/ext2mgr01.png"><img class="size-full wp-image-19 " title="ext2mgr01" src="http://ry601.wordpress.com/files/2009/08/ext2mgr01.png" alt="schermata principale Ext2Fsd Volume Manager" width="370" height="301" /></a></p>
<p>Cliccate su una partizione, premete <em>F4</em> per visionare i punti di montaggio ed aggiungete una lettera a vostra scelta premendo sul tasto <em>Add</em>.<br />
Vi appariranno tre opzioni:<br />
<a href="http://ry601.wordpress.com/files/2009/08/ext2mgr02.png"><img src="http://ry601.wordpress.com/files/2009/08/ext2mgr02.png" alt="ext2mgr02" title="ext2mgr02" width="370" height="301" class="alignleft size-full wp-image-23" /></a><br />
Quella selezionata di default, la seconda, è consiglibile per dischi rimovibili. Ext2Mgr tiene monitorati eventuali cambiamenti delle periferiche di archiviazione e pertanto non deve essere chiuso.<br />
Personalmente, usando Ext2Fsd su un disco fisso, scelgo sempre la prima opzione: ad ogni riavvio del pc il punto di montaggio viene perso ed è adatto per un uso saltuario.<br />
Al contrario la terza opzione è adatta per avere la partizione sempre accessibile.<br />
Dando conferma la partizione sarà visibile ed accessibile da Risorse del Computer.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Install e2fsprogs 1.41.8 para utilizar ext2fs.h y ext2_fs.h (Spanish)]]></title>
<link>http://kensei22.wordpress.com/2009/08/05/install-e2fsprogs-1-41-8-para-utilizar-ext2fs-h-y-ext2_fs-h-spanish/</link>
<pubDate>Wed, 05 Aug 2009 20:06:11 +0000</pubDate>
<dc:creator>Kensei</dc:creator>
<guid>http://kensei22.wordpress.com/2009/08/05/install-e2fsprogs-1-41-8-para-utilizar-ext2fs-h-y-ext2_fs-h-spanish/</guid>
<description><![CDATA[Bueno, ultimamente nesesite de este paquete para manipulacion del sistema de archivos ext2, y pues ,]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Bueno, ultimamente nesesite de este paquete para manipulacion del sistema de archivos ext2, y pues , debido a que no encontre documentacion sobre como instalar estas librerias, y pase mucho tiempo tratando de arreglar errores de referencia a librerias pues mejor me puse a isntalar y encontre que el paquete trae las isntrucciones de instalacion, listo! si pero no, voy a explicar como hacer este proceso de una forma facil y explicada un poco mas que las instrucciones que viene dentro del paquete. Entonces&#8230; empezamos&#8230;</p>
<p><!--more--></p>
<p><strong>Pre-Instalacion</strong></p>
<p>1) Lo Primero que deben de hacer es Descargar el paquete: <a href="http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.8.tar.gz">http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.8.tar.gz</a></p>
<p>2) Inicialn como super usuario, y lo colocan en la carpeta root, en mi caso considero una forma facil de hacer esto de la siguiente forma, segun los sistemas operativos que he realizado esto:</p>
<ul>
<li>Ubuntu: ~$ <em>sudo nautilus</em></li>
<li>Kubuntu: ~$<em> sudo dolphin</em> </li>
</ul>
<p>Estos comandos ejecuntan nautilus o dolphin como super usuarios y permiten manejar las carpetas a nuestro gusto.</p>
<p>Descompriman en root el archivo 0-e2fsprogs-1.41.8.tar.gz de manera que les quede asi /e2fsprogs-1.41.8</p>
<p>Estamos listos para empezar con la isntalacion.</p>
<p><strong>Instalacion</strong></p>
<p>1) Navega con consola a manera que te encuentres dentro del directorio /e2fsprogs-1.41.8. o simplemente abre una terminal en este directorio.</p>
<p>2) Dentro de la carpeta /e2fsprogs-1.41.8 crea un directorio llamado build, y luego entra en el desde consola:</p>
<p> ~$ <em>mkdir build</em><br />
 ~$ <em>cd build</em></p>
<p>3) Ejecuta el script configure:</p>
<p> ~$ <em>../configure</em></p>
<p> 4) Compila los programas y librerias:</p>
<p> ~$ <em>make</em></p>
<p>5) Revisa que las carpetas y archivos de instalacion se hallan contruido correctamente:</p>
<p> ~$ <em>make check</em></p>
<p>6) Instala los programas y librerias:</p>
<p> ~$ <em>make install</em></p>
<p>7) Instala los archivos include y las librerias:</p>
<p> ~$ <em>make install-libs</em></p>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Elimina cualquier pre-formatted manuals. En alguans distribuciones puede que contengan pre-formatted manuals que esten obsoletos y se nesesitan actualizar para ver los manuales correctos.</p>
<p>Existe en el paquete un script que nos ayudara a realizar este paso simplemente ve a la carpeta /e2fsprogs-1.41.8/install-utils alli se encontrara un script llamado remove_preformat_manpages. Este script nesesita ser ejecutable por lo que le damos clic derecho y luego en propiedades. En la pestaña de Permisos seleccionamos la checkbox que dice &#8220;es ejecutable&#8221;. Luego abirmos una termianal en el directorio /e2fsprogs-1.41.8/install-utils y ejecutamos:</p>
<p> ~$ <em>./remove_preformat_manpages</em></p>
<p>9) Asegurate de que el archivo /etc/fstab file este correcto. Dentro del archivo abran unas lineas de comentarios las cuales seran ignoradas, las que nos interesan son las que lucen mas o menos asi:</p>
<p>/dev/hda4       /        ext2        defaults 1 1</p>
<p>nota que no nesesariamente debe de decir lo mismo que la linea anterior solo verifica que existan esos 6 datos, ya que muchas distribuciones no traen los ultimos 2 digitos. Estos 2 digitos pueden ser cualquier digito, eso no importa solo verifican que existan.<br />
 <br />
Incorrecto:<br />
/dev/hda4       /        ext2        defaults</p>
<p>Correcto:<br />
/dev/hda4       /        ext2        defaults 1 1</p>
<p>En la carpeta install-utils se encuentra un script llamado convfstab el cual puede ayudar a corregir el archivo /etc/fstab si es que esta corrupto. Para ejecutar este script hazlo de la misma manera que en el paso 8.</p>
<p>Listo todo esta instalado. Ahora ya puedes importar las librerias desde cualqueir codigo fuente en C/C++.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Formatera om ett USB-minne]]></title>
<link>http://mathsgothe.wordpress.com/2009/07/12/formatera-om-ett-usb-minne/</link>
<pubDate>Sun, 12 Jul 2009 21:59:22 +0000</pubDate>
<dc:creator>Maths</dc:creator>
<guid>http://mathsgothe.wordpress.com/2009/07/12/formatera-om-ett-usb-minne/</guid>
<description><![CDATA[Jag ville formatera mitt nya Kingstone USB-minne till ext2 för att kunna göra backup av filer på den]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Jag ville formatera mitt nya Kingstone USB-minne till ext2 för att kunna göra backup av filer på den bärbara till den. Tyvärr var stickan formaterad i ett Windowsformat, vilket gör att det finns upplysningar om filerna som försvinner om jag för över filer dit. Därför ville jag hellre ha en ett av Linux filsystem. Bland de som finns kändes ext2 som det bästa alternativet, eftersom det inte skriver mer än nödvändigt till stickan och sliter på dess yta.</p>
<p><!--more Läs hela inlägget här ...--></p>
<p>För att formatera ett USB-minne kan man använda programmet &#8216;Gnome Format&#8217;. Man hittar det i Pakethanteraren i Ubuntu. Programmet kan formatera i FAT och ext2, alltså väldigt lämpligt för ett sånt här jobb. Ändå kommer jag här att visa hur man gör i terminalen, fram för allt för att &#8216;Gnome Format&#8217; tar bort etiketten, LABEL, från stickan.</p>
<p>Jag skapade först filsystemet på stickan så här. Jag stoppade i den och när den dök upp avmonterade jag direkt. Det gjorde jag genom att högerklicka på dess ikon på skrivbordet och välja &#8216;Avmontera volym&#8217;. Man kan inte formatera en enhet som är monterad. Sedan fixade jag filsystemet i terminalen.</p>
<pre>
sudo mke2fs -t ext2 -L KingstonBackup /dev/sdb1
</pre>
<p>Körde följande för att se om stickan fanns med och vilka uppgifter den hade. Först fick jag dock lov att installera paketet &#8216;tree&#8217;. Här hittar man bl a uppgifter om UUID och label.</p>
<pre>
tree /dev/disk
</pre>
<p>Efter omformateringen hade den inte något namn, ingen LABEL, så jag gav den ett nytt. Men jag gav den ett namn på det här sättet, för jag missade växeln -L för mke2fs. Använder man alltså den växeln behöver man inte göra så här.</p>
<pre>
sudo tune2fs -L KingstonBackup /dev/sdb1
</pre>
<p>Monterade jag nu på vanligt sätt, genom att bara stopp in stickan, så kan jag inte skriva till det. Ägaren var root och jag kunde bara läsa, inte skriva till stickan. Jag monterar den i min hemkatalog, nu med bättre resultat. Men jag måste ändå vara root för att montera stickan.</p>
<p>Jag lyckades montera den som jag ville genom att i /etc/fstab ange följande. Först hade jag skapat mappen /media/KingstonBackup.</p>
<pre>
UUID=&#60;långt-nummer&#62;  /media/KingstonBackup  ext2  user,rw,sync  0  0
</pre>
<p>Det skulle kunna ha gått om jag istället angav LABEL.</p>
<pre>
LABEL=KingstonBackup  /meida/KingstonBackup  ext2  user,rw,sync  0  0
</pre>
<p>Jag vet inte om det här var något elegant sätt att göra det på, men det har funkat för mig. Nu kan jag använda USB-stickan som jag vill. Nu ska jag titta närmare på Rsync eller något annat verktyg att göra backup med.</p>
<p style="margin-top:50px;">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/se/"><img alt="Creative Commons License" style="border-width:0;" src="http://i.creativecommons.org/l/by-sa/2.5/se/88x31.png" /></a><br />Det här verket av <span>Maths G&#246;the</span> är licensierat under <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/se/">Creative Commons Erk&#228;nnande-Dela Lika 2.5 Sverige License</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Montare una partizione con superblocco non valido]]></title>
<link>http://ubuntrucchi.wordpress.com/2009/07/11/montare-una-partizione-con-superblocco-non-valido/</link>
<pubDate>Sat, 11 Jul 2009 17:03:24 +0000</pubDate>
<dc:creator>Muflone</dc:creator>
<guid>http://ubuntrucchi.wordpress.com/2009/07/11/montare-una-partizione-con-superblocco-non-valido/</guid>
<description><![CDATA[Ho un hard disk morente, presenta numerosi errori ma il principale riguarda l&#8217;impossibilità di]]></description>
<content:encoded><![CDATA[Ho un hard disk morente, presenta numerosi errori ma il principale riguarda l&#8217;impossibilità di]]></content:encoded>
</item>
<item>
<title><![CDATA[Recover / Export Tomboy Notes]]></title>
<link>http://vladzloteanu.wordpress.com/2009/07/02/recover-export-tomboy-notes/</link>
<pubDate>Thu, 02 Jul 2009 11:38:06 +0000</pubDate>
<dc:creator>vladzloteanu</dc:creator>
<guid>http://vladzloteanu.wordpress.com/2009/07/02/recover-export-tomboy-notes/</guid>
<description><![CDATA[For writing a short ToDo list, taking some notes from a conference or saving an interesting shell co]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>For writing a short ToDo list, taking some notes from a conference or saving an interesting shell command, an Ubuntu user needs a simple sticky notes desktop widget. <a href="http://projects.gnome.org/tomboy/" target="_blank">Tomboy Notes</a> is the easyest to use but in the same time very well featured, and it is bundled in Gnome Desktop.</p>
<p><!--more--></p>
<p>However, on reinstalling Linux, the notes will be, of course, deleted. The export/import option provided does not work very well, so the sollution is to just back up and then copy the contents of the ~/.tomboy (/home/&#60;username&#62;/.tomboy) folder into the new folder and voila! you will have your notes again on the desktop.</p>
<p>Extra info: To read/mount an ext2/ext3 partition in Windows, the easyest way is to install the <a href="http://www.fs-driver.org/download.html">fs-driver</a> . It works with all versions of Windows and it allows reading/writing operations.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[howto: know the UUID of a ext2/ext3 partition]]></title>
<link>http://kasolutions.wordpress.com/2009/06/25/howto-know-the-uuid-of-a-ext2ext3-partition/</link>
<pubDate>Thu, 25 Jun 2009 12:07:31 +0000</pubDate>
<dc:creator>aneeska</dc:creator>
<guid>http://kasolutions.wordpress.com/2009/06/25/howto-know-the-uuid-of-a-ext2ext3-partition/</guid>
<description><![CDATA[Use the command &#8220;dumpe2fs&#8221; on the drive you want to get the UUID. Like this: $ dumpe2fs ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Use the command &#8220;<a href="http://linux.about.com/library/cmd/blcmdl8_dumpe2fs.htm" target="_blank">dumpe2fs</a>&#8221; on the drive you want to get the UUID. Like this:</p>
<p style="padding-left:30px;"><em>$ dumpe2fs /dev/sda4</em></p>
<p style="padding-left:30px;"><em>Filesystem volume name:   Root<br />
Last mounted on:          &#60;not available&#62;<br />
<strong>Filesystem UUID:          485b1b34-1fb6-408a-aebb-55cbc02c567b</strong><br />
Filesystem magic number:  0xEF53<br />
Filesystem revision #:    1 (dynamic)</em></p>
<p style="padding-left:30px;"><em>&#8230;</em></p>
<p style="padding-left:30px;"><em>&#8230;</em></p>
<p style="padding-left:30px;">
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Ext2 IFS For Windows and Linux]]></title>
<link>http://computerhelpers.wordpress.com/2009/06/22/ext2-ifs-for-windows-and-linux/</link>
<pubDate>Tue, 23 Jun 2009 00:30:49 +0000</pubDate>
<dc:creator>dvanarsd</dc:creator>
<guid>http://computerhelpers.wordpress.com/2009/06/22/ext2-ifs-for-windows-and-linux/</guid>
<description><![CDATA[Ext2 IFS For Windows &#8220;provides Windows NT4.0/2000/XP/2003/Vista/2008 with full access to Linux]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.fs-driver.org/">Ext2 IFS For Windows</a> &#8220;provides Windows NT4.0/2000/XP/2003/Vista/2008 with full access to Linux Ext2 volumes (<em>read</em> access and <em>write</em> access). This may be useful if you have installed both Windows and Linux as a dual boot environment on your computer.&#8221;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[TestDisk - CGSecurity]]></title>
<link>http://moefid.net/2009/06/10/testdisk-cgsecurity/</link>
<pubDate>Wed, 10 Jun 2009 04:35:42 +0000</pubDate>
<dc:creator>Moefid</dc:creator>
<guid>http://moefid.net/2009/06/10/testdisk-cgsecurity/</guid>
<description><![CDATA[TestDisk is a powerful free data recovery software! It was primarily designed to help recover lost p]]></description>
<content:encoded><![CDATA[TestDisk is a powerful free data recovery software! It was primarily designed to help recover lost p]]></content:encoded>
</item>
<item>
<title><![CDATA[hoy es un día perfecto]]></title>
<link>http://framara8.wordpress.com/2009/05/31/hoy-es-un-dia-perfecto/</link>
<pubDate>Sun, 31 May 2009 12:31:39 +0000</pubDate>
<dc:creator>framara</dc:creator>
<guid>http://framara8.wordpress.com/2009/05/31/hoy-es-un-dia-perfecto/</guid>
<description><![CDATA[Hoy es un día perfecto&#8230; pero para hacer mi proyecto final de carrera. Praga a 31 de Mayo. El v]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">Hoy es un día perfecto&#8230; pero para hacer mi proyecto final de carrera.</p>
<p style="text-align:justify;">Praga a 31 de Mayo. El verano al caer, y cuando se supone que debería hacer buen tiempo  para poder salir a la calle y disfrutar de la primavera, aquí solo tengo 10ºC, lluvias y caras antipáticas. Pero como dice el refranero popular, al mal tiempo buena cara. Así que hoy es el día perfecto para hacer el proyecto.</p>
<p style="text-align:justify;">Mi PFC es programar un defragmentador para sistemas de ficheros de Unix ext2. Por supuesto sencillito, ni mucho menos es óptimo. Cuando mi coordinador me dijo que tenía que hacer esto,  se me cayó el mundo a los pies, pues en mi carrera ni por asomo te enseñan a hacer algo parecido a esto. Hace 9 meses pensaba que era difícil, a día de hoy todavía lo pienso.</p>
<p style="text-align:justify;">Estoy en la fase final ya, proyecto acabado pero tengo algo mal por algún sitio que hace que el file system resultante tenga errores. Por más que busco no consigo hacer que funcione. Mañana tengo reunión con el coordinador del proyecto y espero que me ayude, de todas formas esta tarde seguirébuscando.</p>
<p style="text-align:justify;">Cuando esté acabado subiré el código de la aplicación <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[EXT2 IFS - Handling Linux partitions in windows]]></title>
<link>http://lmpeiris.wordpress.com/2009/05/08/ext2-ifs-handling-linux-partitions-in-windows/</link>
<pubDate>Fri, 08 May 2009 16:19:57 +0000</pubDate>
<dc:creator>Malshan Peiris</dc:creator>
<guid>http://lmpeiris.wordpress.com/2009/05/08/ext2-ifs-handling-linux-partitions-in-windows/</guid>
<description><![CDATA[This program is not a Linux program. It&#8217;s free (but not open source) program which runs on win]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>This program is not a Linux program. It&#8217;s free (but not open source) program which runs on windows to give read-write access to the linux EXT2/EXT3 partitions by supplying drivers. </strong></p>
<p>You may think why i&#8217;m posting something &#8220;windows&#8221; in the totally Linux environment of my blog. Actually, you and all Linux people should understand, that considerable amount of people are still using windows out there. But they are turning to linux bit by bit, but some sinple things keep them not doing so; for an example, having to dedicate a partition for a linux installation. As newbies start linux searching for a different taste only, they are very unlike to loose a &#8220;windows-usable&#8221; hard drive space for an experiment! (I guess you know that windows don&#8217;t ship EXT2 drivers).</p>
<p>So the simple task of EXT2IFS program is to provide those drivers required. Thus, the EXT2 can be worked as the usual NTFS system in the same way. This gives a large push towards &#8220;Go Linux&#8221;. I will stop talking here. Here&#8217;s the program below. You can <a href="http://www.fs-driver.org/download/Ext2IFS_1_11a.exe" target="_blank">download version 1.11a from this link</a> or you can <a href="http://www.fs-driver.org/index.html" target="_blank">go to their homepage</a>.</p>
<div class="wp-caption alignnone" style="width: 471px"><a href="http://farm4.static.flickr.com/3609/3513313074_01e6090596_o.png" target="_blank"><img title="extifsstart" src="http://farm4.static.flickr.com/3609/3513313074_01e6090596_o.png" alt="The installation screen - I like seeing the Tux in windows!" width="461" height="346" /></a><p class="wp-caption-text">The installation screen - I like seeing the Tux in windows!</p></div>
<p>And a simple thing. You are allowed to choose whether read-only or not at the installation. If you have virus swarming in your windows, without read-only they can get in to the linux drive. But don&#8217;t worry, they can&#8217;t do even a scratch damage to linux. (just make sure files are not deleted &#8211; very rare)</p>
<div class="wp-caption alignnone" style="width: 496px"><a href="http://farm4.static.flickr.com/3314/3513313080_ab151a9e27_o.png"><img title="bootpart" src="http://farm4.static.flickr.com/3314/3513313080_ab151a9e27_o.png" alt="My /boot partition now open to windows (warning: do not change any file in this partition. Just leave it alone!)" width="486" height="362" /></a><p class="wp-caption-text">My /boot partition now open to windows (warning: do not change any file in this partition. Just leave it alone!)</p></div>
<p><strong>May the Tux win !</strong></p>
<p><em><strong>Huraah to linux!</strong></em></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Windows XP: Access ext2/ext3 partitions]]></title>
<link>http://cyberpanda.wordpress.com/2009/05/03/windows-xp-access-ext2ext3-partitions/</link>
<pubDate>Sun, 03 May 2009 12:34:07 +0000</pubDate>
<dc:creator>cyberpanda</dc:creator>
<guid>http://cyberpanda.wordpress.com/2009/05/03/windows-xp-access-ext2ext3-partitions/</guid>
<description><![CDATA[This is very easy, download Ext2 Installable File System for Windows. The site has great information]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is very easy, download <a href="http://www.fs-driver.org/index.html">Ext2 Installable File System for Windows</a>. The site has great information on how to go about to use it. Good luck!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ext2 (ext3) to ext4 - ubuntu]]></title>
<link>http://myswiat.wordpress.com/2009/05/02/ext2-ext3-to-ext4-ubuntu/</link>
<pubDate>Sat, 02 May 2009 18:23:58 +0000</pubDate>
<dc:creator>mariusz</dc:creator>
<guid>http://myswiat.wordpress.com/2009/05/02/ext2-ext3-to-ext4-ubuntu/</guid>
<description><![CDATA[Jest tego pełna i masę, wiem. Wiele się o tym pisze. Ale gdzie nie spojrzę coś innego pisze, jakieś ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Jest tego pełna i masę, wiem. Wiele się o tym pisze. Ale gdzie nie spojrzę coś innego pisze, jakieś ostrzeżenia, albo inne wymyślne teksty.</p>
<p>Ja robiąc przemianę z ext2 (bo takiego systemu używałem) na ext4.</p>
<p>Sprawa jest jasna i prosta. Potrzebujemy:<br />
płyty cd albo dvd z ubuntu 9.04<br />
i chęć, bez strachu.<br />
<strong>!! NIE MONTUJ ŻADNEGO DYSKU !!</strong><br />
Po załadowaniu się systemu z płytki, z menu wybieramy gparted i<strong> sprawdzamy jakie mamy oznaczenie dysku &#8211; u mnie to było sda8</strong>, i tak będę opisywał. Teraz kiedy wiemy co i ja, włączamy konsolę.<br />
Wpisujemy:<br />
<code>sudo bash</code><br />
i<br />
dla mnie że posiadałem ext2, musiałem włączyć księgowanie:<br />
<code>tune2fs -j /dev/sda8</code><br />
Dla tych co mają ext3, ta linijka wyżej nie istnieje <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I zaczynamy (dla wszystkich):<br />
<code>tune2fs -O extents,uninit_bg,dir_index /dev/sda8</code><br />
i<br />
<code>e2fsck -pf /dev/sda8</code><br />
powinna się pojawić lista z konwertowaniem i chwilę to może potrwać, zależnie od dysku.<br />
Jak się skończy, montujemy dysk:<br />
<code>mount -t ext4 /dev/sda8 /mnt</code><br />
i<br />
<code>sudo gedit /mnt/etc/fstab</code><br />
i zmieniamy przy skonwertowanej partycji, ext3 na ext4.. U mnie to wyglądało tak:<br />
<code># /dev/sda8<br />
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXX / ext4 relatime,errors=remount-ro 0 1</code><br />
i zostało nam tylko, przebudować listę GRUB:<br />
<code>sudo grub-install /dev/sda --root-directory=/mnt --recheck</code><br />
<strong>i koniec&#8230;</strong><br />
<em><strong>robimy restart</strong></em> bez płytki instalacyjnej już i cieszymy się, nowym rodzajem plików.</p>
<p>Będąc wcześniej na ext2, i teraz będąc na ext4, widzę trochę różnicę w szybkości działania. </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Error con Initramfs Ubuntu 8.04]]></title>
<link>http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/</link>
<pubDate>Sun, 12 Apr 2009 02:07:24 +0000</pubDate>
<dc:creator>elendill</dc:creator>
<guid>http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/</guid>
<description><![CDATA[Bueno saludos seguro alguna vez pasaron por este error en alguna distribución linux,  hmm sin embarg]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">Bueno saludos seguro alguna vez pasaron por este error en alguna distribución linux,  hmm sin embargo este error pudiésemos hecharselo a nuestros dispositivos de almacenamientos ides ha ha ha, lo cierto es que se considera como un fallo de lectura de los controladores ide de discos duros donde el kernel del sistema operativo en este caso Linux Ubuntu no logra reconocer dichos drivers:</p>
<address><strong><em><span style="color:#ff0000;">Error: BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu7) Built-in Shell (ash)</span></em></strong></address>
<address><strong><em><span style="color:#ff0000;"><br />
</span></em></strong></address>
<address><strong><em></em></strong></address>
<address><strong><em><span style="color:#ff0000;">BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu7) Built-in Shell (ash)</span></em></strong></address>
<address><strong><em><span style="color:#ff0000;">Enter &#8220;help&#8221; for a list of built-in commands</span></em></strong></address>
<address><strong><em><span style="color:#ff0000;">(initramfs)</span></em></strong></address>
<p style="text-align:justify;">
<p>en alguna distro que usen, bien sea ubuntu&#8230;Aquí explicaré un poco el origen de este fallo, causas, síntomas y consecuencias y su posible solución.</p>
<p>No sin antes conocer como se produce la carga de un sistema operativo&#8230;</p>
<p style="text-align:center;"><strong><em>¿ Cómo se lleva a cabo el proceso de arranque en un Sistema Linux ?</em></strong></p>
<p style="text-align:center;"><strong><em><br />
</em></strong></p>
<p style="text-align:center;">
<p style="text-align:justify;">Este proceso se lleva a cabo cuando los <strong><em>sistemas operativos Linux</em></strong> se inicializan.  La mayoría de los procesos de inicio se dan en 4 etapas dichas cuales serán reconocidas por el código que tiene el control sobre la CPU.</p>
<p style="text-align:justify;"><a rel="attachment wp-att-1151" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/initramfs-error1/"><img class="aligncenter size-medium wp-image-1151" title="initramfs-error1" src="http://elendill.wordpress.com/files/2009/04/initramfs-error1.jpg?w=300" alt="initramfs-error1" width="300" height="225" /></a></p>
<p style="text-align:justify;">Al inicio solo el <strong><em>BIOS</em></strong> tiene todo el control,  luego será el <strong>Cargador de Arranque</strong> y después lo tendrá el <strong><em>Kernel</em></strong> de Linux siendo esta la última etapa donde se tendrán en memoria los programas del usuario.</p>
<p style="text-align:justify;">El proceso <em><strong>init</strong></em> establece el ambiente del usuario. Verifica y monta los sistemas de archivos, inicia servicios de usuario necesarios y cambia a un ambiente basado en usuario cuando el proceso de inicio termina.</p>
<p style="text-align:justify;">
<p style="text-align:justify;">La etapa del <em><strong>cargador de arranque</strong></em> no es totalmente necesaria, un determinado <strong><em>BIOS </em></strong>puede cargar y pasar el control a Linux sin hacer uso del cargador de arranque, usar un cargador de arranque facilita al usuario la forma en que el kernel será cargado.</p>
<p style="text-align:justify;">
<p style="text-align:center;"><strong><em>¿ Qué es un Cargador de arranque ?</em></strong></p>
<p style="text-align:center;"><strong><em><br />
</em></strong></p>
<p style="text-align:center;">
<p style="text-align:justify;">Un cargador de arranque en inglés <strong>bootloader</strong> es un  sencillo programa  que con sólo parte de las funciones de un sistemas operativos es capaz de preparar todas las configuraciones necesarioas para que dicho sistema pueda funcionar. Generalmente  se usan  cargadores de arranque <strong><em>multietapas</em></strong>, en donde varios programas pequeños se entremezclan logrando así que el último de ellos cargue el  sistema operativo.</p>
<p style="text-align:justify;">Actualmente  el proceso de arranque comienza en el CPU ejecutando los programas contenidos en la memoria ROM en una dirección predefinida configurando asi a ésta para ejecutar el cargador de arranque  sin ninguna ayuda cuando prendemos el computador.</p>
<p style="text-align:justify;">Cargadores de arranque en Linux:</p>
<p style="text-align:justify;">
<h3 style="text-align:center;"><span class="mw-headline">Cargador de arranque GRUB</span></h3>
<p><span class="mw-headline"><br />
</span></p>
<p style="text-align:justify;">etapas:</p>
<ol style="text-align:justify;">
<li>La primera etapa del cargador la lee el BIOS desde el MBR.</li>
<li>La primera etapa carga el resto del cargador (segunda etapa). Si la segunda etapa está en un dispositivo grande, se carga una etapa intermedia (llamada etapa 1.5), la cual contiene código extra que permite leer cilíndros mayores que 1024 o dispositivos tipo LBA.</li>
<li>La segunda etapa ejecuta el cargador y muestra el menú de inicio de GRUB. Aquí se permite elegir un sistema operativo junto con parámetros del sistema.</li>
<li>Cuando se elige un sistema operativo, se carga en memoria y se pasa el control.</li>
</ol>
<p><a rel="attachment wp-att-1152" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/grub-y-lilo/"><img class="aligncenter size-medium wp-image-1152" title="grub-y-lilo" src="http://elendill.wordpress.com/files/2009/04/grub-y-lilo.gif?w=300" alt="grub-y-lilo" width="300" height="225" /></a></p>
<p style="text-align:justify;"><em><strong>GRUB</strong></em> tambien llamado gestor de arranque,  puede soportar  métodos de arranque directo, arranque <em>chain-loading</em>, LBA, ext2 y hasta &#8220;un pre sistema operativo totalmente basado en comandos&#8221;. Posee tres interfaces: un menú de selección, un editor de configuración y una consola de línea de comandos.</p>
<p style="text-align:justify;">
<p style="text-align:justify;">
<p style="text-align:justify;">
<h3 style="text-align:center;"><span class="mw-headline">Cargador de Arranque LILO</span></h3>
<p><span class="mw-headline"><br />
</span></p>
<p style="text-align:justify;">LILO es más antiguo, es casi idéntico a GRUB en su proceso, excepto que no contiene una interfaz de línea de comandos. Por lo tanto todos los cambios en su configuración deben ser escritos en el MBR, y reiniciar el sistema. Un error en la configuración puede arruinar el proceso de arranque a tal grado de que sea necesario usar otro dispositivo que contenga un programa que sea capaz de arreglar ese defecto.</p>
<p style="text-align:justify;">De forma adicional, LILO no entiende sistema de archivos, por lo tanto no hay archivos y todo se almacena en el MBR directamente.</p>
<p style="text-align:justify;">Cuando el usuario selecciona una opción del menú de carga de LILO, dependiendo de la respuesta, carga los 512 bytes del MBR para sistemas como Microsoft Windows, o la imagen del kernel para Linux.</p>
<p style="text-align:justify;">
<p style="text-align:center;"><em><strong><br />
</strong></em></p>
<p style="text-align:center;"><em><strong>¿ Qué es el shell Initramfs ?</strong></em></p>
<p style="text-align:center;"><em><strong><br />
</strong></em></p>
<p style="text-align:justify;">
<p style="text-align:justify;"><strong>El initramfs</strong> es un sistema  de inicio en los <strong><em>OS  Linux</em></strong> que carga  el código necesario para preparar el arranque del sistema. La mayoría de las distro Linux traen una única  imagen genérica del núcleo encargada de  arrancar en la mayor variedad posible el hardware.</p>
<p style="text-align:justify;">El <strong><em>shell Initramfs</em></strong> es una cónsola de comandos donde se puede revertir dicho error con las sentencias correctas, ademas se puede el usuario que conozca bien su estructura podría identificar rápidamente este fallo.</p>
<p style="text-align:justify;">El sistema de archivos   initramfs debe su nombre al sistema de archivos RAMFS .  Actualmente los usuarios pueden elegir qué sistema de archivos dinámico en RAM utilizar.   Una ventaja del <strong><em>sistema Initramfs es que puede ser editado fácilmente sin privilegios de administrador</em></strong>.</p>
<p style="text-align:center;"><strong><em>¿ Qué es MBR ?</em></strong></p>
<p style="text-align:center;">
<p style="text-align:justify;"><span style="font-family:Verdana;font-size:x-small;">El <span style="color:#000080;"><strong> Master Boot Record</strong></span> <span style="color:#000080;">(MBR)</span> es un pequeño programa que es ejecutado en cada Inicio del sistema operativo y se encuentra ubicado en el primer sector absoluto (<span style="font-family:Verdana;color:#000080;font-size:x-small;"><strong>Track 0</strong></span>,<span style="font-family:Verdana;color:#000080;font-size:x-small;"><strong> head 0</strong></span>,<span style="font-family:Verdana;color:#000080;font-size:x-small;"><strong> sector 1</strong></span>) del disco duro en una PC y que busca la Tabla de Particiones para transferirla al Sector de Arranque (Boot). </span></p>
<p style="text-align:justify;"><span style="font-family:Verdana;font-size:x-small;"><a rel="attachment wp-att-1153" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/master-boot-record/"><img class="aligncenter size-full wp-image-1153" title="master-boot-record" src="http://elendill.wordpress.com/files/2009/04/master-boot-record.jpg" alt="master-boot-record" width="297" height="253" /></a><br />
</span></p>
<p style="text-align:justify;">El  MBR hace referencia  al sector de arranque de 512 bytes sin embargo también puede direccionar al  <strong>partition sector</strong> de alguna partición que sea compatible con ordenadores  IBM. Este tipo de  MBR es muy usado siendo incorporado en otros tipos de ordenadores y en estándares nuevos multi-plataforma para el particionado y el arranque.</p>
<p style="text-align:justify;">En el  arranque de Sistemas operativos bootstrap () tiene el fuerte de su utilización. También sirve para almacenar una tabla de particiones y para reconocer  dispositivos  de disco individual.</p>
<p><a rel="attachment wp-att-1154" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/estructura-del-mbr/"><img class="aligncenter size-medium wp-image-1154" title="estructura-del-mbr" src="http://elendill.wordpress.com/files/2009/04/estructura-del-mbr.jpg?w=300" alt="estructura-del-mbr" width="300" height="245" /></a></p>
<p style="text-align:justify;">Eel código del MBR está compuesto de instrucciones de lenguaje máquina en modo real. Donde el código se transfiere el  control a través del  chain loading al volume boot record de la partición (primaria) activa.</p>
<p style="text-align:justify;"><strong><span style="color:#ff0000;">Nota</span></strong>:   <em>el Master Boot Record</em>, como otros sectores de arranque, <em>es un blanco para los virus que infectan el sector de arranque.</em></p>
<p style="text-align:justify;">
<p style="text-align:center;"><strong><em>Hacer un Back up del MBR en Linux</em></strong></p>
<p style="text-align:center;">
<p>Para hacer la copia de seguridad (<em>backup</em>):</p>
<pre><span style="color:#ff0000;">dd if=/dev/xxx of=mbr.backup bs=512 count=1</span></pre>
<p>Para restaurarlo:</p>
<p style="text-align:center;"><span style="color:#ff0000;"><br />
</span></p>
<pre style="text-align:center;"><span style="color:#ff0000;">dd if=mbr.backup of=/dev/xxx bs=512 count=1</span></pre>
<p style="text-align:justify;">Donde <strong>xxx</strong> es el dispositivo, que puede ser hda, sda, o cualquier otro.</p>
<p style="text-align:justify;">Al hacer una  copia de seguridad del MBR, es muy necesario copiar los primeros <em><strong>63</strong></em> sectores del disco ( primer cilindro del disco ) y no sólo el primero, ya que nuestro sistema podría tener implementado el sistema GUID, el cual utiliza más sectores para guardar la información sobre las particiones del disco duro.</p>
<p style="text-align:justify;">La instrucción sería:</p>
<pre style="text-align:center;"> <span style="color:#ff0000;">dd if=/dev/xxx of=mbr_63.backup bs=512 count=63 </span></pre>
<p style="text-align:justify;">Si quieres borrarlo, ya que  si no tenemos una copia de seguridad pero queremos borrar  la información de este sector, debemos  poner los 512 bytes a cero:</p>
<pre style="text-align:center;">d<span style="color:#ff0000;">d if=/dev/zero of=/dev/xxx bs=512 count=1</span></pre>
<p style="text-align:justify;"><em><strong><br />
</strong></em></p>
<p style="text-align:center;"><strong><em>¿ Qué es el Initrd ?</em></strong></p>
<p style="text-align:center;">
<p style="text-align:center;"><strong><em><br />
</em></strong></p>
<p style="text-align:justify;">El <strong>I</strong><em><strong>nitrd</strong></em> es un sistema de archivos temporal que se usa en los núcleos Linux conocido también como <strong><em>disco RAM</em></strong>.  Se usa generalmente para hacer las configuraciones necesarias previas al montaje que el sistema de archivos raiz ejecutará.</p>
<p><a rel="attachment wp-att-1155" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/initrd-imagen-de-inicio/"><img class="aligncenter size-medium wp-image-1155" title="initrd-imagen-de-inicio" src="http://elendill.wordpress.com/files/2009/04/initrd-imagen-de-inicio.jpg?w=300" alt="initrd-imagen-de-inicio" width="300" height="225" /></a></p>
<p style="text-align:justify;">En un <em><strong>sistema Initrd </strong></em>todos los archivos que serán accedidos por el núcleo en el arranque ( inicio del sistema) se guardarán en un <strong><em>disco RAM</em></strong>, el cual se encuentra en un sistema de archivos encima de un archivo montado como un dispositivo bucle ( equivalente a un disquette 1,4 MB ),  la ruta de esta imagen de dicho disco se pasa al núcleo ( kernel ) durante la carga por el cargador de arranque ( <strong>LILO</strong> o <strong>GRUB</strong> ).</p>
<p style="text-align:center;"><strong><em><br />
</em></strong></p>
<p style="text-align:center;">
<p style="text-align:center;"><strong><em>¿  Causas y síntomas del fallo en Initramfs ?</em></strong></p>
<p style="text-align:center;"><strong><em><br />
</em></strong></p>
<p style="text-align:center;">
<ul>
<li> fallo  al cargar un módulo initramfs llamado piix.</li>
<li>es un fallo que impide cargar correctamente el kernel a algunos discos duros IDE antiguos.</li>
<li>Al iniciar el sistema operativo linux el splash se tarda mucho y luego nos lanza a una cónsola con las siglas Initramafs.</li>
<li>Es un fallo que ocurre en la lectura de las particiones donde está instalado el sistema linux debido a una carga errónea del kernel o mejor aun a la no carga de los controladores de dicho sistema para que pueda iniciarse.</li>
</ul>
<p><a rel="attachment wp-att-1156" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/error-en-initramfs2/"><img class="aligncenter size-medium wp-image-1156" title="error-en-initramfs2" src="http://elendill.wordpress.com/files/2009/04/error-en-initramfs2.jpg?w=300" alt="error-en-initramfs2" width="300" height="225" /></a></p>
<p style="text-align:center;">
<p style="text-align:center;"><strong><em>¿ Cómo solucionar el fallo Initramfs en ubuntu ?</em></strong></p>
<p style="text-align:center;"><strong><em><br />
</em></strong></p>
<p style="text-align:center;">
<p style="text-align:justify;"><strong>Solución A:</strong> <span style="color:#ff6600;">&#8220;Editando el Grub con el live CD teniendo permisos de Root&#8221;</span></p>
<p style="text-align:justify;"><span style="color:#ff6600;"><br />
</span></p>
<p style="text-align:justify;">
<p style="text-align:justify;">Al iniciar su LIVECD luego de seleccionar la opción de booteo con dicho CD/DVD de &#8220;Probar Ubuntu sin alterar el sistema&#8221; abren una cónsola con permisos de root ( administrador ) y acceden a esta ruta <span style="color:#ff0000;">&#8220;</span><strong><span style="color:#ff0000;">/boot/grub/menu.lst &#8220;</span>. <strong>Una vez ahí bajamos hasta las líneas donde está cargado nuestro Kernel LInux sería algo como esto</strong>: </strong><span style="color:#ff0000;"><strong>Kernel / boot/ vmlinuz-2.6.XX-X.   <span style="color:#000000;">vemos que al final de la línea diga  &#8220;</span></strong></span><strong>ro quiet splash&#8221;</strong><span style="color:#ff0000;"><strong> <span style="color:#000000;">y colocamos la sentencia</span> &#8220;</strong></span><strong>pci=nomsi </strong><span style="color:#ff0000;"><strong>&#8220;.</strong></span></p>
<p style="text-align:justify;"><span style="color:#ff0000;"><strong><span style="color:#000000;">Guardamos y reiniciamos el OS</span>&#8230;.Importante hacer un respaldo del archivo en cuestion.</strong></span></p>
<p style="text-align:justify;">
<p style="text-align:justify;">
<p style="text-align:justify;"><span style="color:#ff0000;"><strong><br />
</strong></span></p>
<p style="text-align:left;"><strong><em>Solución B:</em></strong> <span style="color:#ff6600;">&#8220;Editando el Grub con el live CD teniendo permisos de Root&#8221;</span></p>
<p style="text-align:left;">
<p style="text-align:justify;">De igual manera iniciamos con el LIVECD de su distro y al cargarse esta accedemos al archivo &#8220;menu.lst&#8221; en la carpeta GRUB con permisos de superusuario y editando las líneas donde se cargan los kernel de Linux agregamos la linea &#8220;all_generic_ide&#8221; al final de las líneas que dicen &#8220;ro quiet splash&#8221; generalmente Linux carga 4 módulos de Kernel:  los modos recovery y los kernels versiones. Este cambio se hace en los modos no recovery como en la foto siguiente verán&#8230;</p>
<p style="text-align:justify;">
<p style="text-align:justify;">En las siguientes imágenes explico mejor como deben hacer la edición del archivo del GRUB:</p>
<p style="text-align:justify;"><span style="color:#ff0000;">abrimos una cónsola e iniciamos Nautilus en modo root</span></p>
<p style="text-align:justify;"><a rel="attachment wp-att-1157" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/initrmafs/"><img class="aligncenter size-medium wp-image-1157" title="initrmafs" src="http://elendill.wordpress.com/files/2009/04/initrmafs.png?w=300" alt="initrmafs" width="300" height="225" /></a></p>
<p style="text-align:justify;"><span style="color:#ff0000;">Introducimos la contraseña del superusuario</span></p>
<p style="text-align:justify;"><a rel="attachment wp-att-1158" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/initramfs2/"><img class="aligncenter size-medium wp-image-1158" title="initramfs2" src="http://elendill.wordpress.com/files/2009/04/initramfs2.png?w=300" alt="initramfs2" width="300" height="225" /></a></p>
<p style="text-align:justify;">
<p style="text-align:justify;"><span style="color:#ff0000;">Nos vamos a la ruta donde se encuentra el archivo &#8220;menu.lst&#8221; </span></p>
<p style="text-align:justify;"><a rel="attachment wp-att-1159" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/initramfs3/"><img class="aligncenter size-medium wp-image-1159" title="initramfs3" src="http://elendill.wordpress.com/files/2009/04/initramfs3.png?w=300" alt="initramfs3" width="300" height="225" /></a></p>
<p style="text-align:justify;"><span style="color:#ff0000;">Abrimos el archivo menu.lst y bajamos a las siguientes líneas de nuestro kernel</span></p>
<p style="text-align:justify;"><a rel="attachment wp-att-1160" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/initramfs4/"><img class="aligncenter size-medium wp-image-1160" title="initramfs4" src="http://elendill.wordpress.com/files/2009/04/initramfs4.png?w=300" alt="initramfs4" width="300" height="225" /></a></p>
<p style="text-align:justify;"><span style="color:#ff0000;">Colocamos al fina la siguiente sentencia:   &#8220;all generic_ide&#8221;</span></p>
<p style="text-align:justify;"><a rel="attachment wp-att-1161" href="http://elendill.wordpress.com/2009/04/12/error-con-initramfs-ubuntu-804/initramfs5/"><img class="aligncenter size-medium wp-image-1161" title="initramfs5" src="http://elendill.wordpress.com/files/2009/04/initramfs5.png?w=300" alt="initramfs5" width="300" height="225" /></a></p>
<p style="text-align:justify;"><span style="color:#ff0000;">y reinician su sistema y ya debería terminar la carga de los controladores de sus dispositivos IDE.</span></p>
<p style="text-align:justify;">
<p style="text-align:justify;"><em><strong><span style="color:#000000;">Solución C:</span></strong></em> <span style="color:#ff0000;">&#8220;</span><span style="color:#ff0000;">Usando el shell initramfs y el LIVECD&#8221;</span></p>
<p style="text-align:justify;"><span style="color:#ff0000;"><br />
</span></p>
<p style="text-align:justify;">
<p><!--[if gte mso 9]&#62;  Normal 0   21   false false false  ES X-NONE X-NONE                            &#60;![endif]--><!--[if gte mso 9]&#62;                                                                                                                                            &#60;![endif]--></p>
<p><!--[if gte mso 10]&#62;--> <!--[endif]--><span style="font-size:12pt;line-height:115%;font-family:&#34;" lang="ES-CR">Paso 1: Ejecutar Live cd</span></p>
<p>Paso 2: Presionar F6 y aÃ±adir tras los &#8221; &#8212; &#8220;</p>
<p>break=top</p>
<p>Paso 3:  tecleamos lo siguiente en la cónsola de initramfs</p>
<p><strong><em>modprobe ide_generic<br />
modprobe ide_cd<br />
modprobe ide_disk<br />
modprobe piix<br />
exit</em></strong></p>
<p>Paso 4: Con el LiveCd instalamos o iniciamos ubuntu con las opciones que queramos.</p>
<p>Paso 5: Hacemos un reboot ( reinicio ) del sistema</p>
<p>Paso 6: Llegamos al gestor de arranque GRUB nos situamos en la linea de kernel que usariamos para arrancar y presionamos &#8221; e &#8220;, nos situamos en la linea de kernel vamos al final de la linea y añadimos <em><strong>all_generic_ide</strong></em>.</p>
<p><span style="font-size:12pt;line-height:115%;font-family:&#34;" lang="ES-CR"><strong><em><span style="color:#ff0000;">Nota</span></em></strong>: <strong><em>es importante editar el archivo menu.lst para no tener que repetir estos pasos en caso que el error sea recurrente.</em></strong></span></p>
<p><span style="font-size:12pt;line-height:115%;font-family:&#34;" lang="ES-CR"><strong><em><br />
</em></strong></span></p>
<p style="text-align:justify;"><strong>Enlaces relacionados:</strong></p>
<p style="text-align:justify;">
<p><a href="http://vagos.wamba.com/showthread.php?t=380116">Error initramfs</a></p>
<p><a href="http://www.ubuntu-es.org/index.php?q=node/57625">Error initramfs</a></p>
<p><a href="http://www.ubuntu-es.org/index.php?q=node/81092">Error initramfs</a></p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;"><span style="color:#ff6600;"><br />
</span></p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Acceder a la partición de linux]]></title>
<link>http://fsandin.wordpress.com/2009/04/07/acceder-a-la-particion-de-linux/</link>
<pubDate>Tue, 07 Apr 2009 06:16:52 +0000</pubDate>
<dc:creator>fsandin</dc:creator>
<guid>http://fsandin.wordpress.com/2009/04/07/acceder-a-la-particion-de-linux/</guid>
<description><![CDATA[Acceder a cualquier contenido del ordenador cuando estoy trabajando desde ubuntu es muy cómodo, ya q]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Acceder a cualquier contenido del ordenador cuando estoy trabajando desde ubuntu es muy cómodo, ya que puedo leer y escribir en cualquier partición sin mayor problema. El caso es que a veces necesito arrancar Windows y desde este sistema no puedo acceder a la partición ext3 donde tengo algunos documentos. Para no andar moviendo los ficheros de un lado para otro, me he instalado una herramienta que monta las particiones ext2 y ext3 desde windows. El proyecto se llama <a href="http://www.ext2fsd.com/projects/projects.htm">EXT2FSD</a>.</p>
<p><img class="alignright" src="http://i279.photobucket.com/albums/kk139/fsandin/web/disco_ubuntu.png" alt="" width="128" height="128" />Durante la instalación, debes tener en cuenta que tienes que seleccionar la compatibilidad con ext3 para poder acceder sin problemas a la partición de ubuntu (que por defecto es ext3)</p>
<p>Una vez instalado, sólo tienes que indicarle la letra de la unidad que se montará con la partición y tras reiniciar el sistema, serás capaz de acceder a todos los contenidos de la partición.</p>
<p>El proyecto es de libre distribución, así que no te tienes que preocupar de licencias ni versiones de prueba: Licencia para toda la vida.</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
