![]() |
2012-04-22
, 11:22
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2692
|
![]() |
2012-04-22
, 12:22
|
Posts: 25 |
Thanked: 9 times |
Joined on Sep 2010
|
#2693
|
![]() |
2012-04-23
, 08:13
|
Posts: 131 |
Thanked: 241 times |
Joined on Feb 2012
|
#2694
|
The Following 3 Users Say Thank You to HolgerN For This Useful Post: | ||
![]() |
2012-04-30
, 17:30
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#2695
|
![]() |
2012-04-30
, 22:59
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2696
|
![]() |
2012-05-01
, 05:50
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#2697
|
![]() |
2012-05-01
, 17:30
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#2698
|
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2012-05-01
, 19:45
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#2699
|
#Any external devices echo ... >/dev/stderr if [ `echo $CHROOT | grep '/media/mmc'` = $CHROOT ]; then # We are using directory on eMMC or on SD card so skip our partition from mounting MNTPART=`echo $CHROOT | cut -f 3 -d /` MNTD=`cat /proc/mounts | grep -v /media/$MNTPART | grep ' /media/' | awk '{print $2}'` else MNTD=`cat /proc/mounts | grep ' /media/'|awk '{print $2}'` fi for MDRV in $MNTD ; do echo Mounting $MDRV if [ ! -d "$CHROOT$MDRV" ] ; then mkdir -p "$CHROOT$MDRV" fi mount -o bind "$MDRV" "$CHROOT$MDRV" done
![]() |
2012-05-02
, 07:45
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#2700
|
mount (empty) partition, mount image file as loopback (mount -o loop <imagefile>, if I recall correctly), then cp -a content of the latter to the former.
then, You need to modify .chroot file, pointing it to partition, instead of image file (refer to Easy Debian wiki for instructions about that).
/Estel
// edit
As for backing it up to image file, You just revert whole process - mount Your file (clear files there, if it's not empty), cp -a everything from partition into file.
The Following User Says Thank You to impeham For This Useful Post: | ||
![]() |
Tags |
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze |
|
Note that the relevant file /home/user/.xbindkeysrc does not reside in the Debian image but in the home directory.
Should I move it in to the chroot or is there something missing in Estels image?
EDIT:
I have tried to move it in to the chroot and now the keybindings works!
Last edited by Wille_W; 2012-04-22 at 10:46.