1) I created a new partition in the sd card 2) I mounted the current Debian image with the command Code: qmount /path/to/currentimgfile /debian 3) I mounted the new formatted partition Code: mount /dev/mmcblkxxx /floppy 4) I copied the content of /debian to the partition And here is where my problems started. The commands provided in the previous post are: Code: cd /debian /home/user/img-install/ tar cf - . | (cd /opt/; tar xvf -) Unfortunately I got errors (not able to access) the directory /home/user/img-install/ I thus run only the command Code: tar cf - . | (cd /opt/; tar xvf -) However I have some questions: Is it using /home/user/img-install/ because it is the directory where the image was installed? Are there (in /home/user/img-install/) files needed in the partition? 5) restart device: I did so and the device was almost bricked. I had to remove the sd card before being able to restart the N900. I reinserted the sd and 6) Edit the /home/user/.chroot changing the IMGFILE to the partition where the files are And easy debian started with 2 more gb free!
qmount /path/to/currentimgfile /debian
mount /dev/mmcblkxxx /floppy
cd /debian /home/user/img-install/ tar cf - . | (cd /opt/; tar xvf -)
tar cf - . | (cd /opt/; tar xvf -)