Reply
Thread Tools
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#1
I've seen a number of people recently who need to resize their n900's eMMC. This is typically a long and strenuous process involving removing all data and messing with partition tables.

If we had Parted from Debian on the n900, it would solve a lot of problems: parted seems to be able to automatically resize partitions on-the-fly. Put together with a shell-script or two, and resizing could be as easy as "./resize-optfs.sh 4096". -Much- easier than current methods.

I've looked at Parted on Debian, and Lenny's version looks like it would almost work - It requires libc6 v2.7-1(we have 2.5-1), libgcc1 V1:4.3(we have V1.4.2-1), and libparted(which has the same dependancies).
I'm thinking a simple recompile and uploads to extras-devel is in order; I'm just not sure how to do it.

If someone else wants to do this, I'd be greatfull - I'd also be happy if someone was willing to show me how to do it myself.

Thanks,

-Rob
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 

The Following 3 Users Say Thank You to RobbieThe1st For This Useful Post:
MaddogG's Avatar
Posts: 234 | Thanked: 175 times | Joined on Jun 2010 @ Genova (Italy)
#2
Originally Posted by RobbieThe1st View Post
I've seen a number of people recently who need to resize their n900's eMMC. This is typically a long and strenuous process involving removing all data and messing with partition tables.

If we had Parted from Debian on the n900, it would solve a lot of problems: parted seems to be able to automatically resize partitions on-the-fly. Put together with a shell-script or two, and resizing could be as easy as "./resize-optfs.sh 4096". -Much- easier than current methods.

I've looked at Parted on Debian, and Lenny's version looks like it would almost work - It requires libc6 v2.7-1(we have 2.5-1), libgcc1 V1:4.3(we have V1.4.2-1), and libparted(which has the same dependancies).
I'm thinking a simple recompile and uploads to extras-devel is in order; I'm just not sure how to do it.

If someone else wants to do this, I'd be greatfull - I'd also be happy if someone was willing to show me how to do it myself.

Thanks,

-Rob
http://metalab.at/wiki/Hack-A-N900/R...vfat_partition

I didn't try yet...
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#3
That's a decent tutorial, but I'm probably going to need a couple of different commands to make a deb package and upload it..
It's good to know that it's possible though.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
MaddogG's Avatar
Posts: 234 | Thanked: 175 times | Joined on Jun 2010 @ Genova (Italy)
#4
Originally Posted by RobbieThe1st View Post
That's a decent tutorial, but I'm probably going to need a couple of different commands to make a deb package and upload it..
It's good to know that it's possible though.
I will try with scratchbox this evening (now I'm @work T T ).
After parted, I would also like to try with gparted...
 
Posts: 126 | Thanked: 56 times | Joined on Apr 2010
#5
while getting stuck at formating ext3 for android installation i was wondering the same as wether why gparted is not available. we badly need a gui based partition editor !
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#6
I normaly use Gparted to format my n900.. just connect it to the computer usb. Works flawlessly. Those without linux can do it with a livecd.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 
WereCatf's Avatar
Posts: 255 | Thanked: 160 times | Joined on Oct 2010 @ Finland
#7
Compiling parted should not be difficult, it's all rather standard code. AFAIK it should not require much more than just recompiling for ARM.
__________________
HAND, n.
A singular instrument worn at the end of the human arm and commonly thrust into somebody's pocket.
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#8
Originally Posted by AlMehdi View Post
I normaly use Gparted to format my n900.. just connect it to the computer usb. Works flawlessly. Those without linux can do it with a livecd.
It's a little hard to -resize- partitions that way when you can't see them! The USB mode only exposes the MyDocs partition - Not any of the others.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
MaddogG's Avatar
Posts: 234 | Thanked: 175 times | Joined on Jun 2010 @ Genova (Italy)
#9
Originally Posted by AlMehdi View Post
I normaly use Gparted to format my n900.. just connect it to the computer usb. Works flawlessly. Those without linux can do it with a livecd.
What about internal memory? I have two ext3 partitions that cannot be reached from pc (maybe someday I will find a way to expose these partitions as usb drives, like MyDocs...).
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#10
Originally Posted by MaddogG View Post
What about internal memory? I have two ext3 partitions that cannot be reached from pc (maybe someday I will find a way to expose these partitions as usb drives, like MyDocs...).
The actual configuration of which files to share is done by the script /usr/sbin/osso-usb-mass-storage-enable.sh, which is called from ke_recv binary with a parameter that tells it what to share.

You can easily change this script to actually share /dev/mmcblk0 when the parameter is /dev/mmcblk0p1, so it will share the whole device.

Note that this won't work if you use the other partitions, which you actually do unless you made some serious changes to your system.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 

The Following 3 Users Say Thank You to Matan For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 15:33.