View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#5
Originally Posted by zohal View Post
huh! but I don't want the current changes to persist..
I want to make sure whether flashing the emmc will give Me out-of-box state?

thx!
Why would one want to do that??? Just change the My docs and /home partitions like in wiki solution #1 once again and you are of with a 6GB /opt filesystem for installable applications and some 24 GB partition for myDocs, which will you give enough space for your files.
Well, if you really want go the nokia path again, then follow the instructions in the wki to revert those changes alltogether and apply the old partition table.
How to revert

Warning: /home must have less than 2 GB usage! MyDocs will be deleted!
Code:
umount /home/user/MyDocs
sfdisk -c /dev/mmcblk0 1 83 # optional (safer): change FAT to ext3 id 
mkfs.ext3 /dev/mmcblk0p1 # create ext3 on smaller partition
mount /dev/mmcblk0p1 /mnt # mount new /home
cp -a /home/* /mnt # copy contents of /home to large partition
umount /mnt # unmount it
create the file "table" (this is the original layout):
Code:
unit: sectors
/dev/mmcblk0p1 : start=       64, size= 56631296, Id=c
/dev/mmcblk0p2 : start= 56631360, size=  4194304, Id= 83
/dev/mmcblk0p3 : start= 60825664, size=  1572864, Id=82
/dev/mmcblk0p4 : start=        0, size=        0, Id= 0
continue with
Code:
sfdisk --no-reread /dev/mmcblk0 < table # change partition table, swap p1 and p2
Code:
reboot; exit # reboot to re-read new table
after reboot
Code:
mkfs.vfat -F32 -s64 /dev/mmcblk0p1  # create VFAT on 27GB partition
Code:
mount /home/user/MyDocs # mount it
 

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