View Single Post
Posts: 8 | Thanked: 4 times | Joined on Nov 2009 @ The Netherlands
#104
Guide to using a partition instead of an image file

version 0.1

These are the steps I followed to get things working:

- First, make a backup with the backup tool in case you screw up things.
- Refuel your battery before starting
- Clean up your "MyDocs" folder a bit; in other words (re)move (big) user files/folders (like mp3, video). This will speed up the process in step 1 dramatically.

Hint: cd to /home/user/MyDocs and type in "du . -hs". This will tell you how big the MyDocs folder is. 1GB took me ~40mins to copy to the SD card.

Step 1
Create the partition (/dev/mmcblk0p4): Follow the steps in this article: http://talk.maemo.org/showthread.php...333#post434333

Note1:
Make first a folder named ".debian" in the root (mkdir .debian). You will use this folder to mount the newly created partition to.
Above article mentions "/debian" but use "/.debian" in order to avoid the maemo tracker-indexer process indexing this partition.
Note2:
Download the file "debian-m5-v2-rootfs.tgz" instead of the one named in the mentioned article (thats an older one). If you don't have "wget" already install it with "apt-get install wget". To speed things up; it is even better to start downloading this tar immediatly to your pc and copy it over to your device using scp/winscp/usb cable.
Note3:
Be warned! The download can take >1hour. The extraction takes about 20-30 mins! Check your battery level before starting!

Step 2
Install the package "easy-deb-chroot" using the application manager on the device. This will install the package "easy-chroot" too.

Step 3
After installation of "easy-deb-chroot" modify the .chroot config file. Open up your terminal and modify the /home/user/.chroot config file.
Uncomment line: IMGFILE=/dev/mmcblk0p4
Uncomment and modify line to "ext3": IMGFS=ext3

Step 4
Test it! Commandline or GUI.

Commandline: Open up a terminal and execute: debbie oowriter

GUI: Go to the app list on the device. After installation of "easy-deb-chroot" you will find a bunch of new icons here like: "Close Debian", "Debian Chroot", "Debian LXDE" etc. Touch the icon "Iceweasel Web Browser". This will start Iceweasel (Firefox).

Step 5
Read Qole's blog about using the scripts provided by the "easy-chroot" package: http://qole.blogspot.com/2009/03/eas...for-maemo.html

Last edited by murat; 2009-12-23 at 20:54.
 

The Following 2 Users Say Thank You to murat For This Useful Post: