Having all sorts of issues with the modprobe, mount etc.
P
Posted 28 August 2009 - 08:54 AM
Posted 28 August 2009 - 02:04 PM

Posted 28 August 2009 - 02:15 PM
Posted 28 August 2009 - 02:16 PM
su <./fsrw modprobe ext2 clear rm -f /data/local/bin/fsrw rm -f /data/local/bin/bootdeb rm -f /data/local/bin/unionfs rm -f /data/local/bin/installer.sh rm -f /data/local/bin/mountonly mkdir /data/local/mnt clear cp -f fsrw /system/bin cp -f bootdeb /system/bin cp -f unionfs /system/bin cp -f installer.sh /system/bin cp -f mountonly /system/bin cd /sdcard/debian chmod 777 * cd /system/bin/ chmod 4777 * cd / clear echo " " echo "VERSION 2.1" echo "Custom Debian Bootloader is now installed! Quick huh?" echo "This process does NO damage to your Android underlying OS!" echo " " echo "Courtesy of http://www.androidfanatic.com" echo "Installer by Mark Walker (ghostwalker)" echo " " echo "To enter the Debian Linux console just type 'bootdeb'" echo "PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST 'boot'."
Posted 19 October 2009 - 11:16 PM
This post has been edited by bobbymilla: 19 October 2009 - 11:17 PM
Posted 20 October 2009 - 10:00 AM
./installer.sh Filesytem remounted as read/write modprobe: chdir(2.6.27-0078c992): No such file or directory ←[H←[Jmkdir: cannot create directory '/data/local/mnt': File exists ←[H←[J←[H←[J VERSION 2.1 Custom Debian Bootloader is now installed! Quick huh? This process does NO damage to your Android underlying OS! Courtesy of [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url] Installer by Mark Walker (ghostwalker) To enter the Debian Linux console just type 'bootdeb' PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST ' boot'.
bootdeb
modprobe: chdir(2.6.27-0078c992): No such file or directory
←[H←[JAndroid Filesytem remounted as read/write
mknod: /dev/loop2: File exists
←[H←[J
a888a
d888888b
8P YP Y88
8|o||o|88
8. .88
8 ._. Y8.
d/ 8b.
.dP . Y8b.
d8: ::88b.
d8 Y88b
:8P :888
8a. : _a88P
._/ Yaa_ : .| 88P|
\ YP | 8P \.
/ \._____.d| .|
--..__)888888P ._.|
mount: cannot setup loop device: No such file or directory
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct
ory
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
Custom Linux Pseudo Bootstrapper V2.1 - by Mark Walker
WEB: [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
EML: [email protected]
Starting init process
INIT: Debian booting.....
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session
Make sure you do a proper EXIT for a clean kill of Debian!
chroot: can't execute '/bin/bash': No such file or directory
Shutting down Debian........
Processes killed......
Loopback device shutdown - success
Debian down
Coded by Mark Walker
[url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
admin.androidfanatic.com
Rebooting device to ensure clean takedown.........
Posted 20 October 2009 - 11:39 AM
drewstiff, on Oct 20 2009, 16:00, said:
./installer.sh Filesytem remounted as read/write modprobe: chdir(2.6.27-0078c992): No such file or directory ←[H←[Jmkdir: cannot create directory '/data/local/mnt': File exists ←[H←[J←[H←[J VERSION 2.1 Custom Debian Bootloader is now installed! Quick huh? This process does NO damage to your Android underlying OS! Courtesy of [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url] Installer by Mark Walker (ghostwalker) To enter the Debian Linux console just type 'bootdeb' PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST ' boot'.
bootdeb
modprobe: chdir(2.6.27-0078c992): No such file or directory
←[H←[JAndroid Filesytem remounted as read/write
mknod: /dev/loop2: File exists
←[H←[J
a888a
d888888b
8P YP Y88
8|o||o|88
8. .88
8 ._. Y8.
d/ 8b.
.dP . Y8b.
d8: ::88b.
d8 Y88b
:8P :888
8a. : _a88P
._/ Yaa_ : .| 88P|
\ YP | 8P \.
/ \._____.d| .|
--..__)888888P ._.|
mount: cannot setup loop device: No such file or directory
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct
ory
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
Custom Linux Pseudo Bootstrapper V2.1 - by Mark Walker
WEB: [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
EML: [email protected]
Starting init process
INIT: Debian booting.....
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session
Make sure you do a proper EXIT for a clean kill of Debian!
chroot: can't execute '/bin/bash': No such file or directory
Shutting down Debian........
Processes killed......
Loopback device shutdown - success
Debian down
Coded by Mark Walker
[url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
admin.androidfanatic.com
Rebooting device to ensure clean takedown.........
Posted 20 October 2009 - 12:23 PM
Posted 20 October 2009 - 01:06 PM
Loxley, on Oct 20 2009, 13:23, said:
bootdeb
modprobe: chdir(2.6.27-0078c992): No such file or directory
←[H←[JAndroid Filesytem remounted as read/write
mknod: /dev/loop2: File exists
←[H←[J
a888a
d888888b
8P YP Y88
8|o||o|88
8. .88
8 ._. Y8.
d/ 8b.
.dP . Y8b.
d8: ::88b.
d8 Y88b
:8P :888
8a. : _a88P
._/ Yaa_ : .| 88P|
\ YP | 8P \.
/ \._____.d| .|
--..__)888888P ._.|
mount: cannot setup loop device: No such file or directory
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct
ory
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
Custom Linux Pseudo Bootstrapper V2.1 - by Mark Walker
WEB: [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
EML: [email protected]
Starting init process
INIT: Debian booting.....
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session
Make sure you do a proper EXIT for a clean kill of Debian!
chroot: can't execute '/bin/bash': No such file or directory
Shutting down Debian........
Processes killed......
Loopback device shutdown - success
Debian down
Coded by Mark Walker
[url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url]
admin.androidfanatic.com
Rebooting device to ensure clean takedown.........
Posted 20 October 2009 - 01:30 PM
Posted 20 October 2009 - 02:53 PM
Loxley, on Oct 20 2009, 14:30, said:
Posted 20 October 2009 - 02:59 PM
#!/system/bin/sh # Based on Saurik's remount.sh - modified by Mark Walker of [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url] # Email [email protected] # Further work by K.-M. Hansche # No more reboot # Loopdevice corrected # Check for root # Free loopdevice noroot(){ echo "Please become root!" exit 0 } id | grep uid=0 || noroot export kit=/sdcard/debian export bin=/system/bin export mnt=/data/local/mnt export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH export TERM=linux export HOME=/root [ -b /dev/loop0 ] || mknod /dev/loop0 b 7 0 clear echo " " echo " a888a " echo " d888888b " echo " 8P YP Y88 " echo " 8|o||o|88 " echo " 8. .88 " echo " 8 ._. Y8. " echo " d/ 8b. " echo " .dP . Y8b. " echo " d8: ::88b. " echo " d8 Y88b " echo " :8P :888 " echo " 8a. : _a88P " echo " ._/ Yaa_ : .| 88P| " echo " \ YP | 8P \. " echo " / \._____.d| .| " echo " --..__)888888P ._.|" echo " " echo " " mount -o loop,noatime $kit/debian.img $mnt mount -t devpts devpts $mnt/dev/pts mount -t proc proc $mnt/proc mount -t sysfs sysfs $mnt/sys echo "Type EXIT to end session" echo "Make sure you do a proper EXIT for a clean kill of Debian!" echo " " chroot $mnt /bin/bash #After exit command is executed clear it all up echo " " echo "Shutting down Debian........" [ -d /data/local/mnt/bin ] || exit 0 fuser -k -m /data/local/mnt/ sleep 2 fuser -KILL -k -m /data/local/mnt/ umount /data/local/mnt/sys /data/local/mnt/proc /data/local/mnt/dev/pts umount -d /data/local/mnt [ ! -d /data/local/mnt/bin ] || echo "I'm sorry, but something went wrong. You might want to reboot."
This post has been edited by Loxley: 20 October 2009 - 05:35 PM
Posted 20 October 2009 - 03:18 PM
Loxley, on Oct 20 2009, 15:59, said:
#!/system/bin/sh # Based on Saurik's remount.sh - modified by Mark Walker of [url="http://www.androidfanatic.com"]http://www.androidfanatic.com[/url] # Email [email protected] # Further work by K.-M. Hansche: # No more reboot # Dont't remount /system rw, there's no need to # Loopdeviceusage corrected # Get rid of all debian processes after exit export kit=/sdcard/debian export bin=/system/bin export mnt=/data/local/mnt export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH export TERM=linux export HOME=/root [ -b /dev/loop0 ] || mknod /dev/loop0 b 7 0 clear echo " " echo " a888a " echo " d888888b " echo " 8P YP Y88 " echo " 8|o||o|88 " echo " 8. .88 " echo " 8 ._. Y8. " echo " d/ 8b. " echo " .dP . Y8b. " echo " d8: ::88b. " echo " d8 Y88b " echo " :8P :888 " echo " 8a. : _a88P " echo " ._/ Yaa_ : .| 88P| " echo " \ YP | 8P \. " echo " / \._____.d| .| " echo " --..__)888888P ._.|" echo " " echo " " mount -o loop,noatime $kit/debian.img $mnt mount -t devpts devpts $mnt/dev/pts mount -t proc proc $mnt/proc mount -t sysfs sysfs $mnt/sys echo "Type EXIT to end session" echo "Make sure you do a proper EXIT for a clean kill of Debian!" echo " " chroot $mnt /bin/bash #After exit command is executed clear it all up echo " " echo "Shutting down Debian........" [ -d /data/local/mnt/bin ] || exit 0 #Terminate all Debian processes, give them tow seconds, then kill them fuser -k -m /data/local/mnt/ sleep 2 fuser -KILL -k -m /data/local/mnt/ umount /data/local/mnt/sys /data/local/mnt/proc /data/local/mnt/dev/pts /data/local/mnt #This will give fair warnining if a process started in the chroot couldn't be killed [ ! -d /data/local/mnt/bin ] || echo "I'm sorry, but something went wrong. You might want to reboot."
Posted 25 October 2009 - 05:28 PM
This post has been edited by Loxley: 04 November 2009 - 05:37 AM
Posted 29 October 2009 - 01:19 PM
Loxley, on Oct 25 2009, 18:28, said:
Posted 02 November 2009 - 01:39 PM
Posted 03 November 2009 - 05:16 PM
solarian_storm, on Nov 2 2009, 15:39, said:
solarian_storm, on Nov 2 2009, 15:39, said:
solarian_storm, on Nov 2 2009, 15:39, said:
Posted 03 November 2009 - 07:28 PM
Tragos, on Nov 3 2009, 18:16, said:
localhost:~# cat /etc/resolv.conf 10.74.83.22 192.168.1.1 193.254.160.1
localhost:~# cat /etc/resolv.conf nameserver 192.168.1.1 (other servers if needed)
localhost:~# echo "nameserver 192.168.1.1" > /etc/resolv.conf localhost:~# apt-get update Get:1 [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny Release.gpg [1032B] Get:2 [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny Release [73.6kB] Ign [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny/main Packages/DiffIndex Get:3 [url="http://ftp.de.debian.org"]http://ftp.de.debian.org[/url] lenny/main Packages [6703kB] Fetched 6777kB in 42s (161kB/s) Segmentation faultsts... 99%
This post has been edited by kendon: 03 November 2009 - 07:29 PM
Posted 04 November 2009 - 05:42 AM
kendon, on Nov 3 2009, 20:28, said:
Posted 04 November 2009 - 02:39 PM