[Android Q&A, Help & Troubleshooting] calvinllyman:
Hey guys. I am attempting to install Ubuntu on my rooted Samsung Infuse 4G. I have consulted several how-to articles here and elsewhere, but after several hours of work I am still stuck on the final lines of code in the terminal emulator app that a YouTube tutorial suggested. Below is the code that I have entered thus far, and the error code at the bottom of the list:

-----------------

Ubuntu Chroot Bootloader v0.1

Ubuntu Bootloader is now installed!

This process does NOT damage Android OS!

Original Installer by Charan Singh

Modified for Ubuntu Chroot by Max Lee at AndroLinux.com ,G2Hacks.com and NexusOneHacks.net

To enter the Ubuntu Linux console just type 'bootubuntu'

# bootubuntu

losetup: /dev/block/loop1/sdcard/ubuntu/ubuntu.img: Not a directory

mount: Invalid argument

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.4.4

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexistent

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexistent

Setting localhost on /etc/hosts

bootubuntu: cannot create /data/local/ubuntu/etc/hosts: directory nonexistent

READY TO ROCK AND ROLL BABY!

Brought to you by NexusOneHacks.net and the open source community!

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

Shutting down Ubuntu

failed.

failed.

failed.

failed.

losetup: /dev/loop1: Device or resource busy

# bootubuntu

mknod: /dev/loop1: File exists

losetup: /dev/block/loop1/sdcard/ubuntu/ubuntu.img: Not a directory

mount: Invalid argument

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.4.4

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexistent

bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexistent

Setting localhost on /etc/hosts

bootubuntu: cannot create /data/local/ubuntu/etc/hosts: directory nonexistent

READY TO ROCK AND ROLL BABY!

Brought to you by NexusOneHacks.net and the open source community!

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

Shutting down Ubuntu

failed.

failed.

failed.

failed.

losetup: /dev/loop1: Device or resource busy

#

---------------------

I have tried two different installation methods. The first one focused on accessing the advanced shell through Windows Command Prompt. This didn't work because the prompt froze after I typed in "advanced shell" (several attempts brought same results) .

I then tried the "easy" version that involved the terminal emulator app in the place of the command prompt. Assumedly, if I can resolve this last issue without causing any more, I should be able to access Ubuntu through Android VNC. It may be important to note that the time before last when I typed in the above code, I got a different error code. That error read: losetup: /dev/loop1: no such device or address. I don't know what made it change.

I can provide further info if needed. Can anyone plz help?