[Android Q&A, Help & Troubleshooting] robherc:
OK, from that, I'm going to say it looks like your bootscript.sh script isn't being called.

The "normal" output I get for those lines in Terminal (on a Lenovo S6000 running updated, rooted stock ROM) look like:

try the following commands from your terminal, starting from the root@deb:/ line your install seems to be hanging on:

chmod 755 /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh
exit
exit

Then try booting your image from within the linuxonandroid app again & see if it progresses further. (then let us know how it goes, please :)

---------- Post added at 11:12 AM ---------- Previous post was at 10:44 AM ----------

1) The bootscript.sh script failed to find your external SD card during the mount portion of the script. That's not unusual, only a few devices appear to be supported so far, I had to re-write bootscript.sh myself to autodetect image filesystem type (I used an ext4 image), and to detect the Lenovo IdeaTab directory where external sd cards get mounted. I see you gave your directory later in your post as /storage/extSdCard so I'll add that into the search function of my bootscript.sh script, then upload and post a link.

2) You didn't post the line, but I'm guessing from the line you *did* post "chroot: can't execute '/root/init.sh': Permission denied" that you also had a mount error for mounting your image file.

If you're having trouble with needing to start the vnc server manually, go into the directory (from android, with linuxonandroid NOT running) where your .img file is and delete the .config file. This will get the init.sh script to prompt you for vnc server and ssh server startup info again next time you boot your image.

Also, since you had issues with your first install attampe, I'd recommend once your linux is running, deleting the DONOTDELETE.txt file in the linux /root/ directory. This will tell the init.sh script inside the image to tke another shot at configuring the system settings too.

NOTICE: I found a typographical error in the init.sh script from the ubuntu-13.04.SMALL.ext4.img image. The line chown ubuntu /external-sd/ needs changed to: chown ubuntu /external_sd/ or your init.sh script will throw an error on initial config, and you may not get access to your SD card from linux. Also, if you get an error about "group admin does not exist" during first boot after deleting DONOTDELETE.txt you'll need to add groupadd -g 3005 admin to the init.sh script right under the line that reads groupadd -g 3004 android_net-raw

I'll add a couple lines to my "fixed" bootscript.sh script to detect your SD card properly, then post a link. FYI: external_sd is where bootscript.sh link mounts your sd card so you can see it from within the chroot'ed linux. After you chroot into linux, you can't see /storage/.... anymore, because /data/local/ becomes your chroot'ed / directory.

_________________________________________________________________

Ok, now I have the bootscript.sh file modified to locate your external sd card, and uploaded it to:

robherc . com/hosted/linuxonandroid/bootscript.sh

I also uploaded my "fixed" version of init.sh (from the /root/ directory inside the ubuntu image) to:

robherc . com/hosted/linuxonandroid/init.sh

Let me know how these work out for you please. If there are any continuing errors, I'll be glad to update these scripts to be fully portable on any device(s) I can.

---------- Post added at 11:46 AM ---------- Previous post was at 11:12 AM ----------

Sorry for the obscure links, but when slatedroid got eaten by xda my old login went away, so now I'm starting at 0 posts again, and not "allowed" to post links....:eek: