yashsingh1/xdaforums huggingface dataset:
[Eee Pad Transformer Themes and Apps] hadlawp:
this is what I keep etting when i try running the script:

/ $ export PATH=/data/local/bin:$PATH

/ $ su

/ # cd /Removable/MicroSD

/Removable/MicroSD # cd ubuntu

/Removable/MicroSD/ubuntu # sh ubuntu.sh

mkdir failed for /data/local/mnt, File exists

losetup: /dev/block/loop255: No such file or directory

mount: Invalid argument

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory

mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory

net.ipv4.ip_forward = 1

ubuntu.sh: line 31: can't create /data/local/mnt/etc/resolv.conf: nonexistent directory

ubuntu.sh: line 32: can't create /data/local/mnt/etc/resolv.conf: nonexistent directory

ubuntu.sh: line 33: can't create /data/local/mnt/etc/hosts: nonexistent directory

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

eth0: No such device

chroot: can't execute '/root/init.sh': No such file or directory

Shutting down Ubuntu ARM

failed.

failed.

failed.

failed.

failed.

failed.

losetup: /dev/block/loop255: No such device or address

/Removable/MicroSD/ubuntu #
[Eee Pad Transformer Themes and Apps] icce007:
Correct me if I'm wrong but you should run this on internal SDcard instead of external microsd.
[Eee Pad Transformer Themes and Apps] icce007:
Reporting seem to be working on mine running KRAKD rom with Blade kernel.

only issue i have is

eth0: No such device

other than that I've revised the script to mount correctly for /Removable/MicroSD for exteralSD.
[Eee Pad Transformer Themes and Apps] *Phi*:
modified script for use with prime 2.1.1

so I've modifyed the script to "almost" get it to work with prime.. but I can't figure out what's wrong with chroot.

I've changed the internal and external SD location to work with prime.

when I CD into data/local/mnt etc is a file not a directory, maybe the image I download is courrpt. will download it again.

do I have some stupid mistake that I'm missing?

thanks for any help

##########################################
#Ubuntu boot script V5 for Android #
#Built by Zachary Powell (zacthespack) #
#Thanks to everyone at XDA! #
##########################################
perm=$(id|cut -b 5)
if [ "$perm" != "0" ];then echo "This script requires root! Type: su"; exit; fi
mount -o remount,rw /dev/block/mmcblk0p5 /system
export kit=/mnt/sdcard/Ubuntu
export bin=/system/bin
export mnt=/data/local/mnt
export USER=root
mkdir $mnt
export PATH=$bin:/usr/bin:/usr/local/bin:/usr/sbin:/bin:/usr/local/sbin:/usr/games:$PATH
export TERM=linux
export HOME=/root
if [ -b /dev/block/loop99 ]; then
echo "Loop device exists"
else
busybox mknod /dev/block/loop99 b 7 255
fi
#mount -o loop,noatime -t ext2 $kit/ubuntu.img $mnt
losetup /dev/block/loop99 $kit/ubuntu.img
mount -t ext2 /dev/block/loop99 $mnt
mount -t devpts devpts $mnt/dev/pts
mount -t proc proc $mnt/proc
mount -t sysfs sysfs $mnt/sys
mount -o bind /dev/fuse $mnt/sdcard
mount -o bind /dev/block/vold/179:9 $mnt/external_sd
sysctl -w net.ipv4.ip_forward=1
echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf
echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf
echo "127.0.0.1 localhost" > $mnt/etc/hosts
echo "Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:"
ifconfig eth0
echo " "

chroot $mnt	/root/init.sh

echo "Shutting down Ubuntu ARM"
umount $mnt/sdcard
umount $mnt/external_sd
umount $mnt/dev/pts
umount $mnt/proc
umount $mnt/sys
umount $mnt
losetup -d /dev/block/loop99

-----------update--------

so i download the img again and it works on Prime rom.

only thing is that doesnt exit gracefully. fails at the unmounting. errors that the mount point is busy.
[Eee Pad Transformer Themes and Apps] hadlawp:
How exactly did you modify the script so that it mounts from the removable micro sd? So does this mean that you can save the img files on the microsd? Because the internal sd has such limited space, being able to store the img files on the removable would be nice.

---------- Post added at 07:03 AM ---------- Previous post was at 06:51 AM ----------

THANKS ALOT!!! this was the problem. I was able to get it up and running, and I was right about to quit. It had nothing to do with the kernel (yes, I know it needs to support certain features) but rather where I had the files stored.

Thanks again :D

