Jump to content

Ubuntu on vega new method


Recommended Posts

Guest owenoliver1
Posted

[ADDON] Andbuntu 11.04 Beta1 (Ubuntu Natty Narwhal)

Hi,

Here is the second version. Its not upgradeable, so delete the old /sdcard/ubuntu before.

It seems that my first zip archive was damaged(the zip software removed empty folders which were needed as configuration storage and mount points, putted dummyfiles there), i recreated and reupped it. also the vnc update is built in now.

[uninstall old via adb]

Code:

adb remount

adb shell rm /system/bin/ubuntu*

adb shell rmdir /system/ubuntu

[uninstall old from terminal]

Code:

su

mount -o remount,rw /system

rm /system/bin/ubuntu*

rmdir /system/ubuntu

[Requirements]

Rooted device(busybox not more needed, not only for xoom)

Archive from http://www.bisme.net/ubuntu.zip

Optionall an VNC client like android-vnc

[step by step]

Extract the zip to /sdcard/ubuntu

cd to this dir and type

Code:

su

then

Code:

sh ubuntu install

you will be asked a few questions, if you have no plan just press always enter. after reboot open a terminal and type

Code:

su

then

Code:

ubuntu start

then

Code:

ubuntu shell

this still takes long, you are installing here almost the complete ubuntu via internet. that are a few hundred megabytes of downloading and over one gigabyte of extracting and installing. you can also jump over this step, but then you will have no ubuntu desktop. ensure you are stable connecteed to the internet(if fails because of connection just retry this step)

Code:

installubuntu

leave with exit and on android shell type (first time it asks for a passwod)

Code:

ubuntu vnc

connect to it via: localhost:5901 using a vnc client and the password you set.

[what you got]

you start the ubuntu subsystem with ubuntu start (still chroot)

with ubuntu shell you open an bash session

with ubuntu vnc you start the vncservice

with ubuntu stop you stop (is rebooting)

with ubuntu uninstall you uninstall the script from system(directory /sdcard/ubuntu stays)

in ubuntu you can access:

android's /dev bound to ubuntu's /dev (fdisk /dev/block/mmcblk0 is working fine(sdcard). don't touch /dev/block/mmcblk1 or you'll kill your android system, maybe your whole xoom )

android's /system bound to ubuntu's /android/system

android's /data bound to ubuntu's /android/data

android's /mnt/sdcard bound to ubuntu's /adnroid/sdcard

[the tecnical side]

Ubuntu Natty Narwhal (11.04) from http://elinux.org/BeagleBoardUbuntu

dd for creating an image (the filesystem on the disk supports only files < 2GB)

image formatted with ext2

adb push /sdcard/ubuntu/img/ubuntu.img (android shell has gunzip)

chroot env

tightvnc, gnome-session, maximus

[changelog]

no image supplied, gets created while setup from a tar archive

android part script rewritten for using own busybox and own bash (to minimize the need of modifying the android system)

complete /dev of the android system is avaliable in ubuntu

main android mountpoints avaliable under /android in ubuntu

ubuntu 11.04

usage of sdcard partition is possible(more space)

system needs not to be reinstalled if you just want to install the scripts (it asks if you want to use old image, or want to leave the choosen partition untouched)

added uninstall of the android part script (the mountpoint moved to /sdcard/ubuntu/root)

[next]

rewriting ubuntu configuration script (resolution, [un]installing gnome, [un]installing kde, [un]installing xfce ...)

providing preinstalled images for gnome, kde and xfce, so there is no need for installubuntu step anymore

app instead script

[ideas]

weirdx

wayland

Have Fun

Ralph

Kanged from http://forum.xda-developers.com/showthread.php?t=987740

Guest ptbw
Posted
[ADDON] Andbuntu 11.04 Beta1 (Ubuntu Natty Narwhal)

...

Hi

What kernel are you using on your Vega to be able to do this, as my install fails with:

ioctl LOOP_SET_FD failed: Device or resource busy

ubuntu: /mnt/sdcard/ubuntu/tools/ubuntu: not found

Which I suspect means I have no loop support in my kernel for mounting the Ubuntu image.

Thanks

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.