Originally Posted by danharris
I just bought my first tablet. An acer Iconia a1 830. rooted it the first day, got some chroot linuxes going, ssh into some other boxes. awesome.
so my googles have come up short looking for people who are running (or trying to run) x86 linux on x86 tablets. Ive been building and breaking linux for about ten years now and i think i could help this effort. everything i have found is for arm ports and stuff. I know i am not the only one who is looking at his x86 tablet wondering how to get some dual boot action out of this.
send me a link to the place i need to go, to find the people who are thinking about this.
acer iconia a1 830
htc desire hd running some cyanogenmod
I have an 830 and a Razr i, I've tried to get chroot running on both when I first got each of them, but didn't finish the things. I'm pretty sure if I gave it a few more hours I'd be able to get it running, but as of now no luck.
I will tell you the progress I made though.
You've probably heard of linux on android or complete linux installer http://linuxonandroid.org/
, and I'm sure you worked out pretty quickly the version of busybox they gave you, along with the images, where for arm.
It might pay to message, but let's be honest, in this case WE are the developers, and unless one of us is willing to send them one of our devices we'll have a hole lot more luck trying it ourselves.
Busybox x https://play.google.com/store/apps/d...complete&hl=en
can install an x86 binary, and it certainly runs, but I had some issues that may be related to how it was compiled, or just me being an idiot.
You say you've been playing with linux for 10 years, so I know you probably already know this, but just in case, and for others reading this, it's probably worth explaining. chroot isn't a VM nor is it a system for traditional duel booting. It will allow you to run a linux userland from the already running linux kernal on the device, alongside android. It works by specifying a directory or image with a linux install in it, then telling the kernal to start that **** up, as if it where the kernal in the instalation.
Now, onto my progress. I was able to run chroot, so it was obviously an x86 binary, I was also able to mount an image of an x86 debian install made with debootstrap (What linux on android uses to make their ARM images) on my SD card. The first problem I had was android doesn't give stuff on the SD card execute permissions, and stuff got messy, but I eventually got that working. Do as you see fit.
I had numerous other issues, but the one I finally got stuck on was chroot not being able to find /bin/bash in the debian install directory.
I played around with the boot scripts you get with linux on android, but I don't think chroot evern ever ran from there. Neither was I able to run a plain "chroot /mnt/debianimagemounted/", I kept getting the "can't find bash" thing. I'm guessing this could have been because the linux for android scrypts made aliases before running chroot. Read them for yourself to see what I mean.
This all could be as simple as redirecting the linuxonandroid program from the arm version of chroot it uses to an x86 copy, or it could be more difficult.
Actually, I'll email them now, I'll post any response I get here.
I don't think there really are many people talking about this, I mean your post was the first google hit for "x86 android chroot", so this is probably gonna take some effort on our part.
I'm pretty busy with study right now, but in 2 weeks or so I'll dedicate a few solid days to getting this running.
As far as I can tell all we need is some good hard trial and error.
Can't wait to hear from you.