<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">> 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>
> -- <br>> Sent from my Nokia N900<br>> <br>> ----- Original message -----<br>>> 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<br>>> 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<br>
>> there, right?<br>>> 2-I have an N900 with PR 1.3 so are the NUMBERS bellow in the "table"<br>>> file correct for me? (I'm not sure if those numbers are for the N900 or<br>>> another device running maemo)<br>
>> 3-I've read in the tutorial about other solutions for repartitionning<br>>> more oriented to having different Operating Systems like ubuntu. I have<br>>> an SD card, could I install Ubuntu there as I did with the NitDroid<br>
>> 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>>> We assume you have the standard Nokia partition layout on your device.<br>>> <br>>> *Warning: the contents of MyDocs will deleted. Perform a backup!*<br>>> <br>>> 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>>> <br>>> create the file "table":<br>>> <br>>> 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>>> <br>>> continue with<br>>> <br>>> sfdisk --no-reread /dev/mmcblk0 < table # change partition table, swap<br>
>> p1 and p2 reboot; exit # reboot to re-read new table<br>>> <br>>> after reboot<br>>> <br>>> mkfs.vfat -F32 /dev/mmcblk0p1 # create VFAT on 2GB partition<br>>> mount /home/user/MyDocs # mount it<br>
>> <br>>> voila!<br>> <br></div>