How to install ubuntu on a droid.

Discussion in 'Android Hacks and Help' started by crabs, Jul 13, 2010.

  1. crabs
    Offline

    crabs New Member

    Joined:
    Jun 15, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    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: Jul 20, 2010
  2. Kronix
    Offline

    Kronix New Member

    Joined:
    Jul 11, 2010
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Woah. Nice work kid. props
  3. Tanknspank
    Offline

    Tanknspank Beta Team Premium Member

    Joined:
    Jan 13, 2010
    Messages:
    3,506
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    North Carolina
    I am so doing this tomorrow.

    Sent from my Droid using Tapatalk
  4. christim
    Offline

    christim DF Super Moderator Rescue Squad

    Joined:
    Jan 23, 2010
    Messages:
    5,112
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    New England
    Right behind you Tank! I'm running out of hours in the day.

    Great write up crabs, thanks.
  5. 1quickv6
    Offline

    1quickv6 New Member

    Joined:
    Feb 18, 2010
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    0
    This needs to be Sticky. Great write-up and one that I will surely revisit.
  6. christim
    Offline

    christim DF Super Moderator Rescue Squad

    Joined:
    Jan 23, 2010
    Messages:
    5,112
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    New England
  7. B3y0ndD34th
    Offline

    B3y0ndD34th New Member

    Joined:
    Mar 19, 2010
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    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: Jul 13, 2010
  8. jxspence
    Offline

    jxspence New Member

    Joined:
    Mar 22, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    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
  9. crabs
    Offline

    crabs New Member

    Joined:
    Jun 15, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    0


    You didn't install the ext2 module.

    Read the post.
  10. Tanknspank
    Offline

    Tanknspank Beta Team Premium Member

    Joined:
    Jan 13, 2010
    Messages:
    3,506
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    North Carolina
    Downloading the files now... Can't wait to try this out.
  11. Droidfish
    Offline

    Droidfish New Member

    Joined:
    Feb 2, 2010
    Messages:
    860
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Deep South of NM
    Nice. Can't wait to try this out

    Sent from my Droid using Tapatalk
  12. jlangerud
    Offline

    jlangerud New Member

    Joined:
    Jul 2, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    I got the same as well.
    I downloaded and installed the module though and still got this.

  13. sneaky_zekey
    Offline

    sneaky_zekey New Member

    Joined:
    Dec 12, 2009
    Messages:
    843
    Likes Received:
    0
    Trophy Points:
    0
    do we need to do port forwarding if we are behind a router
  14. B3y0ndD34th
    Offline

    B3y0ndD34th New Member

    Joined:
    Mar 19, 2010
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    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.
  15. crabs
    Offline

    crabs New Member

    Joined:
    Jun 15, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    0
    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: Jul 13, 2010
  16. crabs
    Offline

    crabs New Member

    Joined:
    Jun 15, 2010
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    0
    No? Why would you?
  17. justin82
    Offline

    justin82 DF Super Moderator Premium Member

    Joined:
    Dec 11, 2009
    Messages:
    3,607
    Likes Received:
    157
    Trophy Points:
    63
    i am trying this... later :)
  18. noisufnoc
    Offline

    noisufnoc New Member

    Joined:
    Dec 2, 2009
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    0
    very cool, nice work.
  19. Tanknspank
    Offline

    Tanknspank Beta Team Premium Member

    Joined:
    Jan 13, 2010
    Messages:
    3,506
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    North Carolina
    Can't boot any of Chevy's kernels without hard boots, so I'll have to wait for cvpcs to get back from his meeting to see if he can help me with p3's special kernel for sapphire. I know it has it, but it isn't enabled by default so i got to get help from him with that.

    Will try then.
  20. christim
    Offline

    christim DF Super Moderator Rescue Squad

    Joined:
    Jan 23, 2010
    Messages:
    5,112
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    New England

    I was wondering if the default kernel with Sapphire supported ext2 or not, but it looks like it does

    from:
    releases:sapphire-0.8.4 [CVPCS Sapphire Wiki]0.4:
    Switched to default android-omap-2.6.29-bekit_sapphire kernel [cvpcs]
    [bekit (base)]
    provides overclocking of 250-1000mhz at low-voltage, is patched for
    compcache support, and also includes the following modules:
    cifs, ext2, ext3, ext4, fuse, isofs, jfs, nfsd, nfs, ntfs,

    ramzswap, reiserfs, squashfs, tiwlan_drv, xfs
Search tags for this page
argument umount: can't umount /data/local/mnt/dev: invalid a
,
can't umount /data/local/mnt/external sd
,
chroot can't execute /root/init.sh
,
data encryption failed to mount sd card
,
droid x ubuntu
,
droid3 debian
,
install ubuntu droid charge
,
ioctl loop set fd failed: device or resource busy
,
mount: mounting /storage on /data/local/mnt/external sd fail
,
turn droid x into ubunto
,
ubuntu droid
,
ubuntu droid 1
,

ubuntu on droid 1

,
ubuntu on droid 3
,

ubuntu on droid x