Did you mount a ubuntu filesystem to a running android-x86 system,
or conversely?
If the former, you should issue
chroot /system/ubuntu /bin/sh
2012/2/6 Fragile Avatar <fragile...@gmail.com>:
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Why do you do that?
We already have busybox.
I believe the busybox downloaded from Market
is an arm binary, surely does not work on android-x86.
> In terminal, I try and execute the commands above in my first post to
> start a new chroot but it keeps saying operation not permitted or
> denied.
> Perhaps the Android-x86 kernel is missing something that chroot needs?
No, that's definitely your problem.
Have you tried my command?
* install ubuntu to sda1
* install android-x86 to sda2
* boot to android-x86
* open a terminal, type
mkdir /data/ubuntu
busybox mount /dev/block/sda1 /data/ubuntu
chroot /data/ubuntu /bin/sh
That's all.
What Fragile missed is he didn't specify the shell
to be used in chroot, so /system/bin/sh is called.
This doesn't exists in an ubuntu filesystem, of course.
To be honest, I didn't try ubuntu.
I tried fedora (14).
Actually I can even run X window inside android-x86,
and switch between android ui and X window by vt.
But only one can be accelerated.
2012/2/6 <rinaldo....@gmail.com>:
> If you want to chroot ubuntu from android... You can do it...
> I have done it with linux mint, and think if I can compile driver from it, but many people say it can't, so I given up...
> Here is what I did...
> For example :
> sda1 = ubuntu
> sda2 = android...
> I just do it as simple as I can...
> Forget about busybox installer, it is useless for android-x86, and maybe will crash it.
> First, just mount ubuntu as data partition on android, just set DATA=sda1 on grub ...
> Then, go to androlinux.com. Download files needed to install ubuntu on another phone, but forget ubuntu.img inside ubuntu.zip. If you have a slow internet, you can move to windows box, download free download manager from freedownloadmanager.org, and download the zip from androlinux.com and when it ask to open the zip, just open it, but don't download ubuntu.img...
> Then open bootubuntu with gedit. You must change something...
> 1. Delete every part that tell to mount ubuntu.img
> 2. Replace everything called /data/local/ubuntu to /data
> Then run ubuntu.sh. It will copy bootubuntu to... I forget it, but if I don't wrong it will copy bootubuntu to /system/bin. Just do it once
> then type bootubuntu, it must go to ubuntu...
> Then follow the instructions at androlinux.com about the GUI.
> But remember, the ubuntu must be x86 version, because we run it in x86 architecture.
You need to set PATH variable.
The PATH inherited from android is not
the same as a traditional linux.
Sure. You can put scripts to scripts subdir in
the dir android-x86 installed,
or let init.rc to run your script.
> 2. What is vt?
virtual terminal, i.e., switch console by Alt-F1, F2, ...
2012/2/6, Chih-Wei Huang <cwh...@android-x86.org>:
Chroot into android, MAYBE possible. Never tried though.
Running android apps with X, NO.
Hi,i'm just curious. Can we do the 'Vise-versa' of this? I mean chroot into Android-x86 from linx..and run android apps under X? Is it even possible?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Well, this is almost a great idea. Until android need to access hardware directly ._.
Unfortunately this is not under my knowledge anymore. I left it here.
Sorry.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Not possible.
Chrome needs UI subsystem to work.
On 2016.06.12 18:28, Hypo Turtle wrote:
> *adb over wifi* and *Vysor* chrome app ??
>
> If/once vysor works with Ax86
> --
> You received this message because you are subscribed to the Google
> Groups "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to android-x86...@googlegroups.com
> <mailto:android-x86+unsub...@googlegroups.com>.
Only issue I can think would be needing to validate a secure adb / grant linux side adb access. I guess for that you'd need to run the build properly first then use the system/data to chroot.
Both chroot Linux inside Android(-x86) or
chroot Android(-x86) inside Linux are possible.
However, it won't make everything work magically.
The most critical issue is the resource conflicts.
Both processes may access the same hardware
simultaneously. (e.g., X and Androud surfaceflinger
will access the GPU directly)
How to handle that is far beyond the chroot technology.
So far there is no solution available to the open source
community yet I think.