Having all sorts of issues with the modprobe, mount etc.
P
You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco
Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco
Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.
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'."
You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco
Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.
Edited by bobbymilla, 19 October 2009 - 11:17 PM.
./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'.I guessed the "no such file or directory" error near the start is due to the script trying to remove some files that aren't there (guesswork as I am by no means a linux/script-master!) and for the "File exists" error, I presumed it shouldn't be a problem if the thing we are trying to create is already there, and so I tried running 'bootdeb'!
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.........
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'.I guessed the "no such file or directory" error near the start is due to the script trying to remove some files that aren't there (guesswork as I am by no means a linux/script-master!) and for the "File exists" error, I presumed it shouldn't be a problem if the thing we are trying to create is already there, and so I tried running 'bootdeb'!
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: admin[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.........
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.........
Loxley, on Oct 20 2009, 14:30, 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 # 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."
Edited by Loxley, 20 October 2009 - 05:35 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."
bootdeb.gz 1.12K
410 downloadsEdited by Loxley, 04 November 2009 - 05:37 AM.
Loxley, on Oct 25 2009, 18:28, said:
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:
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%
Edited by kendon, 03 November 2009 - 07:29 PM.
kendon, on Nov 3 2009, 20:28, said:
0 members, 0 guests, 0 anonymous users