1. Download our Official Android App: Forums for Android!

Root Ubuntu On Desire Cdma Error

Discussion in 'Android Devices' started by liamf1, Apr 26, 2012.

  1. liamf1

    liamf1 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    63
    Posts:
    143
    Joined:
    Feb 26, 2012

    Feb 26, 2012
    143
    29
    63
    High School
    Chicago IL
    Hello I had this error before but this time I DO HAVE LOOP for my Desire Cdma. CM9 has it built in.
    So now I was able to run ubuntu in VNC yesterday, but today i tried it again and i came among this error:
    user@bcm:/$ export PATH=/data/local/bin:$PATH
    user@bcm:/$ su
    root@bcm:/# cd sdcard
    root@bcm:sdcard# cd ubuntu
    root@bcm:ubuntu# sh ubuntu.sh
    Loop device exists
    mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
    mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or directory
    mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
    mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
    mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
    net.ipv4.ip_forward = 1
    ubuntu.sh: line 58: /data/local/mnt/etc/resolv.conf: No such file or directory
    ubuntu.sh: line 59: /data/local/mnt/etc/resolv.conf: No such file or directory
    ubuntu.sh: line 60: /data/local/mnt/etc/hosts: No such file or directory
    Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
    ifconfig: eth0: error fetching interface information: Device not found
    chroot: can't execute '/root/init.sh': No such file or directory
    Shutting down Ubuntu ARM
    umount: can't umount /data/local/mnt/sdcard: No such file or directory
    umount: can't umount /data/local/mnt/external_sd: No such file or directory
    umount: can't umount /data/local/mnt/dev/pts: No such file or directory
    umount: can't umount /data/local/mnt/proc: No such file or directory
    umount: can't umount /data/local/mnt/sys: No such file or directory
    umount: can't umount /data/local/mnt: Invalid argument
    root@bcm:ubuntu#
    -------------------------------------------------
    What happend differently from yesterday? The files are the same, everything is in the same place, but now it just gives me this error. Can someone tell me what to do and how to fix this problem. Thank you so much!
    -Liam-
     

    Advertisement

  2. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,916
    Joined:
    May 25, 2010

    May 25, 2010
    23,916
    5,307
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    Have you rebooted?

    Have you ran the script with --clean at the end? That's 2x - by the way
     
  3. liamf1

    liamf1 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    63
    Posts:
    143
    Joined:
    Feb 26, 2012

    Feb 26, 2012
    143
    29
    63
    High School
    Chicago IL
    yes I have rebooted. When you say --clean. do I type "sh Ubuntu.sh --clean?"
     
  4. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,916
    Joined:
    May 25, 2010

    May 25, 2010
    23,916
    5,307
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
  5. liamf1

    liamf1 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    63
    Posts:
    143
    Joined:
    Feb 26, 2012

    Feb 26, 2012
    143
    29
    63
    High School
    Chicago IL
    I did --clean as you can see here... didn't do anything

    user@bcm:/$ export PATH=/data/local/bin:$PATH
    user@bcm:/$ su
    root@bcm:/# cd sdcard
    root@bcm:sdcard# cd ubuntu
    root@bcm:ubuntu# sh ubuntu.sh --clean
    Loop device exists
    mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
    mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or directory
    mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
    mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
    mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
    net.ipv4.ip_forward = 1
    ubuntu.sh: line 58: /data/local/mnt/etc/resolv.conf: No such file or directory
    ubuntu.sh: line 59: /data/local/mnt/etc/resolv.conf: No such file or directory
    ubuntu.sh: line 60: /data/local/mnt/etc/hosts: No such file or directory
    Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
    ifconfig: eth0: error fetching interface information: Device not found

    chroot: can't execute '/root/init.sh': No such file or directory
    Shutting down Ubuntu ARM
    umount: can't umount /data/local/mnt/sdcard: No such file or directory
    umount: can't umount /data/local/mnt/external_sd: No such file or directory
    umount: can't umount /data/local/mnt/dev/pts: No such file or directory
    umount: can't umount /data/local/mnt/proc: No such file or directory
    umount: can't umount /data/local/mnt/sys: No such file or directory
    umount: can't umount /data/local/mnt: Invalid argument
    root@bcm:ubuntu#
     
  6. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,916
    Joined:
    May 25, 2010

    May 25, 2010
    23,916
    5,307
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    Report to dev then
     
  7. liamf1

    liamf1 Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    63
    Posts:
    143
    Joined:
    Feb 26, 2012

    Feb 26, 2012
    143
    29
    63
    High School
    Chicago IL
    I will. but I did this yesterday with many different Ubuntu img's. so what's all this mean? and any other suggestions? cause it WAS working yesterday
     
  8. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,916
    Joined:
    May 25, 2010

    May 25, 2010
    23,916
    5,307
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    If I knew, I'd have said. Speak to the dev.
     
Tags:

Share This Page

Loading...