Latest revision |
Your text |
Line 55: |
Line 55: |
| | | |
| Note - you want to retain the swap on your eMMC in the case where you need to remove your SD card ; otherwise your N900 will get upset. | | Note - you want to retain the swap on your eMMC in the case where you need to remove your SD card ; otherwise your N900 will get upset. |
- |
| |
- | === Disabling eMMC Swap on boot ===
| |
- |
| |
- | sfdisk -c /dev/mmcblk0 3 0
| |
- |
| |
- | === Enabling eMMC Swap on boot ===
| |
- |
| |
- | sfdisk -c /dev/mmcblk0 3 82
| |
- |
| |
- |
| |
- | === Example /etc/fstab ===
| |
- |
| |
- | Nokia-N900:~# cat /etc/fstab |grep swap
| |
- | /dev/mmcblk1p2 none swap sw 0 0
| |
- | Nokia-N900:~#
| |
- |
| |
- | == I hate FAT32 - and you should too ==
| |
- |
| |
- | Let's be honest here. What use is FAT32? Unless you are lumbered with a Windows machine and *absolutely* have to be able to mount your N900. Infact - don't do that. Set up USB networking and transfer files by SSHD (FileZilla or something similar). It's utter guff.
| |
- |
| |
- | Change MyDocs to ext3. While you are at it, change your sdcard to ext3. Even ext4 if you like! LVM is pushing the boat, but don't imagine for a minute somebody hasn't tried it.
| |
- |
| |
- | Note that ext4 has been shown to be a little bit faster ; but I'm still a touch wary, so I'm sticking with ext3. What we need to do is tell the N900 that we're cool with ext3, via it's mmc-mount suite. The following talk thread has the details:
| |
- |
| |
- | http://talk.maemo.org/showthread.php?t=73478
| |
- |
| |
- | The appropriate bits we want are:
| |
- |
| |
- | sed -i '1d' /usr/sbin/mmc-mount
| |
- | echo -e '#!/bin/sh\ncase "$(sfdisk -c $(echo $1 | cut -c1-12) $(echo $1 | cut -c14))" in\n 43|83)\n mount -t auto -o $3,noauto,nosuid,noatime,nodiratime "$1" "$2" > /dev/null\n ;;\n *)\n '$(cat /usr/sbin/mmc-mount)'\n ;;\nesac' > /usr/sbin/mmc-mount
| |
- | sed -i 's/\(| 1e\)/\1 |43|83/' /usr/sbin/osso-mmc-mount.sh
| |
- | umount /home/user/MyDocs
| |
- | sfdisk -c /dev/mmcblk0 1 43
| |
- | mkfs.ext3 -m 0 -L "Nokia N900" /dev/mmcblk0p1
| |
- | osso-mmc-mount.sh /dev/mmcblk0p1 /home/user/MyDocs
| |
- | chown -R user:users /home/user/MyDocs
| |
- |
| |
- | == Manually Adding Catalogues to HAM / apt ==
| |
- |
| |
- | I like Faster Application Manager a lot, but I also like apt and it frustrates me that I can't have access to apt via the usual method.
| |
- |
| |
- | Adding catalogues to HAM is easy enough though. The following, saved as a file extras.install will, when loaded through file manager, will launch in HAM and add the repos to your system. Danger though - here be dragons. If you don't know what you are doing, you don't know what you are doing.
| |
- |
| |
- | <pre>
| |
- | [catalogues]
| |
- | catalogues = extras-testing ; extras-devel
| |
- |
| |
- | [extras-testing]
| |
- | name = maemo Extras Testing catalogue
| |
- | uri = http://repository.maemo.org/extras-testing
| |
- | dist = fremantle
| |
- | components = free non-free
| |
- |
| |
- | [extras-devel]
| |
- | name = maemo Extras Development catalogue
| |
- | uri = http://repository.maemo.org/extras-devel
| |
- | dist = fremantle
| |
- | components = free non-free
| |
- | </pre>
| |
- |
| |
- | Better option - install FAPMAN and work from the very sexy gui.
| |