User:Tanner
(add procedure) |
(package section) |
||
| Line 1: | Line 1: | ||
| - | = | + | = Packages = |
| + | info about some of the packages I've uploaded | ||
| + | == TeXLive == | ||
| + | [http://talk.maemo.org/showthread.php?t=42087 talk page] | ||
| + | |||
| + | == R (statistics) == | ||
| + | |||
| + | == numpy, scipy, sympy == | ||
| + | |||
| + | [http://talk.maemo.org/showthread.php?t=33020 some discussion] | ||
| + | |||
| + | == bonnie++ (filesystem benchmarks) == | ||
| + | see [http://talk.maemo.org/showpost.php?p=504332&postcount=76 post and ff] | ||
| + | |||
| + | ---- | ||
| + | = Tips and tricks: = | ||
| + | |||
| + | == alternative USB host solution == | ||
| + | |||
| + | [http://talk.maemo.org/showthread.php?t=41870 USB/IP] | ||
== Repartitioning == | == Repartitioning == | ||
| + | [https://maemo.org/community/brainstorm/view/more_efficient_and_flexible_use_of_internal_flash brainstorm] | ||
| + | [http://talk.maemo.org/showthread.php?t=37869 brainstorm discussion] | ||
| + | [http://talk.maemo.org/showthread.php?t=35122 repartitioning thread] | ||
| + | |||
| + | [http://talk.maemo.org/showpost.php?p=424811&postcount=66 how to swap FAT and ext3 parition] | ||
| + | [http://talk.maemo.org/showpost.php?p=425359&postcount=68 how to implement USB mass storage with a loopback file] | ||
== Reflashing & Restore == | == Reflashing & Restore == | ||
Revision as of 20:47, 1 February 2010
Contents |
Packages
info about some of the packages I've uploaded
TeXLive
R (statistics)
numpy, scipy, sympy
bonnie++ (filesystem benchmarks)
see post and ff
Tips and tricks:
alternative USB host solution
Repartitioning
brainstorm brainstorm discussion repartitioning thread
how to swap FAT and ext3 parition how to implement USB mass storage with a loopback file
Reflashing & Restore
this is a slightly modified version of the script I use to restore my N900 after a reflash. My reflashing procedure is:
- use Backup and store everything on SD card
- reflash with standard http://wiki.maemo.org/Updating_the_firmware, i.e.
sudo flasher-3.5 -F RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin -f -R
- restore old backup except programs
- install gainroot
- in Terminal:
sudo su - /home/backup/restore
with following script in /home/backup (feedback and patches are welcome). It excepts that did a backup of /root and your selected modified files (e.g. /etc/ssh) in /home/backup. the file minimal should contain a list (line by line) of the package names you want to install.
#!/bin/sh
# N900 restore script
# © 2010 by Thomas Tanner <tanner@maemory.com>
# licensed under GPLv3
set -x
# script and data must be in /home/backup
cd /home/backup
# remove old opt
rm -rf /home/opt
mkdir /home/opt
# copy /root backup
rm -rf /root
cp -a root /
# copy modifed files for /etc
cp -a etc/* /etc
# enable user ssh login with ~/.ssh/authorized_keys
sed 's/^user:!/user:\*/' /etc/passwd > /etc/passwd.tmp
cp /etc/passwd.tmp /etc/passwd # mv
# move root stuff to /home
dirs="usr/share/icons usr/share/nokia-maps usr/share/themes usr/share/fonts usr/share/locale usr/lib/locale var/lib/apt"
#optional: var/lib/dpkg
if test -d /home/var/cache/apt; then
# keep existing apt cache
rm -rf /var/cache/apt
ln -s /home/var/cache/apt /var/cache/apt
else
dirs="$dirs var/cache/apt"
fi
(cd / && du -sc $dirs)
for d in $dirs; do
test -L /$d && continue
echo moving /$d
rm -rf /home/$d
mkdir -p /home/$d
cp -a /$d /home/$d/..
rm -rf /$d
ln -s /home/$d /$d
done
mount /home/user/MyDocs # non-standard partition layout
apt-get update
apt-get -y install mc python-support openssh-server
# install my standard set of packages
apt-get -y install `cat minimal`
