[APP][1.6+] Ubuntu Installer PLEASE CLOSE THREAD MOVED TO NEW THREAD

Status
Not open for further replies.
Search This thread
S

siggismallz

Guest
:/ Message is too short
 

Attachments

  • Screenshot_2012-03-30-14-46-56.jpg
    Screenshot_2012-03-30-14-46-56.jpg
    50.2 KB · Views: 267
  • Screenshot_2012-03-30-14-47-04.jpg
    Screenshot_2012-03-30-14-47-04.jpg
    50.7 KB · Views: 225

blisslove

Senior Member
May 12, 2009
415
59
Hi, I have successfully connected with AndroidVN but I can only see blank screen and mouse cursor even I set 24 bit at Android VN app.

I've tried 800x480 and 1024x768 resolution.
My phone is Motorola Razr XT910.

Sent from my XT910 using XDA
 

devwithzachary

Inactive Recognized Developer
Oct 12, 2009
2,934
1,899
31
London
Huawei P40
Hi guys, sorry I have not been around, been very busy build the new debian images and getting the new apps ready.
would like to thank everyone who has been trying to help others its what android is all about after all :)

Once the new apps are out it comes back round for Ubuntu to get some update love including new images and other features :D
 

12nala34

Senior Member
May 26, 2008
87
1
Silesia
Something already mounted on loop255 ?
give those commands :
'uname -a' + 'ifconfig' + 'mount'
just before launching the script

How can I check if is something mounted on the loop? Giving "mount" command in terminal it doesn't sey anything about any loop. I have tried to use another loop (for example loop2, loop7), but without any success. Still I can losetup img on the loop, but I can't mount loop on mnt.

losetup /dev/block/loop255 $kit/ubuntu.img -> seems OK
mount -t ext2 /dev/block/loop255 $mnt -> it causes error:

mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device

... but one line before there is "Loop device exists". :confused:

Could be the file system a problem? Here I mount in ext2 (-t is option to choose file system) but when I write only "mount" in the terminal it doesn't mention in any line about ext2 file system. Only about yaffs2.

Code:
sh ubuntu.sh
Loop device exists
mount: mounting /dev/block/loop255 on /data/local/mnt failed: No such device
net.ipv4.ip_forward = 1
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
lsof: WARNING: can't stat() yaffs2 file system /cache/recovery (deleted)
      Output information may be incomplete.
umount: can't umount /data/local/mnt/external_sd: No such file or directory
umount: can't umount /data/local/mnt: Invalid argument
#
 
Last edited:

devwithzachary

Inactive Recognized Developer
Oct 12, 2009
2,934
1,899
31
London
Huawei P40
Complete Linux Installer Beta released!
The first version of the new signal paid app has been release to the market!
This is a beta version as a few features do not yet works but by the end of the weekend these should be fixed.
Features of the new app include

*Install guides for Ubuntu and Backtrack (Debian to come soon!)
*All updates for all linux distros before other apps
*All features from the paid ubuntu and backtrack apps
*Boot widgets for all support linux distros (however this is not included in this version, will be in next update!)

The idea behind this app is that by buying this app you will get all future Linux distros that I support included in the app, thus this will be the last linux installer you will ever need to buy!
It will always feature everything that I do for the linux on android project.

The first thing you will get before anyone else will be the debian install guide and fast downloads for it, I am just waiting for the files to upload to the server so this should be done hopefully tonight!

There is only one bug right now and that is the lack of widgets, I had some problems getting more than one widget to work but should have this fixed by the end of the weekend.

This is by no means the finished project and is a BETA, but if you can't wait buy now and get the updates right away :D

https://play.google.com/store/apps/details?id=com.zpwebsites.completelinuxinstaller

After I have released the debian free app and added debian to the complete app I shall be creating a new thread that will cover all the apps as after all It is no longer just ubuntu installer :) as always I am rather busy right now, so if you find your not getting the help your need from the forums please feel free to email me!
zac@zpwebsites.com
 

DarkhShadow

Senior Member
Sep 25, 2011
1,808
268
Essex
Complete Linux Installer Beta released!
The first version of the new signal paid app has been release to the market!
This is a beta version as a few features do not yet works but by the end of the weekend these should be fixed.
Features of the new app include