---------- Post added at 07:58 AM ---------- Previous post was at 07:03 AM ----------

Does anyone know if plugging in a usb wireless adapter will add wireless support for Ubuntu/Backtrack?
[Eee Pad Transformer Themes and Apps] icce007:
Not a problem, here is my revised script if anyone needed.

Enable you to mount correctly externalSD once in Ubuntu.
[Eee Pad Transformer Themes and Apps] ebioman:
HI Thanks for this great program

I am actually having a B80 devices and was very disappointed learning that

a real linux installation wouuld not work on my device - found luckily then the alternative.

Bought pro version to support this project - keep on going !

Version: Krakd 3.2.1
[Eee Pad Transformer Themes and Apps] devwithzachary:
Well after much posting saying that I will be building new images, and nothing happening for a while, the day has come.

In the past I have built my images from 10.10 and people have asked why I havn't updated this was because I was waiting for a buildable version of 12.04, which I have finally got working.

These images are purely for TESTING and in no way stable (after all 12.04 is only alpha 2 right now!) but I will be uploading images to source forge for you all to test if you wish.

New releases will be made to follow the releases of milestone versions of main Ubuntu (i.e alpha, beta etc) and possibly other releases between then as I make changes reading the build as a final build once the final official version is released. Until the final release if you wish something that is stable please stick to my 10.10 images, however the 10.10 images will no longer be updated. Before you post a bug please check on the Ubuntu bugs to see if it is something Ubuntu related and not related to just my build.

https://wiki.ubuntu.com/PrecisePangolin/TechnicalOverview/Alpha2

There will be two types of build 'core' and 'full'.

The 'core' images include only the most basic Ubuntu build with no GUI (however tightvncserver is set up if you wish to install one).

This is perfect if you do not want a GUI or want to install everything yourself, plus the download is much smaller

The 'full' images include a GUI and a range of programs, for now these images are like the old 'lightweight' images.

But once we hit stable release I will build a larger image with the complete range of software.

The first core image is now live with a full image coming hopefully tomorrow!

For now enjoy :)

https://sourceforge.net/projects/linuxonandroid/files/Ubuntu/12.04/
[Eee Pad Transformer Themes and Apps] anamnisia:
two thumps up!!!

Very good work. I ll test it tomorrow. I am an ubuntu user for almost 10 years now and very happy with it. I 'll be happier if that comes on my transformer too.

keep up the good work...;)
[Eee Pad Transformer Themes and Apps] boidlo:
Hello,

I'm very thrilled about the idea of having Ubuntu running on my transformer. I bought the app even though it was not working to show my support to the Dev.

The problem I encouner is the following:

I tried on different ROMS (revolver, prime, krakd) and different kernels (razzle dazzle, blades).

But got the same error each time.

Do you have an idea why it fails?

Thank you,

Yoann
[Eee Pad Transformer Themes and Apps] devwithzachary:
http://linuxonandroid.blogspot.com/p/working-devices.html check for the right working rom and kernel and also where are you placing the files?
[Eee Pad Transformer Themes and Apps] boidlo:
Hey, thanks for the fast answer!

I'm currently on krakd 1.5.2 with kernel razzle dazzle, as describded on the page you mention.

My files are placed in /sdcard/ubuntu.

Do You think the image of ubuntu i chose is the responsible of this matter?
[Eee Pad Transformer Themes and Apps] devwithzachary:
are you using my image?
[Eee Pad Transformer Themes and Apps] devwithzachary:
The first of my full 12.04 test images is now being uploaded and will be ready within the hour.

This image is:

*Using LXDE for now due to problems with unity

*Chromium is included as browser but has problems displaying anything (will fix for next release)

*As this is the first release there are a whole host of issues please email me issues (zac@zpwebsites.com) if they are not already reported in mainstream ubuntu 12.04

As always these are test images so they are very unstable!

http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/12.04/full/
[Eee Pad Transformer Themes and Apps] jeepjeep2010:
That's strange did you use the light or full version
[Eee Pad Transformer Themes and Apps] boidlo:
That's strange indeed...

Zac, of course I used your images.

I tried both, the light and the full images. But always with the same script. I'll try with the other scripts proposed in this thread.

Yoann
[Eee Pad Transformer Themes and Apps] sparks.calvin:
I have tried running from internal sdcard / MicroSD / and Removable USBdisk2

each time the script starts and seems to run then stops at

can't execute '/root/init.sh': No such file or directory

Any suggestions or anyway I can get just the file and manually paste it into the directory before starting the script
[Eee Pad Transformer Themes and Apps] devwithzachary:
I am in the process of building a new version of the boot script which should help both you guys.

