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