[Droid Eris Android Development] mjgdroid:
NEW DEBIAN.img

http://www.multiupload.com/FEO9PZLOCP

This image has internet working and very nice and neat.

To use image copy to ext2 partition and mount

You will need an ext2 partition, you can use my rom and follow its install instructoins and these images and my rom work together perfectly!

http://xdaforums.com/showthread.php?p=16969687#post16969687

download the mount.zip it contains linux a terminal command and linuxboot.sh using adb

http://www.multiupload.com/SDOPA3GVSP

This requires either an ext2 partition or, The img file on your sdcard/debain.img. Using ext2 partition is what is recomended.

Now just type :

in the terminal and you will be connected

On first boot

this should put you into a localhost:#

once in local host type:

nano /etc/init.android/rc_enter.sh
​

now add this to the file

There should already be this inside:

ADD :

To connect to vncserver use any vncserver app and use the following info:

the new debian.img is roughly 2.5 gigs so I would make enough room on your ext2 partition for 2.5 gigs at least, if you have any problems let me know

OLD

_________________________________________________________________________________________________________________________________________________

OK everyone here it is. Debian and Ubuntu works on ERIS. I have an image that you can download and extract to /sdcard/Ubuntu/ or /sdcard/debian Download One of the .rars below. To use correctly you must have a 2.2 foryo rom, and flash conaps defauctcfs7 loop enabled kernal

Also need a few other files that I have either told you how to or were to download. Follow the instructions and you will be fine.

I am sorry this is not A SELF INSTALLER or an APK BY any means, You must start from scratch and compile your debian, but I have shown the way with Conaps help you can easily install debian from this tutorial.

Debian with vncserver download and extract and push to /sdcard/debian

Ubuntu with vncserver, icewb-UI, and synaptic packagemanager, and firefox, download and extract and push to /sdcard/ubuntu

For Debian

in terminal type:

su

insmod /system/lib/modules/loop.ko

sh /sdcard/debian/installer.sh

chroot debian /bin/bash

For Ubuntu Version

in terminal type:

su

insmod /system/lib/modules/loop.ko

sh /sdcard/ubuntu/mount.sh

chroot ubuntu /bin/bash

to start tightvncserver and connect threw pocket cloud type:

vncserver -geometry 480x320 {-geometry 480x320 is optional}

password:android

repeat:android

open pocket cloud

server: localhost

password:android

port:5901

Special thanks to Conap for creating his new DecafuctCFSv7.zip

Thanks to workshed for a nice keyboard fix

1. download Conap's loop kernal obviously.

2. Recomend downloading and installing conaps CELB (NOT CELEB LOL) ROM, But any 2.2 rom will work

Or Dualrom with loop kernal DualRomLoop

There is a tutorial on how to partitoin your sdcard there, although if you want to run dual rom with debian on second rom I would make my partition sizes as follows:

mkpartfs primary fat32 512B 300MB

mkpartfs primary ext2 300MB 550MB

mkpartfs primary ext2 550MB 900MB

mkpartfs extended 900MB 7948MB

mkpartfs logical ext2 900MB 975MB

mkpartfs logical fat32 975MB 7948

3. Install or flash conaps loop kernal, and conaps celb rom

4. Download this Linux.rar and extract to

/sdcard/debian/*files*here

or

/sdcard/ubuntu/*files*here

Then wait for your phone to boot, and follow the rest of the instructions; I would let the phone idle for a few minutes just to let it settle down

5. Download Swapper from the market, Not Swapper 2. install and create a swap.swp file of 256 megs the most you can, and make sure its running when you continue with the steps so dont exit it, press home instead of the back arrow

DEBIAN

In the terminal type:

su

insmod /system/lib/modules/loop.ko

sh /sdcard/debian/installer.sh

Then an easy chroot:

chroot /debian /bin/bash/

For UBUNTU

In the terminal type:

su

insmod /system/lib/modules/loop.ko

sh /sdcard/ubuntu/mount.sh

Then an easy chroot:

chroot ubuntu /bin/bash/

Or you can Install via gscript by running installer.sh in gscript then an easy chroot by typing in the terminal:

chroot /debian /bin/bash/

MAKE SURE TO SET YOUR PATH IN THE TERMINAL @ localhost:/ export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

first if that doesnt work try export USER=/root

One time install type:

/scripts/onetime.sh

A little clean up:

cd tmp

rm -r .X*

cd ..

gpg --recv-keys 9AA38DCD55BE302B

gpg --export 9AA38DCD55BE302B | apt-key add -

apt-get update

apt-get install tightvncserver

apt-get install lxde

to start tightvncserver and connect threw pocket cloud type:

vncserver -geometry 480x320

password:android

repeat:android

open pocket cloud

server: localhost

password:android

port:5901

Originally Posted by Conap

6. Open up Terminal Emulator and type:

su

insmod system/lib/modules/loop.ko

busybox mount -o remount,rw /

mkdir debian

busybox mknod /dev/loop0 b 7 0

mount -o loop,noatime sdcard/debian/debian.img debian

mount --bind /dev/pts /debian/dev/pts

mount --bind /proc /debian/proc

mount --bind /sys /debian/sys

sysctl -w net.ipv4.ip_forward=1

chroot /debian /bin/bash

export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

cd tmp

rm -r .X*

cd ..

If you have problems make sure that you have succesfully installed Conaps Loop

by puting the loop.ko in your sdcard and by typing:

su

cd /sdcard

insmod loop.ko

If your phone reboots you probably need to make sure swapper is running correctly and you have task killer to kill most tasks

GOOD LUCK!