The script will let you place the files where ever you like.

One question what is the mount point for the microsd and the usbdisk
[Eee Pad Transformer Themes and Apps] sparks.calvin:
The MicroSD is located at

/Removable/MicroSD

USBdisk2 is located at

/Removable/USBdisk2

Here is a screen shot of me navigating to the MicroSD in terminal
[Eee Pad Transformer Themes and Apps] boidlo:
Good evening gentlemen,

I changed manually the script to mount the img in the sdcard instead of /data/local. this fiexed the frist problem. I'm left now with the eth0: no such device error.

Does someone have any idea on how to fix this?

thanks for your input,

Yoann
[Eee Pad Transformer Themes and Apps] Shaquiel Harris:
getting the same error all around like everyone else. can't mount anything.. etc etc. Yes i have it installed on the internal SDcard. Such a shame i really wanted this to work.. the downloads took forever as well.. guess ill try again when updated. GREAT WORK THOUGH! Can't wait until its complete. :cool:

EDIT: Weird.. lightweight works though.
[Eee Pad Transformer Themes and Apps] Shaquiel Harris:
it won't give me the option to boot into gnome or not.. but LDXE boots everytime. it only boots to desktop X. how can i boot into gnome?
[Eee Pad Transformer Themes and Apps] devwithzachary:
very odd don't think I have seen this before, I would try if possible putting a new copy of the image file back on your device something might have got corrupt
[Eee Pad Transformer Themes and Apps] cybercorey:
I may be missing something completely, but I have ubuntu booted up but when ever i try vnc in without a password i get a auth fail.
[Eee Pad Transformer Themes and Apps] devwithzachary:
that would be because there is a password its ubuntu
[Eee Pad Transformer Themes and Apps] movelbit:
i have started ubuntubut not how do i get gnome on androVNC? what are the steps?
[Eee Pad Transformer Themes and Apps] devwithzachary:
which image are you using? is LXDE booting instead or can you not get in the GUI at all?
[Eee Pad Transformer Themes and Apps] movelbit:
thank you for the quick reply.

i rebooted transformer, did the steps again on connectbot to start ubuntu and used following details in androvnc:

username: root

password: ubuntu

server: localhost

and connected. it worked perfect now :)

thats a great job. and I bought your paid version. that was my "beer" for you ;)
[Eee Pad Transformer Themes and Apps] devwithzachary:
glad to hear it, and thank you, even if in the sad state of the world is not even half a pint :( :P haha but thank you very much for buying
[Eee Pad Transformer Themes and Apps] movelbit:
working on ubuntu with touchpad mode on androvnc is really great! ;)

in case you want to take a note:

in TF101 optimal resolution can be 1280x750 (same resolution using at the moment, and its acceptable)

its not 1280x800 because bottom ICS bar is 50px height.

also, in case you want to add to compatible list, I am using stock ICS 4.03

oh. another thing: auto launch widget or app link are not working. none of them.
[Eee Pad Transformer Themes and Apps] devwithzachary:
Thank you

RE the widget/link where are you files located? at the moment to use the widget they have to be in sdcard/ubuntu the internal memory is mounted as sdcard so the files need to be in a folder called ubuntu on your internal memory
[Eee Pad Transformer Themes and Apps] movelbit:
again, thank you for the quick reply.

that's probably the problem. I am using it on /sdcard/ubuntu (thats the internal memory).

Your widget runs the script + androvnc or only the script?

Should it be faster on internal memory or sdcard?

I will post here a screenshot with 1280x750 in few minutes :) You may use it if you like it.
[Eee Pad Transformer Themes and Apps] movelbit:
here is the screenshot:
[Eee Pad Transformer Themes and Apps] boidlo:
Hey!

I came back to say that it was working!

ICS - scriptV6 and large ubuntu 12.04.

Thanks for your hard work,

Yoann
[Eee Pad Transformer Themes and Apps] bgiesing:
I am trying to install and I am getting the same errors everybody is getting however I am also getting one saying Block Device not found.

When I go to /dev/block, I see "loop255" but it is called "2012 loop255". Actually all my loop devices are.

Can somebody help me please. I am on AOKP Build 32

EDIT: I updated to Build 33 of AOKP and it is still doing it.

Here is the output from the terminal:

app_85@android:/ $ export PATH=/data/local/bin:$PATH

app_85@android:/ $ su

app_85@android:/ # cd /sdcard/ubuntu

app_85@android:/sdcard/ubuntu # sh ubuntu.sh

