We have 226 guests online

Fanatics Login

Content Feeds

  • Team Blog RSS Feed Team Blog RSS Feed AndroidFanatic - Team Blog RSS Feed
  • Android App Reviews Android App Reviews Applications, unofficial repository, discussion and news from the world of the Android Mobile OS. Join the chat and have your say, ask questions, and buy phones and accessories.
Debian on Android installer released. (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Debian on Android installer released.
#1792
Amon_RA (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Debian on Android installer released. 1 Year, 6 Months ago Karma: 0  
Will this work on a G1 DEV phone?

I'm using a G1 DEV so I have root :

1. Installed busybox (PATH isn't sticking so exported it each time I start terminal)

2. Installed debian (had to use sh installer.sh to make it install).

3. just bootdeb doesn't work, have to use sh bootdeb

4. sh bootdeb gives :

# sh bootdeb
sh bootdeb
Android Filesytem remounted as read/write
insmod: /lib/modules/2.6.25-01845-g85d4f0d: No such file or directory
insmod: /lib/modules: No such file or directory
insmod: ext2.ko: module not found
mknod: /dev/loop2: File exists

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 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
Custom Linux Pseudo Bootstrapper V1.0 - by Mark Walker
WEB: http://www.androidfanatic.com
EML: This e-mail address is being protected from spambots. You need JavaScript enabled to view it

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: cannot execute /bin/bash: No such file or directory
umount: forced umount of /data/local/mnt/dev/pts failed!
umount: cannot umount /data/local/mnt/dev/pts: No such file or directory
umount: forced umount of /data/local/mnt/proc failed!
umount: cannot umount /data/local/mnt/proc: No such file or directory
umount: forced umount of /data/local/mnt/sys failed!
umount: cannot umount /data/local/mnt/sys: No such file or directory
umount: forced umount of /data/local/mnt failed!
umount: cannot umount /data/local/mnt: Invalid argument
Filesystems have unmounted
losetup: : No such device or address
Loopback device shutdown - success
Debian down
Coded by Mark Walker http://www.androidfanatic.com
admin.androidfanatic.com
Reverted back to Android console



What am I missing?



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/02/28 18:22 By Amon_RA.
  The topic has been locked.
#1800
keninem (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:Debian on Android installer released. 1 Year, 6 Months ago Karma: 0  
before you run bootdeb, run 'modprobe ext2'

this fixed the problem for me!



 
Report to moderator   Logged Logged  
  The topic has been locked.
#1807
everynothing (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Debian on Android installer released. 1 Year, 6 Months ago Karma: 0  
I fixed this problem by 1. find ext2.ko and put it in your sdcards root directory, 2. modify the bootdeb script in /data/local/bin to read
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
export kit=/sdcard/debian
export mnt=/data/local/mnt
export PATH=/usr/games:/usr/local/bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
busybox insmod /sdcard/ext2.ko
mknod /dev/loop2 b 7 0
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
sysctl -w net.ipv4.ip_forward=1
chroot $mnt /bin/bash
busybox umount -f /data/local/mnt/dev/pts /data/local/mnt/proc /data/local/mnt/sys /data/local/mnt
busybox losetup -d /dev/block/loop2

chmod it 4777, and run it, worked for me



 
Report to moderator   Logged Logged  
  The topic has been locked.
#1810
sonikamd (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Debian on Android installer released. 1 Year, 6 Months ago Karma: 0  
Success! Thanks for all the info throughout this thread..

I too had to do a few things different:
>During the busybox setup I had to use './busybox --install' instead of './busybox --install.'. not sure if I was supposed to or not but it seems removing the period worked?
>had to use 'sh bootdeb' instead of just 'bootdeb'
>also had to do 'modeprobe ext2' because I too was getting sent back to the android console after 'sh bootdeb'

All in all, pretty simple! Great Job.



 
Report to moderator   Logged Logged  
 
Last Edit: 2009/03/01 04:03 By sonikamd.
  The topic has been locked.
#1811
Proxin (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Debian on Android installer released. 1 Year, 6 Months ago Karma: 0  
Got it working perfectly. One thing is a bit of a bother, though-- I have to always sh bootdeb to launch it.
Is there any way I can just type bootdeb to launch it instead? Maybe I did something wrong?



 
Report to moderator   Logged Logged  
  The topic has been locked.
#1812
jook (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Debian on Android installer released. 1 Year, 6 Months ago Karma: 0  
Dude are you serious? I'm typing:
su
su /sdcard/debian/bootdeb
every time. I'd be happy if sh bootdeb did something.



 
Report to moderator   Logged Logged  
  The topic has been locked.
Go to top Post Reply
get the latest posts directly to your desktop