PDA

View Full Version : Is it possible to change the install directory to internal card?


ghoonk
01-03-2008, 01:56 PM
I've just realised that I am rapidly running out of space on my N800 and a quick check has revealed that OS2008 is installing my apps to the N800 memory (256MB) instead of to my 16GB SDHC (internal) or to the 128MB external memory card.

Is there any way to change the default installation directory?

free
01-03-2008, 02:03 PM
man dpkg
--instdir=dir
Change default installation directory which refers to the directory where packages are to be installed. inst‐
dir is also the directory passed to chroot(2) before running package’s installation scripts, which means that
the scripts see instdir as a root directory. (Defaults to /)


So I guess you can do it like this:
dpkg --instdir=/path/ -i blabla.deb

demoncamber
10-26-2008, 02:52 PM
Ok lately i've been gettin the dreaded "Internal memory card full" message or whatever it says exactly...

Anyway, when I look, I have plenty of space on my internal 2gb card (mmcblk0), the other smaller partition (rootfs) is 98% full and my sdhc (mmcblk1) card has plenty of room as well. I need to figure out how to change the default install directory or change the partition size.

Could someone please let me know exactly how to do this, i'm a noob so I don't know all the lingo yet with xterm and all that. However what I would like to do is somehow change the default install dir to the internal 2gb card and stop it from using the smaller partition that is now out of space.

thanks

Krystan
10-29-2008, 09:48 PM
There is two solutions:
- The complicated way: Extend the internal memory (256MB) to one of the SD Card. Explained in the Wiki.
- The simple way: Boot from the SD Card so all applications (and the system) are on the SD Card. Penguinbait has made this solution extremly easy with a .deb that does all the job. See the post "Clone OS to SD Deb!! Boot from SD made EASY!! "

GeneralAntilles
10-30-2008, 01:47 AM
The correct answer to these questions is always either:

A. Delete stuff you don't need to free up space, or
B. Follow these instructions: https://wiki.maemo.org/Booting_from_a_flash_card

"Extend the internal memory to a flash card" is never the correct answer. ;)

tz1
11-08-2008, 01:42 PM
Check your MyDocs directory from /home/users. If you put audio and video, PDFs, and such you can rapidly fill the internal flash. Most of these can be moved to the external card.

Look for the amount of memory used by the various apps (Application Manager). It might be one or two fat ones, and there may be ways of reducing the usage.

Look for skins or themes or other things in apps you might not need.

Beyond that, if you hack, look for large files which might not be needed or caches which haven't been emptied (e.g. apt-get clean, check /var/log and other things in /var). Don't delete anything if you don't know what it does.