Loop device exists

mount: mounting /sdcard on /data/local/mnt/sdcard failed: I/O error

mount: mounting /Removable/MicroSD on /data/local/mnt/external_sd failed: I/O error

net.ipv4.ip_forward = 1

ubuntu.sh[58]: cannot create /data/local/mnt/etc/resolv.conf: Not a directory

ubuntu.sh[59]: cannot create /data/local/mnt/etc/resolv.conf: Not a directory

ubuntu.sh[60]: cannot create /data/local/mnt/etc/hosts: Not a directory

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

eth0: No such device

chroot: can't execute '/root/init.sh': Not a directory

Shutting down Ubuntu ARM

failed: I/O error

failed: I/O error

losetup: /dev/block/loop255: No such device or address

1|app_85@android:/sdcard/ubuntu #
[Eee Pad Transformer Themes and Apps] r3v0l3d:
performance of this ubuntu chroot app

hello,

i would like to know what the performance is like, could someone please post their experience using it on the transformer or a short video.

sorry if this is a stupid question or I posted it in the wrong place, i tried to do it wright and will try not to make the same mistake again, noob.
[Eee Pad Transformer Themes and Apps] darks1der:
Hye guys,

Got an issue when trying to run Ubuntu 12.04.

After running:

su

cd /Removable/SD

sh ubuntu.sh

i get this:

Checking loop device... MISSING

Creating loop device... OK

net.ipv4.ip_forward = 1

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

eth0: No such device

Now enter the screen size you in pixels (e.g. 800x400), followed by [ENTER]:

1280x750

/root/init.sh: line 48: read: read:error: 0: Input/output error

Save this as default? (y/n) (to remove default delete the file /root/bootdefaults.txt)

/root.init.sh: line 50: read:read:error 0: Input/output error

