Linux on android - Galaxy S III Q&A, Help & Troubleshooting

I try to install ubuntu on my i9300
I have an issue in terminal when i write the code: sh ubuntu.sh
Its appear an error..
Code:
[email protected]:/ $ su
[email protected]:/ # cd sdcard/ubuntu
cd sdcard/ubuntu
[email protected]:/sdcard/ubuntu # sh ubuntu.sh
sh ubuntu.sh
mkdir failed for /data/local/mnt, File exists
mount: Operation not supported on transport endpoint
mount: Operation not supported on transport endpoint
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
net.ipv4.ip_forward = 1
ubuntu.sh[30]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[31]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[32]: can't create /data/local/mnt/etc/hosts: No such file or directory
ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
BusyBox v1.21.1-jb bionic (2013-07-25 21:23 +0100) multi-call binary.
Usage: chroot NEWROOT [PROG ARGS]
Run PROG with root directory set to NEWROOT
Shutting down ubuntu ARM
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
losetup: /dev/loop7: No such file or directory
1|[email protected]:/sdcard/ubuntu #
Sent from my GT-I9300 using Tapatalk 4

This is the wrong forum .
See third post down.

Related

[DEV] [HACK] Maemo 5 via VNC (UPDATE)

This hasn't been thoroughly tested as i'm on a Desire and have issues getting Ubuntu to start up due to some kernel issues regarding loopback devices but this should (Theoretically ) work.
If you'd like to test this out you have to first use the following tutorial
http://forum.xda-developers.com/showthread.php?t=718952
Then replace the ubuntu.img of that package with this... (I kept the .img named ubuntu.img so as to alleviate the need to modify the bootubuntu chroot script)
http://www.multiupload.com/CO5NRRKN80
Post back here if it works.
I've attached a file with the five scripts that you need to boot this .img. Do NOT download the package in the first thread as that is for ubuntu.
In short...
1. Create a folder on the root of your sdcard called ubuntu
2. Extract both scripts.rar and ubuntu.rar in that folder
3. Follow the tutorial as posted in the first thread that I linked.
Upon performing sh ./ubuntu.sh and bootubuntu with new ubuntu.img, i received the following:
Code:
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
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 directory
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
#
So ur saying replace the Ubuntu img nd replace it with what u posted maemo 5? N how how I boot then
Su
Su
Bootubuntu?
Sent from my Nexus One using XDA App
got a loop /dev/loop1:no such devices or address
lemme try these new scripts..
got this
# su
# bootubuntu
failed: No such file or directoryk3 on /system
mknod: not found
mount: not found
mount: not found
mount: not found
mount: not found
sysctl: not found
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
: directory nonexistentte /data/local/mnt
: directory nonexistentte /data/local/mnt
Setting localhost on /.etc/hosts
: directory nonexistentte /data/local/mnt
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
chroot: not found
: not found
: not found
Shutting down Ubuntu but when i replace them with my old ubuntu files, ubuntu runs fine on or off the computer...mayb make this directory /data/local/mnt?
Yes, su su bootubuntu
I think I may need to make a slight modification to together boot script. Bear with me.
http://forum.xda-developers.com/attachment.php?attachmentid=359312&d=1279019428
Updated scripts.
Has anyone tried the new scripts yet?
Edit: double post...
I Did, i re-ran sh ./ubuntu.sh and then just in case, ran su su twice, then ran bootubuntu. results:
Code:
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'
# su
# su
# bootubuntu
failed: No such file or directoryk3 on /system
mknod: not found
mount: not found
mount: not found
mount: not found
mount: not found
sysctl: not found
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
: directory nonexistentte /data/local/mnt
: directory nonexistentte /data/local/mnt
Setting localhost on /.etc/hosts
: directory nonexistentte /data/local/mnt
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
chroot: not found
: not found
: not found
Shutting down Ubuntu
umount: not found
umount: not found
umount: not found
umount: not found
#
cmonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
It would be really good if we can modify the scripts so we are able to still run ubuntu and maemo5 don't you guys think?

Ubuntu on android...

So I've been trying to use Ubuntu installer from the android market and I can't get it to work. This is where I'm at" 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 AndroLinux.com ,G2Hacks.com and NexusOneHacks.net
To enter the Ubuntu Linux console just type 'bootubuntu'
# bootubuntu
losetup: /dev/block/loop1: No such file or directory
mount: mounting /dev/block/loop1 on /data/local/ubuntu failed: Invalid argument
mount: mounting devpts on /data/local/ubuntu/dev/pts failed: No such file or directory
mount: mounting proc on /data/local/ubuntu/proc failed: No such file or directory
mount: mounting sysfs on /data/local/ubuntu/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/ubuntu/etc/resolv.conf: directory nonexistent
bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexistent
Setting localhost on /etc/hosts
bootubuntu: cannot create /data/local/ubuntu/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/ubuntu/dev/pts: No such file or directory
umount: can't umount /data/local/ubuntu/proc: No such file or directory
umount: can't umount /data/local/ubuntu/sys: No such file or directory
umount: can't umount /data/local/ubuntu: Invalid argument
losetup: /dev/block/loop1: No such device or address
# "
I believe there is a kernel incompatibility...I've used faux's and clemsyn's kernels. Does anyone know if they support the loopback device, or do I have to compile my own kernel?
Sent from my MB860 using Tapatalk
for some reasons Ubuntu can't start with blur roms.
But it fully works on CM7/CM9
I'm running cm7 :/
Sent from my MB860 using Tapatalk
try this one http://forum.xda-developers.com/showthread.php?t=1390351
I have this version allways when I've got CM9

Backtrack 5

Has anyone had any success in booting Backtrack 5 on their Nexus 10?
I just unlocked, rooted, and added the cyanogenmod to my phone.
But I can't seem to get backtrack to launch, and get the below errors:
[email protected]:/ # su
[email protected]:/ # cd /sdcard/bt5
[email protected]:/sdcard/bt5 # sh bootbt
mkdir failed for -p, File exists
Loop device exists
ioctl LOOP_SET_FD failed: Device or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bootbt[23]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
bootbt[24]: can't create /data/local/mnt/etc/hosts: No such file or directory
chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM For Xoom
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
1|[email protected]:/sdcard/bt5 #
Click to expand...
Click to collapse
and I basically followed these steps.
http://back-track-linux.blogspot.com/2012/10/install-backtrack-on-android-tablet.html
I'd guess that the script they're using to start it isn't set up for the path storage is mounted to on the N10. I'd check myself, but it seems you need to download the whole thing to just get the script, and I"m not doing that.
If that's the case, it should be a pretty easy fix.
I know this an old thread but i would try
Code:
cd /storage/emulated/legacy/bt5/

Trying to run BackTrack 5 on my Galaxy S3

Alright. I'm attempting to get backtrack running. Obviously. Here's my terminal thus far.
[email protected]:/ $ su
[email protected]:/ # cd sdcard/BT5 # sh bootbt
[email protected]:/sdcard/BT5 # sh bootbt
Loop device exists
open backing file failed: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bootbt[23]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
bootbt[24]: can't create /data/local/mnt/etc/hosts: No such file or directory
chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM For Xoom
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
1|[email protected]:/sdcard/BT5 #
As you can see. I have superuser rights and the file exists in that area. So I'm not sure why it won't work.
I'm running CyanogenMod 10.1.2 and I have busy box smart installed using the Terminal Emulator. Downloaded backtrack 5 arm version from the website itself and extracted it to sdcard/BT5
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
ryno9100 said:
Alright. I'm attempting to get backtrack running. Obviously. Here's my terminal thus far.
[email protected]:/ $ su
[email protected]:/ # cd sdcard/BT5 # sh bootbt
[email protected]:/sdcard/BT5 # sh bootbt
Loop device exists
open backing file failed: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bootbt[23]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
bootbt[24]: can't create /data/local/mnt/etc/hosts: No such file or directory
chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM For Xoom
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
1|[email protected]:/sdcard/BT5 #
As you can see. I have superuser rights and the file exists in that area. So I'm not sure why it won't work.
I'm running CyanogenMod 10.1.2 and I have busy box smart installed using the Terminal Emulator. Downloaded backtrack 5 arm version from the website itself and extracted it to sdcard/BT5
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Did you make it? How?
mdorey said:
Did you make it? How?
Click to expand...
Click to collapse
I did makeit. I deleted my backtrack files and redownloaded them. It either didn't fullydownload, or a file got corrupted in the process,but once I redownloaded it, it worked fine!

trouble installing ubuntu on galaxy tab 2 10.1 (p5100)

hi,
i want to install ubuntu on a Samsung Galaxy Tab2 10.1 (P5100). I have rooted the tab, installed CWM and busybox. I want to finish the installation with command line in shell but it d'oesn't work.
here is the text response to the command:
To enter the Ubuntu Linux console just type 'bootubuntu'
# bootubuntu
bootubuntu
mknod: /dev/loop7: Permission denied
losetup: /sdcard/ubuntu/ubuntu.img: Permission denied
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
/system/bin/bootubuntu[22]: can't create /data/local/ubuntu/etc/resolv.conf: No such file or directory
/system/bin/bootubuntu[23]: can't create /data/local/ubuntu/etc/resolv.conf: No such file or directory
Setting localhost on /etc/hosts
/system/bin/bootubuntu[25]: can't create /data/local/ubuntu/etc/hosts: No such file or directory
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
chroot: can't change root directory to '/data/local/ubuntu': Operation not permitted
Shutting down Ubuntu
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
losetup: /dev/block/loop7: Permission denied
i've followed a tutorial when they said if we are an error at this step, it's certainly because OS can't support loop device, but i have have test and loop devices is supported...
Anybody else has ever had this problem

Categories

Resources