Hmm. Out of curiosity I tried cd /home/user/ubuntu ./chrootubuntu /home/user/MyDocs/specific-image-name-because-i-have-more-than-one. As expected I get the message chroot is not supposed to handle that file. Code: Everything set up, running chroot... chroot: cannot execute /home/user/MyDocs/ubuntu-m5-v1.img.ext2: Permission denied ~/ubuntu $ Why donīt you simply edit the ubuntu file and change the image location there? Edit: confirmed I just moved the ubuntu image with the standard file manager to my sd card, changed the location in /ubuntu/chrootubuntu and it works without problems at first sight.
Everything set up, running chroot... chroot: cannot execute /home/user/MyDocs/ubuntu-m5-v1.img.ext2: Permission denied ~/ubuntu $
./ubuntu: line 9: /media/mmc1/ubuntu/chrootubuntu: Permission denied ./ubuntu: line 12: /media/mmc1/ubuntu/chrootubuntu: Permission denied
if [ "x$UBUNTUIMG" = "x" ] ; then UBUNTUIMG="`ls -1 /media/mmc1/ubuntu*.img* | head -1`" fi if [ "x$UBUNTUCHROOT" = "x" ] ; then UBUNTUCHROOT="/.ubuntu" fi if [ ! -d "$UBUNTUCHROOT" ] ; then sudo mkdir $UBUNTUCHROOT fi sudo qchroot $UBUNTUIMG $UBUNTUCHROOT "$@"