/root.init.sh: line 51: [: ==: unary operator selected

/root.init.sh: line 81: /bin/su: Input/output error

/root.init.sh: line 83: /ect/init.d/ssh: Input/output error

If you see the message 'New 'X' Desktop is localhost:0' then you are ready to VNC into your ubuntu OS..

If VNC'ing from a different machine on the same network as the android device use the 1st address below:

/root.init.sh: line 93: /bin/grep: Input/output error

/root.init.sh: line 93: ifconfig: command not found.

If using androdVNC, change the 'Color Format' setting to 24-bit colour, and once you've VNC'd in, change the 'input mode' to touchpad (in settings)

To shut down the VNC server ad exit the ubuntu enviroment, just enter 'exit' at this terminal - and WAIT for all to shutdown routines to finish!

Can't seem to get it working properly. Had no issue's when using your installation on my Desire Z. But i can't sem to get it running on my TF101.

Any advice would be greatly appreciated.

_________________________________________________________________

Also zacthespack has anybody succesfully installed your Backtrack image on The TF101? If not i'm willing to give it a try.

I have already tryed getting it to run native using Frank's Tools and Lilsteve's guide. But can't seem to get it booting.

If anybody has, what tools are currently running on the tegra2 chip?

Thanks very much for great work on the guides and images :D:D

__________________________________________________________________

Got it working. I didn't think after about 30 hours of being awake. SDcard is onboard on TF101. Damn you insomnia.
[Eee Pad Transformer Themes and Apps] darks1der:
I've got Ubuntu installed and working. But now every time i exit from ubuntu using exit in terminal it corrupts my ubuntu.img. I'm getting the following error when trying to boot up for a second time

Validating image checksum..... FAILED!

Error: Checksum failed! The image is corrupted!

All i can do then is remove all the Ubuntu files and have to start again.

Anybody else got this issue. It doesn't matter what image Ubuntu/Backtrack/Debian
[Eee Pad Transformer Themes and Apps] encephalonM:
got the same "Checksum failed!" message.

the thing is, that I downloaded to my PC and checked the MD5 and it was equal.

but on my tf I checked the md5 (with md5 checker) and it is not the same.

tried to move /copy/download the file in few ways, even downloaded it directly to my tf and extract ... but still ...

can it be bcz of the android partition not being able to deal with big files ?

trying backtrack

tf101 16GB (wifi only)

rom: megatron 1.16

kernel: gunfabio 21.5

OC: 1.5 Hz

:-(

correction - for me it doesn't work even once. I sure like the concept though, and will appreciate a script that will

support different install dir (like MicroSD or SD)

10x
[Eee Pad Transformer Themes and Apps] JoinTheRealms:
Works great , nice and easy to get running.
[Eee Pad Transformer Themes and Apps] bkmo:
Yup, same thing here.
[Eee Pad Transformer Themes and Apps] devwithzachary:
Simply delete the ubuntu.img.md5 file, this is meant to be deleted after the first boot but seems on some devices is not anymore, it will only be equal on first boot as once you have booted things get changed within the image so its md5sum changes
[Eee Pad Transformer Themes and Apps] encephalonM:
well... yep. erasing the md5 file worked.

I d/l the backtrack img and ubuntu img with my pc, moved it to class 10 ntfs formatted card and then,

binded the SD card lib to my /sdcard/ubuntu or backtrack in terminal.

mount -o bind /Removable/SD/ubuntu/ /sdcard/ubuntu

mount -o bind /Removable/SD/backtrack/ /sdcard/backtrack

and run the script... walla !! both works, great job for the OP.

backtrack works (in gui I only tested firefox that worked, but the backtrack tools didn't but I guess that needs some tweaking.

ubuntu works (haven't tried anything yet, just logged on couple of times)

rom: megatron

kernel: guavor 21.5
[Eee Pad Transformer Themes and Apps] darks1der:
Works fine for me now after removing the MD5 file.

Is there a way to get another desktop working on the Full ubuntu image?

I've tried with Lubuntu & Kubunt, they will install fine but i can't acctually select anything as i cannot see a login screen.

Is this because Unity isn't fully rendering on Tegra 2?
[Eee Pad Transformer Themes and Apps] encephalonM:
well, two problems -

1. can't start the script more then once without rebooting the device, I think it's bcz the script doesn't succeed in removing all the mounts and block create on first execution.

the message I get -

Checking loop device... FOUND

mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument

Error: Unable to mount the loop device!

2. in backtrack and also in ubuntu the Terminal doesn't work, I get fail to start child process or something like this.

the first prob, i will check the script later to try and find a solution,

for the second I have no idea .... anyone ? :(
[Eee Pad Transformer Themes and Apps] darks1der:
I can use the terminal no problem.

And you can use you terminal emulator to do terminal commands.

Once your at root@localhost: then you should be able to enter terminal commands.
[Eee Pad Transformer Themes and Apps] encephalonM:
the terminal works, just not in the gui using VNC.

it give me : "there was an error creating a child process for this Terminal"
[Eee Pad Transformer Themes and Apps] *Detection*:
VNC connection failed!

failed to connect to localhost/127.0.0.1 (port 5900):

connect failed: ECONNREFUSED (Connection refused)

First attempt ^^^
[Vibrant Q&A, Help & Troubleshooting] stncldtex:
Well after what I hope was a bad download my Vib is toast! I need to send it back to T Mo. If I format the internal sd will that get rid of all the non stock files?:)
[Vibrant Q&A, Help & Troubleshooting] VibrantThemer:
Yes and no. ODIN stock then format the internal. Then ODIN one more time. And if you have GB boot loader, ODIN the Froyo boot loader. I'm not sure if anyone have euclair boot loader.
[Vibrant Q&A, Help & Troubleshooting] stncldtex:
That did it ,thanks
[Hardware Hacking General] PsYcHoTiC_MaDmAn:
I've spent some time searching looking for something on the subject, but haven't found anything that seems to cover it (does that make me special (I did laugh at the video), but enough off topic).

so I specifically have the Samsung Galaxy Note. though I realise in a lot of ways its really just a big S2 in most regards. and I suspect several other devises that would be comparible.

I'm currentlty using a dual charging dock station which I bought cheaply of amazon, and that gives me sync and power. having looked inside the case there loads of spare room in there. and so I'm wondering about playing around with the MHL adapter and ideally something like the audio out with the official samsung dock.

from what research I've done the note senses what type of dock its in by the resistance on pins 4 and 5. now even with my basic electrical skills it seems rather easy to put in a 3 way switch to select between these

obviously the guts for the HDMI out would be from a MHL adapter, and that should be possible to power through the standard connectors on the current dock. but what I cant seem to find would be the associated parts for the audio (dont want to buy the official samsung dock just to rip it apart) (one thread on here about stripping the cable back to power and then the 3 inner wires were left, right and ground, but didn't see any evidence of that method working)

the audio aspect has another relevence for me, as I'm also wondering about a note dock/speaker set up (cheap 2.1 speakers, rehouse the sub to a case that incorperates the mUSB connector, audio components, and power, so that other than speaker cables and one power cable that'd be it (currently use a Sony NWA-3000 plugged into old pc speakers for such night time listening)

so thoughts and advise (specifically on the audio aspect)