<p>I BRICK my phone. On the third instruction, the one that formats the partition.</p>
<p>f(t)<br>
</p>
<div class="gmail_quote">&gt; Just to get one thing straight - are you sure the 2gigs for apps and /home are not enough? Or, did you just run out of rootfs space (i.e. Didn&#39;t placd your app under /opt (&quot;optify&quot; it), and hence think you need to repartition your mmc)?<br>
&gt; -- <br>&gt; Sent from my Nokia N900<br>&gt; <br>&gt; ----- Original message -----<br>&gt;&gt; Hi guys. I want to repartition my flash.<br>&gt;&gt; <br>&gt;&gt; I want to have more space for apps and more space to develop on.<br>
&gt;&gt; <br>&gt;&gt; For starters I want to try the swap solutuion. I guess it is a good first<br>&gt;&gt; step for me.<br>&gt;&gt; <br>&gt;&gt; I have 3 questions:<br>&gt;&gt; <br>&gt;&gt; 1- I want to have also more space for apps, this solution won&#39;t help me<br>
&gt;&gt; there, right?<br>&gt;&gt; 2-I have an N900 with PR 1.3 so are the NUMBERS bellow in the &quot;table&quot;<br>&gt;&gt; file correct for me? (I&#39;m not sure if those numbers are for the N900 or<br>&gt;&gt; another device running maemo)<br>
&gt;&gt; 3-I&#39;ve read in the tutorial about other solutions for repartitionning<br>&gt;&gt; more oriented to having different Operating Systems like ubuntu. I have<br>&gt;&gt; an SD card, could I install Ubuntu there as I did with the NitDroid<br>
&gt;&gt; project or would I need to repartition the internal flash?<br>&gt;&gt; <br>&gt;&gt; Please, If you could, write me a comment or advise.<br>&gt;&gt; <br>&gt;&gt; thanks and whish me luck.<br>&gt;&gt; <br>&gt;&gt; f(t)<br>
&gt;&gt; <br>&gt;&gt; We assume you have the standard Nokia partition layout on your device.<br>&gt;&gt; <br>&gt;&gt; *Warning: the contents of MyDocs will deleted. Perform a backup!*<br>&gt;&gt; <br>&gt;&gt; umount /home/user/MyDocs<br>
&gt;&gt; sfdisk -c /dev/mmcblk0 1 83 # optional (safer): change FAT to ext3 id<br>&gt;&gt; mkfs.ext3 /dev/mmcblk0p1 # create ext3 on large partition<br>&gt;&gt; mount /dev/mmcblk0p1 /mnt # mount new /home<br>&gt;&gt; cp -a /home/* /mnt # copy contents of /home to large partition<br>
&gt;&gt; umount /mnt # unmount it<br>&gt;&gt; <br>&gt;&gt; create the file &quot;table&quot;:<br>&gt;&gt; <br>&gt;&gt; unit: sectors<br>&gt;&gt; /dev/mmcblk0p1 : start= 56631360, size=   4194304, Id= c<br>&gt;&gt; /dev/mmcblk0p2 : start=             64, size= 56631296, Id=83<br>
&gt;&gt; /dev/mmcblk0p3 : start= 60825664, size=   1572864, Id=82<br>&gt;&gt; /dev/mmcblk0p4 : start=               0, size=               0, Id= 0<br>&gt;&gt; <br>&gt;&gt; continue with<br>&gt;&gt; <br>&gt;&gt; sfdisk --no-reread /dev/mmcblk0 &lt; table # change partition table, swap<br>
&gt;&gt; p1 and p2 reboot; exit # reboot to re-read new table<br>&gt;&gt; <br>&gt;&gt; after reboot<br>&gt;&gt; <br>&gt;&gt; mkfs.vfat -F32 /dev/mmcblk0p1   # create VFAT on 2GB partition<br>&gt;&gt; mount /home/user/MyDocs # mount it<br>
&gt;&gt; <br>&gt;&gt; voila!<br>&gt; <br></div>