[Android Q&A, Help & Troubleshooting] droidshadow:
How to Get Complete Linux Installer working on Verizon SGS3 on Android 4.3

Hello everyone,

So i among many other people have been getting permission denied errors after updating my Verizon SGS3 from 4.1.2 to 4.3.

Here is a small snippet of the error I was getting:

Checking loop device... FOUND

mount: mounting /storage on /data/local/mnt/external_sd failed: Invalid argument

No user defined mount points

net.ipv4.ip_forward = 1

chroot: can't execute '/root/init.sh': Permission denied

Shutting down Linux ARM

umount: can't umount /data/local/mnt/external_sd: Invalid argument

The first thing I tried was removing or renaming the busybox file that is inside the /data/data/com.zpwebsites.linuxonandroid/files directory. I would rename busyboxy to b.backup and this would force the bootscript.sh to use the busyboxy executable from the /system/xbin/busybox which you can only get from installing busyboxy separately from the Google Play Store.

When i renamed busybox i was able to boot into Linux from "Complete Linux Installer" aka LoA (Linux on Anroid) but when i tried to manual start the vncserver and i tried booting into the vncserver with the app "androidvnc" i got the infamous grey screen. So i was about to give up until I found this post by another xda member -> k3v0. Now he gives a link to another bootscript which is for ext4 image files,

which the ubuntu 13.10 image file is (the exact ubuntu 13.10 download from complete linux installer).

Here is a link the xda post -> http://xdaforums.com/showthread.php?t=2161234&page=26

Now here is a link to his bootscript. -> https://www.dropbox.com/s/bufystcvjf2dzyj/bootscript.sh

So what i did next was open up the app

"root explorer"

and go into the /data/data/com.zpwebsites.linuxonandroid/files directory and change the bootscript.sh file to bootscript.txt or whatever. Now download the bootscript.sh script from the link above and move it into the /data/data/com.zpwebsites.linuxonandroid/files directory.

Now after I did that i rebooted my phone because I tried this script w/o a reboot and while it worked i noticed my phone when connecting to the vnc server was a bit unstable. After your phone is done rebooting, load up the LoA app and go into launch, and launch Ubuntu 13.10 and you may have to start the vnc server manually.

To start vnc server manaully do this command: "tightvncserver -geometry 800x400 -depth 24"

Now this will start your VNC Server at Port 5901.

So make sure that you adjust your androidvnc app so that you change the vnc port being used from 5900 to 5901.

After that just connect to the VNC Server from your AndroidVNC app and all should be fine! I am going to do some more testing with this because this is the first time I have been able to get Linux on Android working on my Verizon Samsung Galaxy S3 and S4 since the Android 4.3 update.

Next thing I am going to do is edit the bootscript shell script so that it can identify my external sdcard at /storage/extSdCard not external_sd. Many people have posted fixes on this issue and I can't want to try it out and see if it works. If it does work I will be sure to edit this post and include those details here.

First let me thank the k3v0 and all developers for their continued hard work on this project and giving us all something we love, Linux on Android!

I will be also writing future posts as i try out this new bootscript with Kali Linux and Debian Linux. This is where having a 64GB SDCARD comes in handy! Wish me luck on getting at least Kali Linux working!!