[HOWTO] All-in-one solution for Ubuntu 10.10 Linux on Android

Danation

Senior Member
Dec 9, 2009
182
212
0
Yeah if you installed android on your hd2 I don't think another Os emulator is gonna run from it, the load would be too much.
The HD2 can run Android from NAND now, so WinMo isn't necessary.

I followed this guide, and it worked fine on the HD2 :)

I can't boot it the other way from Android, you can only boot into Ubuntu from WinMo, unfortunately.
 

xmaskx

Senior Member
May 3, 2010
114
2
0
H'm.
I get invalid argument when it comes to mount the loop.
Two times it worked already but then very long not...

sent from my MIUI HTC HD2
 

thedicemaster

Senior Member
May 10, 2009
1,747
852
133
How long will it take?

It says ´Please wait while booting.img.. this can take some time....´

Waiting for over 15 minutes now.
stop waiting, and launch your vnc client.
the "this can take some time" is about the same amount of time it takes to find and launch your vnc app.
it never shows a message telling you it's done.
 

Jrkoffjonson

Senior Member
Dec 27, 2010
122
32
0
Brick
I haven't gotten the chance to look through all the pages on this forum but when I go to run ubuntu.sh i get this

Code:
/ $ su
/ # cd /sdcard/ubuntu
/sdcard/ubuntu # sh ubuntu.sh
: not foundline 9:
, File existsfor /data/local/ubuntu
: not foundline 11:
failed: No such file or directory
: not foundline 13:
failed: No such file or directorylocal/ubuntu
failed: No such file or directoryal/ubuntu
failed: No such file or directoryl/ubuntu
: not foundline 17:
sysctl: short write
: not foundline 19:
waiting for things to settle...
: not foundline 22:
Running ubuntu!
': No such file or directorybash
: not foundline 25:
: No such file or directorylocal/ubuntu
: No such file or directorylocal/ubuntu
: No such file or directorylocal/ubuntu
: No such file or directorylocal/ubuntu
: not foundline 32:
/sdcard/ubuntu #
Any ideas? :[
 

SilverHedgehog

Senior Member
Oct 30, 2010
458
163
0
Cupertino
Okay, I really need some help with this stuff, Mac OS just doesn't allow me to resize anything at all, I just don't know what to do.
Could somebody make me a 1GB image?
All I need is:Firefox, Thunderbird, openoffice.org, GIMP, Transmission BitTorrent Client, eVince PDF Viewer, File Manager, Terminal, Image Viewer, Leafpad Text Editor, Synaptic Package Manager and Ubuntu Software Center, Gnash.
I just can't do it myself.
 

xmaskx

Senior Member
May 3, 2010
114
2
0
I can't resize smaller than 2500M. Or you will get consistency error.

Before you use the uec tool, make e2fsck with -f it was I think if you can't even resize it to 2500M. Confirm all with y.

That way it worked for me.

sent from my MIUI HTC HD2
 

tr82691

Senior Member
Sep 15, 2010
715
19
0
Whittier
files download in different format

hey has anyone gotten a weird format for the files when they download them? they dont download as a zip they download as a "001 file" format. any help? thanks.
 

bluesky123

New member
Oct 8, 2008
1
0
0
How to change resolution?

...how to change the display resolution?
Works on Viewsonic g Tablet (with VEGAn-TAB GingerEdition RC1), but the resolution is only 800x600...
I tried to change it via Preferences/Monitors, but it just shows "can't determine display resolution" error.
:(
 
Last edited:

SGCMarkus

Recognized Developer
Jan 10, 2011
1,075
2,082
143
hi,

i've a problem with the uec-resize-image file :/
it shows a lot of errors :(

can anyone reupload the file as small as possible?
 
Last edited:

androc

Member
Mar 14, 2011
14
0
0
hi,

i've a problem with the uec-resize-image file :/
it shows a lot of errors :(

can anyone reupload the file as small as possible?
Did you try running fsck manually before resizing? Worked for me that way...

Code:
e2fsck -f ubuntu.img
uec-resize-image ubuntu.img 2500M ubuntu2.img
 

homarr1

New member
Nov 1, 2010
3
0
21
Hi to all,

works very well with HTC Desire HD with stock rom.

Ubuntu can connect to internet via phone wi-fi card and have access to sd card contents and I can connect to os with vnc from a PC on the lan. Wow!

Speed is very good considering the hardware.

Now two questions:
I'd like to use a quite tiny 64 bit application we developed but this cpu and the os are 32bits so it can't be installed? or I'm wrong?

Commands inside ubuntu to stop os or logout don't work; how can it be stopped?

Thanks in advance; congratulations for this awesome site!
 

bernabap

Senior Member
Jul 25, 2009
217
16
0
Fire314 or anyone,

I am executing line by line to debug my problem, and I found that after this command:
"busybox mount -o noatime /dev/block/loop255 /data/local/mnt" if go to /data/local/mnt there is a lot of images and some files that seem to be some kernel crash and all next commands failed.

ani_upload_1_kernel_panic.jpg
ani_upload_2_cp_crash.jpg
ani_upload_3_forced_upload.jpg
ani_upload_4_power_reset.jpg
ani_upload_5_user_fault.jpg
charging.jpg
debug_level.inf
dummy.bin
logo_B.jpg
logo.jpg
logo_L.jpg
logo_s1ntt.jpg
logo_T.jpg
movinand_checksum_done
movinand_checksum_pass
nps_fail.jpg
nps_status
param.blk

Anyone know what this files mean? Kernel crash?

My /proc/mounts at last line:
/dev/block/loop255 /data/local/mnt j4fs rw,noatime 0 0

Is this correct?
On my Desire that I could successfully chroot it shows:
/dev/block/loop255 /data/local/mnt ext2 rw,noatime,barrier=1,data=ordered 0 0

I tried to force:
#busybox mount -t ext2 /dev/block/loop255 /data/local/mnt
but:
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument

Runing on my SGS I9000B 2.2.1 ZSJPK kernel K13E with recommended tweaks ON
/system/xbin/su OK
/system/xbin/busybox OK
all working fine

Thanks

EDIT: found my problem, I just had to enable extX support on my kernel! Duh
 
Last edited:

Jeroemaster

Member
Dec 12, 2010
20
5
0
I got Ubuntu working after several hours ...
But I can only view the files I have on my sd card and external sd card, none of the programs start.
I'm on a Galaxy S I9000