Jump to content

Ubuntu Streak, Works ... Sort of ...


Recommended Posts

Guest jdouce
Posted (edited)

Its possible to run native ubuntu, dual boot.Have one boot.img installed on the boot partition and the other in the recovery partition. Reboot into recovery and it boots the ubuntu boot.img which loats a .ext2 file system from the sd card.

you need a ubuntu.ext2 filesystem on the root of the sd card

doesnt have to be ubuntu... but has to be named ubuntu.ext2

http://www.htc-linux.org/wiki/index.php?title=Builds

there are various builds here... the HD2 LEO one works ... out of the box v0.3 you dont need the other garbage from the download just the rootfs.ext2

this boot img will boot ubuntu.ext2 from /sdcard/root

http://forum.xda-developers.com/attachment...mp;d=1287521849

boot to fastboot

fastboot 0x413c flash recovery boot.img

reboot into recovery will boot the linux partition...

im going to try the other filesystems at some point.

easy to experiment .. just through various ubuntu.ext2 on the sd card and try to boot

Edited by jdouce
Guest gingernator
Posted

If this is at all possible, I would be a very happy man!

Guest jdouce
Posted

its possible

its been done on a lot of android devices and even some winmo one

i have no idea how to do it ...

but ...

10.04 can use the 3g modem in the device so u can use mobile internet natively... no messing around..

and with the huge screen .. this could be interesting

Guest gingernator
Posted

Canonical are making a tablet flavour anyway with better onscreen keyboard support and a more touch friendly GUI.

Engadget article

Guest maskaler
Posted

Although the NBR flavours are more lightweight, I don't think they're at all suited to touchscreens, though as gingernator says they're making a more touch-friendly version which would definitely be worth exploring.

Guest jdouce
Posted

yes but i dont want to wait till 2011 for itlol

  • 2 weeks later...
Guest jdouce
Posted

i got this running 2. we need an arm img for the 10.04 ubuntu netbook... much more portable device friendly.

Guest maskaler
Posted
surly theres a linux on screen keyboard

Next steps are confirm bluetooth mouse + keyboard work, then get the HDMI out working for the ubuntu desktop. Mobile dev machine ahoy! You could write Android apps using ubuntu on your android phone and deploy them to the device as you're using it, maybe.

Guest courtlandre
Posted

This is just a virtual machine though, so wont it always be extremely slow until it runs natively?

Guest jdouce
Posted

ubuntu isnt resource heavy... itll have 300mb ram to use

Guest jdouce
Posted (edited)

duplicate post

Edited by jdouce
Guest jdouce
Posted (edited)

duplicate post

Edited by jdouce
Guest jdouce
Posted

someone open pkg manager and try 10.04 update :angry:

im not at home atm so dont have fast net to do it

Guest JimiB
Posted

Could we use the same technique to install one of the following:

  • Maemo (debian based linux for mobile devices (N900))
  • Meego
  • Moblin (potential issue witht his being an intel based distribution)

We can get the N900/810/800/770 but it's not source... we could try one of those but compiling from source would be desirable.

-Jimi

Guest jdouce
Posted

if you can get a .img should be just a case of swapping it over in the /ubuntu folder

Guest rza.android
Posted

tried upgrading to lucid but update manager crashes ?

whats a good onscreen keyboard to use ?

Guest Warpedflash
Posted (edited)

I want to try doing this but my adb shell wont play nice. im on win 7 x64 and i all get is

C:\Users\Rowan\My Code\Android\tools>adb.exe devices

adb server is out of date. killing...

* daemon started successfully *

List of devices attached

0354000030058699 device

C:\Users\Rowan\My Code\Android\tools>adb shell

error: closed

Anyone have an idea?

Edited by Warpedflash
Guest jdouce
Posted

Use linux lol try

Adb kill-server

Adb devices

I had a few issues too

Guest Warpedflash
Posted
Use linux lol try

Adb kill-server

Adb devices

I had a few issues too

Ok now I am just stuck... I have updated busybox using the rather nice app in teh market but cannot get this working at all...

# ls -l

ls -l

-rwxrwxr-x	1 1000	 1015		  1008 Jul  5 23:41 ←[1;32mbootubuntu←[0m

-rwxrwxr-x	1 1000	 1015		   102 Jan  9  2009 ←[1;32mfsrw←[0m

-rwxrwxr-x	1 1000	 1015		   866 Mar 13  2009 ←[1;32mmountonly←[0m

-rwxrwxr-x	1 1000	 1015	 2147483648 Jul  6 00:37 ←[1;32mubuntu.img←[0m

-rwxrwxr-x	1 1000	 1015		   881 Jul  5 19:52 ←[1;32mubuntu.sh←[0m

-rwxrwxr-x	1 1000	 1015		   420 Jan  9  2009 ←[1;32munionfs←[0m

# su

su

# sh ./ubuntu.sh

sh ./ubuntu.sh

modprobe: chdir(/lib/modules): No such file or directory

←[H←[Jmkdir: can't create directory '/data/local/mnt': File exists

←[H←[Jrm: invalid option -- /

BusyBox v1.16.2 (2010-06-14 22:52:00 CEST) multi-call binary.


Usage: rm [OPTIONS] FILE...


Remove (unlink) FILEs


Options:

		-i	  Always prompt before removing

		-f	  Never prompt

		-R,-r   Recurse


chmod: bootubuntu: Operation not permitted

chmod: fsrw: Operation not permitted

chmod: mountonly: Operation not permitted

chmod: ubuntu.img: Operation not permitted

chmod: ubuntu.sh: Operation not permitted

chmod: unionfs: Operation not permitted

←[H←[J

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 NexusOneHacks.net


To enter the Debian Linux console just type 'bootubuntu'


# bootubuntu

bootubuntu

mknod: /dev/loop2: File exists

mount: can't setup loop device: No such file or directory

mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct

ory

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

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/mnt/etc/resolv.conf: directory nonexistent


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


Setting localhost on /etc/hosts

bootubuntu: cannot create /data/local/mnt/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

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

#


#

Am I missing a stage or something here? I have gone over the instructions a few times and always get the same results. Any Ideas?

Guest Davyb
Posted

check the bottom of the instructions page, i believe there is a new bootubuntu script i downloaded

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.