View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#50
Unmount MyDocs for safeties sake
Code:
Umount /home/user/MyDocs
Make the second partition to contain a fresh file system
Code:
mkfs.ext3 -L home /dev/mmcblk0p2
Mount the new filesystem
Code:
mount /dev/mmcblk0p2 /mnt
Copy the content of /home
Code:
cp -a /home /mnt
Unmount the new partition after the copying is done
Code:
umount /mnt
Create a new partition table with this command (everything in this box is just one command)
Code:
echo "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" > table
Write the new partition table to the device
Code:
sfdisk --no-reread /dev/mmcblk0 < table
Now reboot the phone

After the next start make a fresh file system for MyDocs
Code:
umount MyDocs
mkfs.vfat -F32 -s64 -n MyDocs /dev/mmcblk0p1
Mount MyDocs
Code:
mount /dev/mmcblk0p1 /home/user/MyDocs
If errors occur please post the full message, don't panic, may be the Nokia folks did some extra tweak which have to get reverted also.
 

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