<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="generator" content="Osso Notes">
    <title></title></head>
<body>
<p>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't placd your app under /opt ("optify" it), and hence think you need to repartition your mmc)?
<br><font color="#999999">-- </font>
<br><font color="#999999">Sent from my Nokia N900</font>
<br>
<br>----- Original message -----
<br>&gt; Hi guys. I want to repartition my flash.
<br>&gt; 
<br>&gt; I want to have more space for apps and more space to develop on.
<br>&gt; 
<br>&gt; For starters I want to try the swap solutuion. I guess it is a good first
<br>&gt; step for me.
<br>&gt; 
<br>&gt; I have 3 questions:
<br>&gt; 
<br>&gt; 1- I want to have also more space for apps, this solution won't help me
<br>&gt; there, right?
<br>&gt; 2-I have an N900 with PR 1.3 so are the NUMBERS bellow in the "table"
<br>&gt; file correct for me? (I'm not sure if those numbers are for the N900 or
<br>&gt; another device running maemo)
<br>&gt; 3-I've read in the tutorial about other solutions for repartitionning
<br>&gt; more oriented to having different Operating Systems like ubuntu. I have
<br>&gt; an SD card, could I install Ubuntu there as I did with the NitDroid
<br>&gt; project or would I need to repartition the internal flash?
<br>&gt; 
<br>&gt; Please, If you could, write me a comment or advise.
<br>&gt; 
<br>&gt; thanks and whish me luck.
<br>&gt; 
<br>&gt; f(t)
<br>&gt; 
<br>&gt; We assume you have the standard Nokia partition layout on your device.
<br>&gt; 
<br>&gt; *Warning: the contents of MyDocs will deleted. Perform a backup!*
<br>&gt; 
<br>&gt; umount /home/user/MyDocs
<br>&gt; sfdisk -c /dev/mmcblk0 1 83 # optional (safer): change FAT to ext3 id
<br>&gt; mkfs.ext3 /dev/mmcblk0p1 # create ext3 on large partition
<br>&gt; mount /dev/mmcblk0p1 /mnt # mount new /home
<br>&gt; cp -a /home/* /mnt # copy contents of /home to large partition
<br>&gt; umount /mnt # unmount it
<br>&gt; 
<br>&gt; create the file "table":
<br>&gt; 
<br>&gt; unit: sectors
<br>&gt; /dev/mmcblk0p1 : start= 56631360, size=&nbsp; &#32;4194304, Id= c
<br>&gt; /dev/mmcblk0p2 : start=&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#32;64, size= 56631296, Id=83
<br>&gt; /dev/mmcblk0p3 : start= 60825664, size=&nbsp; &#32;1572864, Id=82
<br>&gt; /dev/mmcblk0p4 : start=&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#32;0, size=&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#32;0, Id= 0
<br>&gt; 
<br>&gt; continue with
<br>&gt; 
<br>&gt; sfdisk --no-reread /dev/mmcblk0 &lt; table # change partition table, swap
<br>&gt; p1 and p2 reboot; exit # reboot to re-read new table
<br>&gt; 
<br>&gt; after reboot
<br>&gt; 
<br>&gt; mkfs.vfat -F32 /dev/mmcblk0p1&nbsp; &#32;# create VFAT on 2GB partition
<br>&gt; mount /home/user/MyDocs # mount it
<br>&gt; 
<br>&gt; voila!
<br><br></p>
</body>
</html>