I'm quite sure that this worked in the old Estel image though, without copying the file..
| The Following 3 Users Say Thank You to HolgerN For This Useful Post: | ||

. As for running native partition vs loopback image - there is *much* benefit of doing so. Currently, You're not gaining (almost) anything over keeping image file in vfat. If You actually have files on partition, natively, You're benefiting running whole (Easy) Debian natively (chroot = native). Getting files out/to loopback image is second biggest bootleneck, next only to low amount of RAM.| The Following User Says Thank You to Estel For This Useful Post: | ||
#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
| The Following User Says Thank You to impeham For This Useful Post: | ||