View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#286
Originally Posted by n900shamie View Post
can anyone explain and give a table of how to have 10gb for install and the rest for MyDocs,i couldnt manage with the ideas provided on wiki.
thx
Make sure you understand the solution fully, know about the risks of loosing everything if you not backup properly!
Read, digest, understand or ask your questions before doing something irresponsible, it saves your nerves!!!
This is the table for solution #3 only. It is the temporary table because of the two zero'ed partition type entries, which will not get mounted during reboot!
Code:
echo "unit: sectors
> /dev/mmcblk0p1 : start= 64, size= 39854080, Id=0
> /dev/mmcblk0p2 : start= 39854144, size= 20971520, Id=0
> /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82
> /dev/mmcblk0p4 : start= 0, size= 0, Id= 0" > table
The types of the partitions will get changed later in solution #3 of the wiki http://wiki.maemo.org/Repartitioning...ome_and_MyDocs

Edit: Documentation of the calculation:
Start from the end, swap partition will not get changed [ignore it]. The first partition must start at 64!!!
Code:
10G=1024*1024*10*2=20,971,520 Sectors is the size of partition2
60825664 minus 20,971,520 = 39854144 is the starting value for partition2
39854144 minus 64 = 39854080 is the size of partition!
These three calculations will give you all the numbers for the table above.
 

The Following User Says Thank You to michaaa62 For This Useful Post: