View Single Post
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1343
Originally Posted by marmota View Post
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!
I'm afraid you mixed something up. If you really did the above, you haven't transferred the files to your memory card, but into /opt, which is residing actually within /home.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 

The Following User Says Thank You to rebhana For This Useful Post: