trouble installing ubuntu on galaxy tab 2 10.1 (p5100) - Android Q&A, Help & Troubleshooting

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

Related

How do I install Ubuntu on Infuse 4G?

Hey guys. I am attempting to install Ubuntu on my rooted Samsung Infuse 4G. I have consulted several how-to articles here and elsewhere, but after several hours of work I am still stuck on the final lines of code in the terminal emulator app that a YouTube tutorial suggested. Below is the code that I have entered thus far, and the error code at the bottom of the list:
-----------------
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/sdcard/ubuntu/ubuntu.img: Not a directory
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: 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
failed.
failed.
failed.
failed.
losetup: /dev/loop1: Device or resource busy
# bootubuntu
mknod: /dev/loop1: File exists
losetup: /dev/block/loop1/sdcard/ubuntu/ubuntu.img: Not a directory
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: 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
failed.
failed.
failed.
failed.
losetup: /dev/loop1: Device or resource busy
#
---------------------
I have tried two different installation methods. The first one focused on accessing the advanced shell through Windows Command Prompt. This didn't work because the prompt froze after I typed in "advanced shell" (several attempts brought same results) .
I then tried the "easy" version that involved the terminal emulator app in the place of the command prompt. Assumedly, if I can resolve this last issue without causing any more, I should be able to access Ubuntu through Android VNC. It may be important to note that the time before last when I typed in the above code, I got a different error code. That error read: losetup: /dev/loop1: no such device or address. I don't know what made it change.
I can provide further info if needed. Can anyone plz help?
Sent from my SAMSUNG-SGH-I997 using XDA App
Sent from my SAMSUNG-SGH-I997 using XDA App
Sorry, as far as I know there is currently no way to install Ubuntu on the Infuse 4G. But I'll be working on a rom for it and I'll contact you if it works.
Sorry.
Sent from my SGH-I997 using xda premium
calvinllyman said:
Hey guys. I am attempting to install Ubuntu on my rooted Samsung Infuse 4G. I have consulted several how-to articles here and elsewhere, but after several hours of work I am still stuck on the final lines of code in the terminal emulator app that a YouTube tutorial suggested. Below is the code that I have entered thus far, and the error code at the bottom of the list:
-----------------
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/sdcard/ubuntu/ubuntu.img: Not a directory
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: 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
failed.
failed.
failed.
failed.
losetup: /dev/loop1: Device or resource busy
# bootubuntu
mknod: /dev/loop1: File exists
losetup: /dev/block/loop1/sdcard/ubuntu/ubuntu.img: Not a directory
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: 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
failed.
failed.
failed.
failed.
losetup: /dev/loop1: Device or resource busy
#
---------------------
Click to expand...
Click to collapse
OK. While you can't do it on the infuse. Ever. You could get the lg optimus g which once Ubuntu touch gets CDMA will get Ubuntu touch soon after!
Sent from my LG-LS970 using xda app-developers app

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!

Linux on android

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.

[Q] probleme installing backtrack on galaxy s4 gt-i9500

Hello Everyone;
i hope i am posting in the right section
beside i am not realy experienced with all the android things.
any way i tried installing backtrack on my android and i had a problème with the "sh bootbt" command:
i get this on the terminal :
Code:
mount : permission denied
mknod : /dev/loop2 : operation not permitted
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[23]: can't create /data/local/mnt/etc/hosts: No such file or directory
chroot: can't change root directory to '/data/local/mnt': operation not permitted
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
ybox chroot /data/mnt/bt /bin/bash
tmp-mksh: /sys/xbin/busybox: not found
i was running on jelly bean but i have the same probleme with kitkat 4.4.2
hope someone can help
thank's

Categories

Resources