*Install guides for Ubuntu and Backtrack (Debian to come soon!)
*All updates for all linux distros before other apps
*All features from the paid ubuntu and backtrack apps
*Boot widgets for all support linux distros (however this is not included in this version, will be in next update!)

The idea behind this app is that by buying this app you will get all future Linux distros that I support included in the app, thus this will be the last linux installer you will ever need to buy!
It will always feature everything that I do for the linux on android project.

The first thing you will get before anyone else will be the debian install guide and fast downloads for it, I am just waiting for the files to upload to the server so this should be done hopefully tonight!

There is only one bug right now and that is the lack of widgets, I had some problems getting more than one widget to work but should have this fixed by the end of the weekend.

This is by no means the finished project and is a BETA, but if you can't wait buy now and get the updates right away :D

https://play.google.com/store/apps/details?id=com.zpwebsites.completelinuxinstaller

After I have released the debian free app and added debian to the complete app I shall be creating a new thread that will cover all the apps as after all It is no longer just ubuntu installer :) as always I am rather busy right now, so if you find your not getting the help your need from the forums please feel free to email me!
zac@zpwebsites.com

*buys*

Sent from my ice cream powered Nexus S
 
  • Like
Reactions: devwithzachary

Fastrite

Senior Member
Hey Fastrite and 12nala, looks like its a simple issue with the directories not being made for mounting. I had that problem with older scripts, but the newer ones work fine. Perhaps you are using an outdated script file?

If you are sure you are using the latest script you can always create the directories yourself. Either use a file explorer with root access like FX file explorer and make the folders

/data/local/mnt/sys
/data/local/mnt/proc
/data/local/mnt/dev/pts
/data/local/mnt/sdcard

Or you can go to the terminal and type:

su
mount -o rw,remount /
mkdir /data/local/mnt/sys
mkdir /data/local/mnt/proc
mkdir /data/local/mnt/dev/pts
mkdir /data/local/mnt/sdcard


Then just rerun the script.
If you get any other errors post em here and I'll try to help.

Sent from my LG-P999 using xda premium

Thanks for that.
I have created the directories as suggested which seems to have sorted part of the issue but there are more! See screenshot attached.
I have also attempted some of the other suggestions that have been posted but haven't got any where.
Any ideas?
 

Attachments

  • Screenshot_2012-03-31-17-07-22.jpg
    Screenshot_2012-03-31-17-07-22.jpg
    31.1 KB · Views: 252

12nala34

Senior Member
May 26, 2008
87
1
Silesia
Thanks for that.
I have created the directories as suggested which seems to have sorted part of the issue but there are more! See screenshot attached.
I have also attempted some of the other suggestions that have been posted but haven't got any where.
Any ideas?

Try to create also etc dir:
mkdir /data/local/mnt/etc

The loop error is different then mine. Have you tried to use other loop? For example loop0 or loop1?
 
  • Like
Reactions: Fastrite

k4p741nkrunch

Senior Member
Jun 14, 2010
512
153
Florida
Thanks for that.
I have created the directories as suggested which seems to have sorted part of the issue but there are more! See screenshot attached.
I have also attempted some of the other suggestions that have been posted but haven't got any where.
Any ideas?

Judging by the "Invalid Argument" error I would suggest it had something to do with an outdated busybox.

You could try getting "Busybox Installer" from the market.
(also found HERE)

It could also be that your kernel doesn't support loop devices, even though it says "Loop device exists". Here's why..

I've looked it the script quite a few times and can't quite grasp this:

if [ -b /dev/block/loop255 ]; then
echo "Loop device exists"

-b isn't a valid argument for 'if' at least according to the man page.

That's why just about everybody receives the message "Loop device exists" even when their kernel might not support loop devices.


I'm not entirely sure about this, but I can't find any documentation that says -b is an appropriate argument for if. I suggest changing it to a -d and seeing what happens. Zac, your thoughts on this?
 
  • Like
Reactions: Fastrite

lucmhv

Senior Member
Mar 25, 2012
57
6
SCL
Can you dual-boot it?

I love Android & Ubuntu. Maybe I missed it, but is it possible to dualboot them? (LG-P500h)
 

12nala34

