View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#282
Looks good so far, before carrying on assure yourself that it worked
Code:
df
Read the desired size for /home, aka optfs. But you have to apply a new partition table, because having MyDocs in the first partition is somehow hardcoded in Maemo.
Now after you are assured carry on with first
Code:
sudo gainroot
followed by this one command over these 5 lines
Code:
echo "unit: sectors
> /dev/mmcblk0p1 : start= 56631360, size= 4194304, Id= c
> /dev/mmcblk0p2 : start= 64, size= 56631296, Id=83
> /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82
> /dev/mmcblk0p4 : start= 0, size= 0, Id= 0" > table
It parses the text between the "" to the file named table. Then apply the table to your device
Code:
sfdisk --no-reread /dev/mmcblk0 < table
Now reboot again to make that partition setup known to the kernel
Code:
reboot
After reboot carry on with creating the filesystem for MyDocs partition and mount it
Code:
sudo gainroot
mkfs.vfat -F32 -n MyDocs /dev/mmcblk0p1
mount /dev/mmcblk0p1 /home/user/MyDocs
Voila, your done!
 

The Following 2 Users Say Thank You to michaaa62 For This Useful Post: