View Single Post
fw190's Avatar
Posts: 584 | Thanked: 700 times | Joined on Jan 2010
#2945
Originally Posted by pichlo View Post
Code:
# Sample config for chroot 

# Device or image containing Debian filesystem.
# Default: first in /home/user/MyDocs/debian*.img*, /media/mmc1/debian*.img*
# Some examples:
#IMGFILE=/home/user/MyDocs/debian-squeeze-m5.img.ext2
#IMGFILE=/media/mmc1/debian-squeeze-m5.img.ext2
IMGFILE=/dev/mmcblk1p1
#IMGFILE=/dev/mmcblk0p4

# Filesystem used; must always be set when using a partition.
# Default: from extension of IMGFILE, or ext2.
IMGFS=ext3

# Mount point for Debian.
# Default: /debian
CHROOT=/.debian

# New /tmp dir size for printing / PDF creation
# Default: 6M
#TMPSIZE=6M

# Debian user to drop privileges
# Default: user
#DEBUSER=user
Assuming your ext3 partition is mmcblk1p1. Substitute as necessary.
Here is what I did:
-I have ext3 and two swap on my uSD card
-I have downloaded debian-5-chroot-rootfs.tar.bz2
-extracted it to ext3 partition on my sd card (not to a folder - jus on the card)
-I have put the chroot file as you wrote in the apropriate place

While trying to start lxde with icon in menu nothing happens. This means I did something wrong or missed a step or two.

I can start Debian chroot which gives:
Code:
Chroot dir specified: /.debian
/dev/mmcblk1p1 specified in ~/.chroot
Mounting...
using device: /dev/mmcblk1p1
Using ext3 file system
mounting device: /dev/mmcblk1p1
.
..
...
....
mount: mounting /var/run/pulse on /.debian/var/run/pulse failed: No such file or directory
Everything set up, running chroot...
[root@chroot: /]
Also after inserting the card the cpu is running like mad. Could this be the tracker?

Could someone help?
__________________
per ardua ad astra

Last edited by fw190; 2013-06-30 at 17:59.