Senior Member
May 26, 2008
87
1
Silesia
I've looked it the script quite a few times and can't quite grasp this:

if [ -b /dev/block/loop255 ]; then
echo "Loop device exists"

-b isn't a valid argument for 'if' at least according to the man page.

That's why just about everybody receives the message "Loop device exists" even when their kernel might not support loop devices.


I'm not entirely sure about this, but I can't find any documentation that says -b is an appropriate argument for if. I suggest changing it to a -d and seeing what happens. Zac, your thoughts on this?

I have tried to do it. I think the proper version is with -b. Why? When the loop255 exists and if is with -d argument the script want to create it again. When loop255 do not exist and if is with -b argument it is created and there is no message about loop.
 

devwithzachary

Inactive Recognized Developer
Oct 12, 2009
2,934
1,899
31
London
Huawei P40
Judging by the "Invalid Argument" error I would suggest it had something to do with an outdated busybox.

You could try getting "Busybox Installer" from the market.
(also found HERE)

It could also be that your kernel doesn't support loop devices, even though it says "Loop device exists". Here's why..

I've looked it the script quite a few times and can't quite grasp this:

if [ -b /dev/block/loop255 ]; then
echo "Loop device exists"

-b isn't a valid argument for 'if' at least according to the man page.

That's why just about everybody receives the message "Loop device exists" even when their kernel might not support loop devices.


I'm not entirely sure about this, but I can't find any documentation that says -b is an appropriate argument for if. I suggest changing it to a -d and seeing what happens. Zac, your thoughts on this?

hmmmm this might be a typo on my part! your right the -d argument is used to check if a folder is there, its been so long I don't remember why I put b

I love Android & Ubuntu. Maybe I missed it, but is it possible to dualboot them? (LG-P500h)

Not true dual boot no, running ubuntu natively requires drivers for your own device etc and very few devices have the kind of dev support needed to get this running. This method installed ubuntu within android so all the drivers are already there :)
 
  • Like
