Linux Installer : Easy Way to Install Debian/Ubuntu on Android

Linux Installer can be downloaded here  and quick tutorial here. After download Linux Installer from Market,

  • lets open it end click menu button end setup,

       

  • then choose Distribution (Debian/Ubuntu) and version (example:Debian Lenny/Squeeze) .
  • Then fill File size up to you (default is 500mb, if you will install GUI you should fill it with bigger size)
  • Leave another setting to default, then close setting it will see like this:

  • Then click create target loop, after that finish click format loop, and mount loop, after that it will see like this:

  • Click install in loop and it will download .deb package from repository server and install it, how long time that it need is dependend on your internet connection and your device capability. After installation finish you can run it with terminal. You can use Connecbot terminal or adb shell.

$ linuxchroot

  • How to add GUI (LXDE desktop)

first you need to update package

root@Galoula-ARMEL# apt-get update

root@Galoula-ARMEL# apt-get install lxde

  • How to show LXDE GUI on Android VNC

- First install Android VNC from market then

- install tightvncserver on Debian/Ubuntu (on Android device not your computer)

root@Galoula-ARMEL# apt-get install tightvncserver

- How to add LXDE profile on tightvncserver lets write:

root@Galoula-ARMEL# echo ‘#!/bin/sh’ >> /root/.vnc/xstartup

root@Galoula-ARMEL# echo ‘xrdb $HOME/.Xresources’ >> /root/.vnc/xstartup

root@Galoula-ARMEL# echo ‘xsetroot -solid grey’ >> /root/.vnc/xstartup

root@Galoula-ARMEL# echo ‘icewm &’ >> /root/.vnc/xstartup

root@Galoula-ARMEL# echo ‘lxsession’ >> /root/.vnc/xstartup

- too start tightvncserver (i use 320×240 aka ldpi device, lets change it depend on your Android Device)

root@Galoula-ARMEL# vncserver -geometry 320×240

(you will be asked password, set it exampe 000000 )

- then open Android VNC and fill it setting like that:

Nickname : linuxchroot

pasword : 000000

Adress : 127.0.0.1

Port : 5901

Username : linuxchroot

- then click connect and lets enjoy that :)

addition :

u can also  install lxde offline , by download lxde pakage and its dependencies  on your computer then transfer them to debian armel and on debian armel terminal:

# dpkg -i *.deb to install

but before it , u must get list of lxde dependencies with this (on debian armel terminal):

# apt-get --print-uris --yes install lxde | grep ^\' | cut -d\' -f2 > lxde.txt

About zico_newbie

i am just newbie

Posted on September 10, 2011, in Android, Galaxy Mini, Linux, Ubuntu. Bookmark the permalink. 57 Comments.

  1. Wow, can this “linux installer” save for Samsung Galaxy Mini Asian Rom??? If you don’t mind, can you show me how to install openbox instead of lxde???

    • Yes it save for Samsung Galaxy Mini Asian Rom, this app just create linux.loop on sdcard then mount it (linux.loop) on /data/local/mnt/Limux om Android devices, then run it with linuxchroot command

      as for as i know to install LXDE it need Openbox as it dependencies, but i dont know to switch desktop manager (LXDE with Openbox) in Linux Installer,

  2. Wih, bisa juga install debian di andro.. coba deuh .. ntr. thank infonya

  3. i dont got sucess trying it on my motorola defy =(

  4. hey man what to enter in the connectbot when opening the first time? i know its a noob question… what to enter “username@hostname” ? please reply

  5. Ive tried this with squeeze, however it doesnt show the desktop at all. it shows an x pointer and a grey screen. any ideas?

  6. When I put below line

    “apt-get install lxde”

    I get unable to locate package :(

    I installed Ubuntu Natty

    Please help

  7. $ su# linuxchroot
    W: debian squeeze is already mounted. Entering chroot…
    I: Executing /etc/init.android/rc_mount.sh
    Galoula LinuxInstaller not found or Android Bind is not active!
    I: Entering chroot…
    I: Executing /etc/init.android/rc_enter.sh
    root@Galoula-ARMEL:/# dpkg –configure -a
    dpkg: failed to write status database record about ‘module-init-tools’ to ‘/var/lib/dpkg/status’: No space left on device

    • ‘/var/lib/dpkg/status’: No space left on device –> your device is full, try to make more space on your sdcard

      • i have 4gb free on my card already but 533mb on phone memory. Don’t know how to savely delete from internal mem.

        samung galaxy tap p1000

    • ‘/var/lib/dpkg/status’: No space left on device:

      may be the problem is linux.loop file size, linux.loop is a file which be mounted as / “root” ,

      i had similar problem before, when i made linux.loop just 70 MB, it was mean: my / “root” just had 70 MB , and it showed: “No space left on device” altough my internal and sdcard free space is big,

      so i tried to make linux.loop file size bigger. that is on settings–>linux.lopp size,
      but it will erase linux.loop before,

      so try to *backup all deb packages before that, (because they are big size, 50 MB or more,) , then create a new linux.loop bigger, and start again, when Linux Installer start to download deb packages again, try to transfer deb packages that you *backup to /data/local/mnt/linux/var/cache/apt/archieves so debootstrap can make / “root” system from them (deb pacakages backup) ,

      the linux.loop size is relative, depending on whatever you will install on it, if you want LXDE , it is less than GNOME,

      • I am a noob in this. How do we backup the deb n then transfer it back, can u be more specific. Thanks in advance.

      • when linux.loop is mounted

        copy all deb packages from /data/local/mnt/*Linux/var/cache/apt/archives to sdcard
        copy with root file explorer or adb shell or others

        *Linux maybe Debian or Ubuntu

  8. works amazing on samsung nexus s with rooted android 4.0.3. Thank you for the instructions. The only thing i changed was instead of “>> /root/.vnc/xstartup” I had to do “>> /root/xstartup”, then it worked great. currently running Debian Squeeze on lxde. Again, thank you for the info. :-D

      • sob ane pas install size loopnya kecil terus ga bisa install vnc.. cara ubah ukuran loopnya gimana ya?supaya ga usaah install dr awal lagi.. pliss.. pake bhs indonesia ya.. hehe aane ga ngerti english

      • ane juga pernah nanya hal kaya gitu ke pembuat apikasinya, katanya sulit kalo manual soalnya kan pake aplikasi Linux Installer serba otomatis, tinggal klik klik aja, jadi bikin yang baru aja , tapi paket deb yang udah didonlod dibackup dulu, buat dipake pas bikin yang baru lagi bro

        pakiet deb nya coba cari cari di /mnt/Linux/ di Android atau semisalnya, nanti ada direktori /var/cache/apt/archives , nah disitu ada paket deb yang uda didonlod buat bikin sistem root Ubuntu/Debian, backup dengan cara copy ke sdcard pake terminal / aplikasi kaya Root Explorer, terus bikin linux.loop yang baru terus nanti pas donlod deb yang baru lagi (pas klik install) , tingal transfer dari backup-an ke /var/cache/apt/archives lagi biar ga donlod paket deb lagi (lumayan lebih dari 50 mb-an)

  1. Pingback: Linux Installer - Android-Hilfe.de

  2. Pingback: Linux Installer auf dem Pro - Erfahrungsberichte - Android-Hilfe.de

  3. Pingback: Linux Installer – eine vollfunktionsfähige LXDE Debian Umgebung unter Android | siyman.de | blogging und GNU/*buntu

  4. Pingback: Ubuntu Running on Galaxy Tab 10.1 Android Tablet! | Androidmarket

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 49 other followers