How to install ubuntu on a droid.

crabs

Member
Joined
Jun 15, 2010
Messages
40
Reaction score
0
Ubuntu faced some challenges I got it to work with Debian instead. Feel free to read through this thread as there is some good info, but I've asked to have it closed to further comments and the discussion will take place in this thread here with the correct instructions.

Props to Chris for this message.






I have been doing this since 2009 (On a G1) and recently heard that I'm one of the only ones who has done it (Droid).


You will need,
A kernel made by chevy or any other kernel with ext2 support (May need to alter guide)
The ext2 update from here also
A froyo rom (I'm using bb 0.4)
Android terminal

Debian files torrent http://torrents.thepiratebay.org/5703656/Debian_droid_android.5703656.TPB.torrent


Flash chevys kernel + ext2 module.
Dl and copy the debian folder to the root of the sdcard.
Open android terminal and type
Code:
su
Then
Code:
cd /sdcard/debian
Then
Code:
 sh ./debian.sh
Then
Code:
bootdebian
Then
Code:
start
Now download and open up android vnc and put in

nickname: linux
address: localhost
password: crabsvnc
Color format: 24 bit
Then press connect and Ta Da.

Nice and simple right?



Troubleshooting:
Format sdcard ( I had to do this alot)

Make sure you installed and did everything correctly.

MAKE SURE ALL APPS ARE ON PHONE AND NOT SDCARD. (I had to do this with androidvnc)
 
Last edited:

christim

Super Moderator
Rescue Squad
Joined
Jan 23, 2010
Messages
5,038
Reaction score
2
Location
New England
Right behind you Tank! I'm running out of hours in the day.

Great write up crabs, thanks.
 

1quickv6

Member
Joined
Feb 18, 2010
Messages
129
Reaction score
0
This needs to be Sticky. Great write-up and one that I will surely revisit.
 

B3y0ndD34th

Member
Joined
Mar 19, 2010
Messages
88
Reaction score
0
I tried things your way and this is what I get

##su
#bootubuntu

EXT2 loaded!

ioctl LOOP_SET_FD failed: Device or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.8.4
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
Setting localhost on /etc/hosts
bootubuntu: cannot create /data/local/mnt/etc/hosts: directory nonexistant
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
Chevy is a crab.

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu
failed.
failed.
failed.
failed.
 
Last edited:

jxspence

New Member
Joined
Mar 22, 2010
Messages
7
Reaction score
0
Location
Charlotte, NC
I think I will give this a shot today. How is the performance in your experience?


Sent from my Droid using Tapatalk
 
OP
C

crabs

Member
Joined
Jun 15, 2010
Messages
40
Reaction score
0
I tried things your way and this is what I get

ioctl LOOP_SET_FD failed: Device or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.8.4
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
Setting localhost on /etc/hosts
bootubuntu: cannot create /data/local/mnt/etc/hosts: directory nonexistant
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
Chevy is a crab.

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu
failed.
failed.
failed.
failed.



You didn't install the ext2 module.

Read the post.
 

jlangerud

New Member
Joined
Jul 2, 2010
Messages
8
Reaction score
0
I got the same as well.
I downloaded and installed the module though and still got this.

I tried things your way and this is what I get

ioctl LOOP_SET_FD failed: Device or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.8.4
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
Setting localhost on /etc/hosts
bootubuntu: cannot create /data/local/mnt/etc/hosts: directory nonexistant
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
Chevy is a crab.

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu
failed.
failed.
failed.
failed.
 

B3y0ndD34th

Member
Joined
Mar 19, 2010
Messages
88
Reaction score
0
I tried things your way and this is what I get

ioctl LOOP_SET_FD failed: Device or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.8.4
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
Setting localhost on /etc/hosts
bootubuntu: cannot create /data/local/mnt/etc/hosts: directory nonexistant
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
Chevy is a crab.

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu
failed.
failed.
failed.
failed.



You didn't install the ext2 module.

Read the post.

That's not true I followed your directions to a T. it connects find to the EXT2, two lines above "ioctl Loop..." it says EXT2 loaded!

Just to be sure I tried re-installing EXT2 and running the commands again with the same output.
 
OP
C

crabs

Member
Joined
Jun 15, 2010
Messages
40
Reaction score
0
I got the same as well.
I downloaded and installed the module though and still got this.

I tried things your way and this is what I get

ioctl LOOP_SET_FD failed: Device or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.8.4
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
bootubuntu: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistant
Setting localhost on /etc/hosts
bootubuntu: cannot create /data/local/mnt/etc/hosts: directory nonexistant
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
Chevy is a crab.

chroot: can't execute '/bin/bash': No such file or directory

Shutting down Ubuntu
failed.
failed.
failed.
failed.

I will check into this issue now. (Whenever the module is installed it should say ext loaded when you run that.)

But I will wipe and follow my directions.

I confirm there is a strange thing going on.
 
Last edited:
Top