Reactions: lucmhv
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 65
    THIS PAGE IS NOW CLOSE THE PROJECT HAST MOVED TO A NEW THREAD HERE http://xdaforums.com/showthread.php?t=1585009

    I have working on a project in the form of an app, which guides you through the installation of Ubuntu within android via chroot. It includes a ubuntu 10.10 image I have been working on which includes lots of program to allow users to develop program/scripts etc within Ubuntu on there phone/tablet.

    However I have I have yet to get much testing on this device and would like more feedback from users!

    Please post your device/kernel/rom along with what did and didn't work, so I can draw up what I need to change in the next release of the app/ubuntu build.

    To keep up to date with updates and news of the project please check the website :)
    Website
    http://linuxonandroid.blogspot.com/

    Video
    http://www.youtube.com/watch?v=UCqzs8yQTM8

    App Download

    Boot Script
    ubuntu.sh(V5)

    Full Image
    This image is 1.5GB to download, once extracted 3.5GB, and include alot of programs like openoffice, thunderbird, firefox and over programs for 'developing' - Also allows you to switch between the LXDE and Gnome desktops, and you can define screen size on boot!
    ubuntuV5-image.zip

    Lightweight Image - This is yet to be included in an app, will be included in the next release (aka 2.0 ;) ), so get it now before anyone else!
    This image is just under 500MB to download, once extracted 2.5GB, and include only programs needed (LXDE desktop, web browser, + other basic programs) also allows you to define screen size on boot
    ubuntuV5-sm-image.zip

    12.04 images
    I have now started work on building new 12.04 images these come in core (just the bear-bones ubuntu) and full (ubuntu with GUI and other programs) and will be updated as 12.04 moves through its milestones (and when I make new updates to the mods I make from the main stream arm port).
    These are for testing ONLY until 12.04 reaches stable release.
    You can view the images here:
    http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/12.04/

    I also want to build up a small group of testers who I can email with new images and scripts, these will include all future distros that I do. If you are interested in joining this test group please PM me or send a email to zac@zpwebsites.com
    The only requirement is that your willing to test and send feedback along with screen shoots etc where required, it would also be good if your willing to try different roms and kernels for your device!

    Sig Banner
    Show your love of ubuntu on android with my sig banner:
    ubuntuuser.png

    image url is "http://dl.dropbox.com/u/11206993/ubuntuuser.png"

    Other Guides
    Like this guide? want to try something different? then check out my other guides for different distro's
    Backtrack - This is a distro that is based around security testing, it also includes the Gnome desktop environment and a range of other programs.

    Updates
    18/02/12
    *New 12.04 images started building, for now not included in the app but once a bit more stable will be included

    29/01/12
    *New V5 small image, featuring fixed Java, even more lightweight (now around 1.2GB free) and user can set screen size on boot
    *PAID New Build guide which shows you how to build your own Ubuntu images
    *Brand new UI To make the whole thing more useable
    *PAID new 'one click boot' feature to allow quick booting from either the widget or inside the app
    *PAID new widget to activate the one click boot
    *PAID app install guide changed in light of 'one click boot'
    *Fixed keyboard mapping of random letters in Gnome

    18/01/12
    *Large ubuntu image now allows user to set screen size on boot!
    *Large Ubuntu image now lets you select between LXDE and Gnome desktops
    *Large Ubuntu image has been recompiled to fix the likes of Java (note some of the above changes will be included in the small image in the future)
    *FAQ section updated with more answers to questions I have been getting
    *Install guide updated in light of the new large image

    06/01/12
    *PAID app file downloads now use new fast FTP server and support direct downloading (click the button to download a image and it starts to download right away)
    *New boot script which has fixed problems with it not booting on alot of devices, and fixed problem which some people getting a grey screen when loading UI
    *Boot script now downloaded in zip file to fix problems with downloading script
    *Both apps fixed to support low resolutions
    *Both apps cleaned up

    28/12/11
    *PAID app now supports 960x540 'qHD' resolution
    *ALL Ubuntu lightweight images cleaned up even more saved another 300MB of space
    *ALL Ubuntu images updated with all new updates
    *ALL Ubuntu images now in .zip format to fix problems with some peoples devices failing to extract the .rar files
    *Boot script updated, once booted now terminal acts like a command line interface for Ubuntu, and some boot problems now fixed
    *Image and boot script now downloadable separately to allow easier updating

    19/12/11
    New 'lighter' ubuntu image options for all resolutions already supported

    15/12/11
    New ubuntu images with all updates up to 15/11/11
    FREE app ubuntu image resized to fit 800x480 resolution
    PAID app ubuntu images now includes 4 images for 800x480, 854x480, 1024x600 and 1280x800 resolutions
    6
    On htc sense 3.5 doesn`t work, this is the rom i`ve tested www.sms.goodluckwith.us with your image of ubuntu(the large one)
    4
    Passion!

    zacthespack you know you are just great man...thanks a lot for your hard work because you put a lot of soul and passion here!
    3
    Hi zac,

    - I'm trying out 12.04 and it works great on my SGS2 running ICS. The only issue though is that neither the Ubuntu Software Centre nor Synaptic seem to work - I click on the icon and nothing happens. apt-get however, does work fine and I'm able to install programs from the terminal.

    - I want to increase the size of the image (using dd), but I'm not sure what block-size to use, so can you please specify what block-size you used to create the original image? Thanks.

    - Also, a suggestion: Can you provide an image with Unity-2D pre-installed, and set as default? Afterall, Unity was designed for devices with small screens / resolutions.

    - Finally, I replied to your blog post re. torrent downloads. Kindly check the same.

    Regards,
    deX

    Hi,

    Thank you for reporting to software centre issues etc i will look into this and make sure they are fixed on final release

    I will have to boot my ubuntu machine to check this drop me a email so I dont forget and I will do it in the morning for you :)

    I have been playing with Unity but there are alot of problems with getting it running over vnc on android, basiclly no icons load which is quick a big issue :p I am continuing to try to work on this and had hoped that the full image on final release from beta would feature unity but time will have to tell

    I shall check it out thanks :)
    2
    is this like a flash or a new launcher?
    i would like to test it
    lg optimus s
    kravens iho
    looks like its pretty solid would u conisder porting this to the hp touch pad?

    This is a guide to running a full ubuntu image within android, the guide includes links to everything you need etc, I have been working on the ubuntu image and guide for some time in the forums of devices I have so now want to expand to all android devices that can support it.
    Does the HP touch pad have android/a android port? If so its quite possible this would work