Reply
Thread Tools
Posts: 53 | Thanked: 2 times | Joined on Apr 2011
#1
Pls, help me. I bought this (n900) telephone thinking that i'm going to install there anything and now after a month I'm trying only to find more than 256MB of memory for unoptified apps without any effect. So do you know any WORKING solution (without changing options on gnumake etc which 'll make life like hell) for fixing these limitations? (at least copying usr somewhere else)(maemo PR1.3)

Be my last hope!

PS: I don't have any microSD-like-card

EDIT: I mean rootfs memory

Last edited by oneat; 2011-05-15 at 18:47.
 

The Following User Says Thank You to oneat For This Useful Post:
JohnLF's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#2
What are you asking for? The physical RAM in the N900 is 256MB, no way around it. the /opt partition is limited to 2Gb.

So what is your problem exactly?
__________________
My websites: -
http://www.lefebvre.org.uk
http://www.lefebvre.ltd.uk
 
Posts: 53 | Thanked: 2 times | Joined on Apr 2011
#3
I want to compile console programs and install them by make (or install unoptified packages) without feeling that sometime every single byte of my usr folder (rootfs partition) will be used up and whole mobile bricked.

Last edited by oneat; 2011-05-15 at 18:58.
 
Posts: 28 | Thanked: 11 times | Joined on Nov 2010
#4
Actually the 256MB rootfs memory is more or less enough.I've done quite a bit of modification with my N900 & I still have 53MB of free space left.

You CANNOT enlarge/repartition or do whatever else to make rootfs bigger.The reason is simple.It's because the rootfs is in special 256MB NAND memory.You can however repartition your eMMC & make your opt/ partition larger so you can install more applications.

P/S:N900 was never marketed by Nokia as "telephone".It's more like internet tablet.
 
Posts: 53 | Thanked: 2 times | Joined on Apr 2011
#5
I dont want opt bigger. I want somehow usr to be mounted somewhere else than rootfs (with data backuped there). However I read that some people failed with that on PR 1.3 and I'm looking for a working solution.

Last edited by oneat; 2011-05-15 at 19:07.
 
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#6
to get more free rootfs
open xterminal and execute what u see here

Code:
root
cd /var/lib/dpkg/info
cp -r /var/lib/dpkg /opt/
rm -r /var/lib/dpkg
ln -sf /opt/dpkg /var/lib/
exit
close
u moved Dpkg folder to Opt

If u want to compile by the N900 u have to add this
Code:
deb http://repository.maemo.org/ fremantle/sdk free non-free
deb http://repository.maemo.org/ fremantle/tools free non-free
at the end of your /etc/apt/sources.list.d/hildon-application-manager.list save it
and execute again
Code:
root
apt-get install python-xdg git-core gcc-4.2 g++-4.2 make grep-gnu python-dev
cd /usr/bin
ln -s gcc-4.2 gcc
ln -s g\+\+-4.2 g\+\+
cd
apt-get install patch diffutils-gnu tar-gnu bzip2 fiasco-gen rdiff
cd /opt/maemo/usr/lib
cp -pr /user/lib/gcc .
cd /user/lib
rm -rf gcc/
ln -s /opt/maemo/usr/lib/gcc gcc
cd 
apt-get clean
apt-get autoclean
apt-get autoremove
apt-get purge
exit
exit
have a nice job
if u want to have more Opt space, u can use Gparted and Backupmenu to mount it as external disk.. Or u can edit the Vanill.bin file with one hex editor changing the values of the MyDocs size and then u have to reflash the new vanilla.. I have 20 giga in the Opt and 10 in MyDocs


I add one screenshot to help u when u'll ready to change the Opt Size directly from the Vanilla.bin file
Attached Images
 

Last edited by santiago; 2011-05-15 at 20:11.
 

The Following 6 Users Say Thank You to santiago For This Useful Post:
zdanee's Avatar
Posts: 311 | Thanked: 376 times | Joined on Nov 2010 @ Hungary
#7
Go get Storage Usage and look up what takes most space on RootFS. Make a new folder in /opt and move the large files there. Be careful, move only if they are rarely used, like flasplayer plugin and such. Once they are in /opt, make symlinks back to their original places. Make a backup before you start messing around, chance is, you will have to reflash. Now would be a good time to install backupmenu as well
How did you manage to make RootFS full BTW? You copied stuff there manually?
 

The Following User Says Thank You to zdanee For This Useful Post:
Posts: 53 | Thanked: 2 times | Joined on Apr 2011
#8
I don't want to have more opt space (doing this is amazingly easy for me). I just want to have something like normal linux where I could be power user. Install thousands of apts by "make, make install" (or unoptified packages which works like make) and not be worried that my memory will vanish in any time. Your answers were very helpful for me, but I need something that would resolve this problem (copying whole root on eMMC or smth like) and not only partially. I bought this mobile instead of buying a new linux computer. Got me?
 
zdanee's Avatar
Posts: 311 | Thanked: 376 times | Joined on Nov 2010 @ Hungary
#9
Originally Posted by oneat View Post
I don't want to have more opt space (doing this is amazingly easy for me). I just want to have something like normal linux where I could be power user. Install thousands of apts by "make, make install" (or unoptified packages which works like make) and not be worried that my memory will vanish in any time. Your answers were very helpful for me, but I need something that would resolve this problem (copying whole root on eMMC or smth like) and not only partially. I bought this mobile instead of buying a new linux computer. Got me?
The real problem is, you have 2 different flash drives in the N900. One is RootFS and is a 256MB fast NAND chip. The other is the 32GB eMMC, partitioned as swap, opt and docs. You have to do with the 256MB RootFS, but you can make symlinks to wherever you want. I usually copy my source codes to /usr/src on my linux box, it is an empty folder in N900, so go ahead, and link it to /opt. There, problem solved After building your stuff, if they are big, move them to /opt. You only need to get a bit organized, you still can do anything with a 256MB RootFS.

You can try and install Ubuntu or the new Backtrack5 if you are not gonna use this as a phone. They install to eMMC, so you can mess up those RootFS as you please

Last edited by zdanee; 2011-05-15 at 20:37.
 
Posts: 53 | Thanked: 2 times | Joined on Apr 2011
#10
Ok I give up. I'll make symlinks from /usr/bin to /home/usr and more. Thanks for every idea. Do you know any guide for installing ubuntu on emmc ? I tried this one but booting from emmc failed.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:00.