fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.1k stars 110 forks source link

JuNest on Android #119

Open theoden8 opened 9 years ago

theoden8 commented 9 years ago

Tried to install on my Android. No such file: https://dl.dropboxusercontent.com/u/42449030/junest/junest-armv71.tar.gz aswell as no ARCH variable defined (used uname).

fsquillace commented 9 years ago

JuNest has still not fully tested on Android. The script should set the variable ARCH as arm.

Do you know what the command uname -m returns?

The correct link for the image is:

https://dl.dropboxusercontent.com/u/42449030/junest/junest-arm.tar.gz
theoden8 commented 9 years ago

I didn't know that. Everything fails eventually when trying to do:

chmod +x junest jchroot
chmod: junest: Operation not permitted.
chmod: jchroot: Operation not permitted.

Ehh!

fsquillace commented 9 years ago

Did you have chance to run uname -m? I am wondering what you get from that command.

The fact that the operation is not permitted might be because those file are owned by a different user. Can you type:

whoami
ls -l junest
theoden8 commented 9 years ago
uname -m
armv71

whoami
unknown uid 10135

cd .junest/bin
ls -l junest
----rwxr-x 1 1000 1015 7434 <date> junest 

The folder location is my SD card.

fsquillace commented 9 years ago

Ok, the architecture looks ok. The problem seems to due to the fact that your current user (10135) is different from the owner of junest (1000).

Also, ~/.junest is usually the directory where the JuNest image should be located. So, if you are installing JuNest by cloning the repository it would be better to place the junest script elsewhere, for instance ~/junest .

fsquillace commented 9 years ago

I am planning to try using JuNest on Android by myself as soon as I get my Android phone working again :) it is getting too slow and I might need to reset it.

theoden8 commented 9 years ago

I failed to use wget, curl or even firefox do download the repository. So, I just pulled my microSD and cloned the repo on my computer. As for ~/.junest location, I don't believe I have enough space for it on internal memory.

fsquillace commented 9 years ago

That probably means the wget and curl are not available there. I need to create a tutorial which will explain how to get JuNest in Android.

theoden8 commented 9 years ago

Not exactly, I did have either through Terminal IDE program. Both just throw SSL_CERTIFICATE error or something related.

fsquillace commented 9 years ago

Will work on this for the next months. An interesting reference for a Debian image on Android that might be useful: https://play.google.com/store/apps/details?id=com.cuntubuntu

fsquillace commented 8 years ago

Few useful references for creating the app. Can be actually useful once the proof of concept will be completed.

Also, please join the group if you want to discuss the way the proof of concept should be done.