View Single Post
eMHa's Avatar
Posts: 44 | Thanked: 29 times | Joined on Nov 2009 @ germany, heidelberg
#64
Originally Posted by 白い熊 View Post
Can you upload your debian rootfs somewhere?
I've had a go at making it with debootstrap, but didn't quite get it done yet...
I've to find a server where i don't have any traffic limitations...

Here's how i have done the debootstrap. On my Debian box:
Code:
debootstrap --arch=armel --foreign lenny /mnt/
Now you could tar and scp /mnt/ to your device or before debootstrap mount a microSD on /mnt/, as i've done and put this microSD into your N900.

On my N900:
Code:
mkdir /var/chroot
mount /dev/mmcblk1p2 /var/chroot/
chroot /var/chroot/
# now you are in the chroot, but you have to complete debootstrap
/debootstrap/debootstrap --second-stage
exit
# out of chroot
cp -a /etc/resolv.conf /var/chroot/etc/
cp -a /etc/hostname /var/chroot/etc/
cp -a /etc/hosts /var/chroot/etc/
After that i rebootet my N900 to be sure no running processes were left in the chroot.

Oh, and i had to configure trackerd to not index /var/chroot/ in /home/user/.config/tracker/tracker.cfg (it sucks a lot of cpu %).

Last edited by eMHa; 2009-12-07 at 20:18.