FORUMS
Remove All Ads from XDA
H10 Turbo

[ Tutorial ] How to Install Debian Linux on Your Samsung Galaxy Fit

23 posts
Thanks Meter: 60
 
By riddz17, Junior Member on 3rd September 2012, 05:29 PM
Post Reply Email Thread
15th November 2012, 11:48 AM |#11  
LinuxHippy's Avatar
Senior Member
Flag Philadelphia, PA
Thanks Meter: 24
 
More
same thing:

Remounting /system rw ...
Installing scripts in /system/bin ...
Mounting the Linux image ...
Mounting: Prepwork ...
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Mounting: Loopback mount ...
mknod: /dev/block/loop254: File exists
mount: Invalid argument
Mounting: Setting up chroot environment ...
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mkdir failed for /data/local/mnt/media/sdcard, No such file or directory
mount: No such file or directory
[ Done ]
Customizing the image ...
install.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
install.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
Installing root-scripts ...
mkdir failed for /data/local/mnt/root/scripts, No such file or directory
Unable to chmod /data/local/mnt/root/scripts: No such file or directory
cp: can't create '/data/local/mnt/root/scripts/ssh.sh': No such file or directory
cp: can't create '/data/local/mnt/root/scripts/vnc.sh': No such file or directory
Unable to chmod /data/local/mnt/root/scripts/*: No such file or directory
Install finished
 
 
15th November 2012, 02:01 PM |#12  
Senior Member
Flag Hanoi
Thanks Meter: 529
 
Donate to Me
More
so install.sh working. Now problem is in /script/linux

edit
Code:
	mount -o dev,remount $sdcard
to
Code:
busybox mount -o dev,remount $sdcard
it not work change $sdcard to /mnt/sdcard
16th November 2012, 01:18 AM |#13  
LinuxHippy's Avatar
Senior Member
Flag Philadelphia, PA
Thanks Meter: 24
 
More
Quote:
Originally Posted by zcop

so install.sh working. Now problem is in /script/linux

edit

Code:
	mount -o dev,remount $sdcard
to
Code:
busybox mount -o dev,remount $sdcard
it not work change $sdcard to /mnt/sdcard

It got a little further this time by adding this to /sdcard/linux/scripts/linux:

busybox mount -o dev,remount

this is what happened:

# sh install.sh
Remounting /system rw ...
Installing scripts in /system/bin ...
Mounting the Linux image ...
Mounting: Prepwork ...
Mounting: Loopback mount ...
mount: Invalid argument
Mounting: Setting up chroot environment ...
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mkdir failed for /data/local/mnt/media/sdcard, No such file or directory
mount: No such file or directory
[ Done ]
Customizing the image ...
install.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
install.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
Installing root-scripts ...
mkdir failed for /data/local/mnt/root/scripts, No such file or directory
Unable to chmod /data/local/mnt/root/scripts: No such file or directory
cp: can't create '/data/local/mnt/root/scripts/ssh.sh': No such file or directory
cp: can't create '/data/local/mnt/root/scripts/vnc.sh': No such file or directory
Unable to chmod /data/local/mnt/root/scripts/*: No such file or directory
Install finished
14th December 2012, 03:08 PM |#14  
Junior Member
Thanks Meter: 5
 
More
hey guys.
Thanx to the author of this forum on debian on android. I had the same problem you see in the error logs above. the problem is between regular "mount" command and busybox "mount". you need to use the busybox mount. so I added the word busybox infront of every mount word in the script. eg. busybox mount -o , rw /system remount. the alternative is to delete the mount found on /system/bin so that the terminal will use the busybox one automatically on /system/xbin.
18th December 2012, 07:49 PM |#15  
Account currently disabled
Flag Cepu - Central Java
Thanks Meter: 5,350
 
Donate to Me
More
nice tutorial
8th February 2013, 08:49 PM |#16  
Junior Member
Thanks Meter: 0
 
More
Good article but...
I have some issues about installing it.I tried it with XXKPI 2.3.4 on my Fit but it only caused my phone to give me bunch of error codes on the terminal and my phone started to not dedecting sdcard and sometimes it doesnt mount on computer.I have SdCard issues.I have edited all the mount codes in fsrw,linux and install.sh (by typing a busybox like busybox mount -o)but still have problems.I have installed XXKPI in 4 Part inst. with Odin and wiped the device before and after the installation and after the Odin inst. i rooted it with UnlockRoot v 2.2.1 so it is rooted.Done a binary update on SU and installed BusyBox 1.9.3 because newer versions are incompatible with my phone.This is my last terminal session(all included)
Code:
$ su
# cd /sdcard/linux
# sh install.sh
Remounting /system rw ...
mount: mounting /dev/stl12 on rfs failed: No such file or directory
Installing scripts in /system/bin ...
Mounting the Linux image ...
Mounting: Prepwork ...
Mounting: Loopback mount ...
mount: Invalid argument
Mounting: Setting up chroot environment ...
mount: mounting /dev on /data/local/mnt/dev failed: 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 /sys on /data/local/mnt/sys failed: No such file or directory
mkdir failed for /data/local/mnt/media/sdcard, No such file or directory
mount: mounting /mnt/sdcard on /data/local/mnt/media/sdcard failed: No such file or directory
        [ Done ]
Customizing the image ...
install.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
install.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
  Installing root-scripts ...
mkdir failed for /data/local/mnt/root/scripts, No such file or directory
Unable to chmod /data/local/mnt/root/scripts: No such file or directory
cp: can't create '/data/local/mnt/root/scripts/ssh.sh': No such file or directory
cp: can't create '/data/local/mnt/root/scripts/vnc.sh': No such file or directory
Unable to chmod /data/local/mnt/root/scripts/*: No such file or directory
Install finished
#
So what can i do about it?I want to install Debian 6.0 so much and i am getting impatient about it.
Any help would be appreciated.
Sorry for my English if i have mistakes.
10th February 2013, 01:28 PM |#17  
Member
Thanks Meter: 6
 
More
R: [ Tutorial ] How to Install Debian Linux on Your Samsung Galaxy Fit
Is possible install aircrack-ng airodump-ng and airmon-ng on ubuntu...

Sent from my GT-5670 using xda premium
18th March 2013, 04:22 AM |#18  
Member
Flag Montevideo
Thanks Meter: 8
 
More
Prompt can't install inside debian
I managed to install debian and in terminal mode, i cannot install anything, i get the error about "ldconfig" when installing xterm
dpkg: warning: 'ldconfig' not fount in PATH or not executable
the same with 'start-stop-daemon'

can you help me? i wish to install a terminal like xterm inside debian and some other app

Regards,
27th March 2013, 04:54 AM |#19  
techzei's Avatar
Member
Flag Chennai
Thanks Meter: 25
 
More
Thumbs up Works :D
Thanks
I was able to install this on my galaxy fit very smooth. Like your tutorials
4th July 2013, 08:01 PM |#20  
OP Junior Member
Flag kolkata
Thanks Meter: 60
 
More
Quote:
Originally Posted by Dwi Aulia Rahman Putra

screenshots please.

Screens have been given
4th July 2013, 08:06 PM |#21  
OP Junior Member
Flag kolkata
Thanks Meter: 60
 
More
Quote:
Originally Posted by LinuxHippy

I placed these lines in install.sh and deleted the 3 original lines that looked similar to it. I still got messages about mount, but these are a bit different:

# sh install.sh
Remounting /system rw ...
mount: No such file or directory
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Installing scripts in /system/bin ...
Mounting the Linux image ...
Mounting: Prepwork ...
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Mounting: Loopback mount ...
mknod: /dev/block/loop254: File exists
mount: Invalid argument
Mounting: Setting up chroot environment ...
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mkdir failed for /data/local/mnt/media/sdcard, No such file or directory
mount: No such file or directory
[ Done ]
Customizing the image ...
install.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
install.sh: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
Installing root-scripts ...
mkdir failed for /data/local/mnt/root/scripts, No such file or directory
Unable to chmod /data/local/mnt/root/scripts: No such file or directory
cp: can't create '/data/local/mnt/root/scripts/ssh.sh': No such file or directory
cp: can't create '/data/local/mnt/root/scripts/vnc.sh': No such file or directory
Unable to chmod /data/local/mnt/root/scripts/*: No such file or directory
Install finished



1. I think instead of looking just for command mistakes make sure you downloaded the right version of Linux OS and copied it to the SD Card without any sub-directory.

2. cd /sdcard/linux is the cd directory correct please check!

3. Use busybox prefix if you are using BusyBox (don't think its required)

4. Galaxy S is capable of running ubuntu(some versions only) but give debian a try first.

Thank You
Post Reply Subscribe to Thread

Tags
debian, install ubuntu/debian, linux, samsung galaxy fit, ubuntu

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes