Thread
:
How to upgrade the internal memory by extending the root filesystem to a memory card
View Single Post
Wolfram Ravenwolf
2006-02-02 , 21:37
Posts: 11 | Thanked: 0 times | Joined on Jan 2006 @ Germany
#
32
Since partitioning the memory card is the hardest step in extending the root filesystem, I'm trying to automate this process as well. Here's my first attempt. You'll require the "sfdisk" program which is part of the "util-linux" Ubuntu package (installed by default!) but probably available for other GNU/Linux distributions as well.
Connect the Nokia 770 to your Linux computer. Make sure the memory card's partition is auto-deteced but not mounted. If it's auto-mounted, unmount it. I'll use /dev/sda to refer to the memory card, but if it's a different device on your system, substitute it accordingly.
Code:
sfdisk /dev/sda -uM << EOF ,64,6 ; EOF mkfs.vfat /dev/sda1 mkfs.ext3 /dev/sda2
With this set of commands (run as root - I recommend copy & paste!) you repartition the memory card (/dev/sda) so there's a 64 MB VFAT partition and the rest of the card space is allocated to the Extended Root Filesystem.
Please give this a try and report back how it worked for you - then I'll add it to the HOWTO.
__________________
Wolfram Ravenwolf
Nokia 770 Blog
Quote & Reply
|
Wolfram Ravenwolf
View Public Profile
Send a private message to Wolfram Ravenwolf
Find all posts by Wolfram Ravenwolf