Guest kendon Posted November 12, 2009 Report Posted November 12, 2009 C:\Documents and Settings\Dan>adb shell ls -al /sdcard/debian/ drwxrwxrwx 2 1000 1000 4096 Nov 12 00:43 ←[1;34m.←[0m drwxrwxrwx 18 1000 1000 4096 Jan 1 1970 ←[1;34m..←[0m -rwxrwxrwx 1 1000 1000 2692 Nov 10 19:56 ←[1;32mbootdeb←[0m -rwxrwxrwx 1 1000 1000 750000000 Jan 8 2009 ←[1;32mdebian.img←[0m -rwxrwxrwx 1 1000 1000 102 Jan 9 2009 ←[1;32mfsrw←[0m -rwxrwxrwx 1 1000 1000 866 Mar 13 2009 ←[1;32mmountonly←[0m -rwxrwxrwx 1 1000 1000 420 Jan 9 2009 ←[1;32munionfs←[0m the fsrw file is there and has the right size. i actually just booted into windows to confirm the weird output... :) but i don't see the installer.sh? this should produce a different error, strange... anyway, if you want to try it again i wrote together the necessary steps and put the files into an archive, see attachment. use gedit for windows if the .txt is all in one line. edit: i modded the installer.sh to work without the fsrw file, didn't see the point using it when you are root anyway? try it again please.howto_debian_on_hero.zip
Guest danmalone72 Posted November 12, 2009 Report Posted November 12, 2009 Woo! worked without a flaw thank you very much!! The lxde thing if you use the image from http://forum.xda-developers.com/showthread...;highlight=lxde lxde is pre-installed i did however encounter an error using that links image upon bootdeb i recieve: Android directories are mounted under /android/ Type exit to end session Make sure you do a proper exit for a clean kill of Debian! rm: cannot remove directory `tmp': Device or resource busy mkdir: cannot create directory `tmp': File exists New 'X' desktop is localhost:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/localhost:1.log localhost:/# Im not sure about the tmp thing what do you thinks going on there? Thanks again for the walkthrough was real nice!
Guest kendon Posted November 12, 2009 Report Posted November 12, 2009 Woo! worked without a flaw thank you very much!! The lxde thing if you use the image from http://forum.xda-developers.com/showthread...;highlight=lxde lxde is pre-installed i did however encounter an error using that links image upon bootdeb i recieve: instead of export USER=root cd / rm -r -f tmp mkdir tmp cd / vncserver -geometry 480x320 [/codebox] put this into your .bashrc: [codebox]export USER=root rm -rf /tmp/* 2&> /dev/null vncserver -geometry 480x320 then it won't bother you anymore.
Guest kendon Posted November 13, 2009 Report Posted November 13, 2009 lol this sick, i am actually running a full blown ubuntu on my hero... actually it is unusable, but it starts... took me three hours to install, gonna try ubuntu-mid now :) maybe xfce later...
Guest sik_gerar Posted November 13, 2009 Report Posted November 13, 2009 @kendon: how did you get a 800x600 screen size? weird isn't it?
Guest kwiksand Posted November 13, 2009 Report Posted November 13, 2009 @kendon: how did you get a 800x600 screen size? weird isn't it? hhaah, nicely played!
Guest kendon Posted November 13, 2009 Report Posted November 13, 2009 @kendon: how did you get a 800x600 screen size? weird isn't it? no, actually it is pretty easy. started the vncserver with -geometry 800x600 and opened the vncviewer on my laptop. have you ever tried to use gnome with 320x480?
Guest encrypt Posted December 30, 2009 Report Posted December 30, 2009 lol this sick, i am actually running a full blown ubuntu on my hero... actually it is unusable, but it starts... took me three hours to install, gonna try ubuntu-mid now :) maybe xfce later... Nice work guys. Thanks all for the info. kendon, any success running ubuntu-mid? It looks awesome!!!
Guest ndep Posted December 31, 2009 Report Posted December 31, 2009 could someone please upload the debian image to another file sharing site, such as megaupload, rapidshare? It seems to take forever to get a free download slot at FileFactory... :)
Guest ndep Posted December 31, 2009 Report Posted December 31, 2009 could someone please upload the debian image to another file sharing site, such as megaupload, rapidshare? It seems to take forever to get a free download slot at FileFactory... :) no hassle, my bad...I didn't realize an account is needed to download from FileFactory, and so many annoying ads... rapidshare is really much cleaner
Guest ilovemodaco Posted January 5, 2010 Report Posted January 5, 2010 Debian +instructions on installation +all modded files available for download at http://thepiratebay.org/torrent/5259848 I love MoDaCo!
Guest nicandris Posted March 20, 2010 Report Posted March 20, 2010 (edited) Hmmmmm got debian lenny working! :) AND got Gnome, KDE, IceWM, LXDE running also! ;) TUTORIAL Notice that i tried installing this with the default debian.img (750Mb?) but its too small for the installation so i had to resize it from here. everything seems fine! :P a bit laggish but what the hell, why not? ;) here is an image :P small info from androidfanatic: IMPORTANT UPDATE: Many comments on sites that have blogged this post seem to be getting the wrong end of the stick. This is not connecting to a remote desktop on another machine! This is x11 and LXDE Desktop running LOCALLY on the G1 device, the reason I had to connect back to LOCALHOST using VNCViewer (also running LOCALLY on the device) is because there are no drivers available. This circumnavigates the need for any special drivers. SPECIAL THANX to ghostwalker@androidfanatic that made this tutorial. try it out! and lets hope for ubuntu :D Edited March 23, 2010 by nicandris
Guest Mehumummo Posted July 10, 2010 Report Posted July 10, 2010 (edited) Got everything working, nice. Edited July 12, 2010 by Mehumummo
Guest kanofski Posted July 1, 2011 Report Posted July 1, 2011 No. The files needed for this were already included in MCR 2.5. Forget that link. That's about a Windows Mobile device. Hero is running Android, which is a Linux-based operating system. This is why we can use a more simple solution for running Debian, called chrooting. I'm not sure if a noob should try this. In the worst case, you type something wrong and brick your phone. Even if everything goes well, there's just the command line interface. And although you can run a GUI in VNC session, your phone won't be able to run heavy desktop applications. After the warnings, here's how I did it: :)Downloaded the installer from http://www.androidfanatic.com/cms/unoffici...einfo&id=21. It took a while before a download slot became available @FileFactory.Unzipped the file on my computer. This created a directory called "debian".Downloaded Loxley's bootdeb.gz (see post #14 above).Used 7-Zip to extract the bootdeb file from the gzip archive and moved it to the "debian" folder. There already was a bootdeb file which was overwritten.Replaced the contents of installer.sh in debian folder with Paul's version (copy-paste from post #4). I used Notepad++ for this so the linefeed characters would be kept in UNIX format.Moved the whole debian folder in the root directory of Hero's memory card using the data cable. After this I disconnected the cable.Opened ConnectBot in Hero, choosed local connection.Became root by typing: su -Entered the debian directory in memory card: cd /sdcard/debianLaunched the installer script: sh installer.shEntered Debian console: bootdebLaunched the setup script: /scripts/onetime.shThat's it!After having fun with Debian console, it must be closed by typing exit. Then the chroot session will be terminated correctly. Only steps 7,8 and 11 are required to launch Debian console again. hay all i have a htc hero and the modaco 2.1 rom. and did all the above.. when i start the bootdeb script it wil hold and after a while i get this error mount: can't setup loop device: No space left on device /system/bin/bootdeb: cannot create /data/local/mnt/etc/resolv.conf: directory no nexistent 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 mount: mounting none on /data/local/mnt//tmp failed: No such file or directory mount: mounting none on /data/local/mnt//var/log failed: No such file or directo ry mount: mounting none on /data/local/mnt//tmp failed: No such file or directory chmod: /data/local/mnt//tmp: No such file or directory mount: mounting none on /data/local/mnt//var/tmp failed: No such file or directo ry chmod: /data/local/mnt//var/tmp: No such file or directory mount: mounting none on /data/local/mnt//var/lock failed: No such file or direct ory chmod: /data/local/mnt//var/lock: No such file or directory Android directories are mounted under /android/ 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........ i have enouth space on my sdcard 8gb sdcard 6.85gb fat32 the rest is for fs can someone help me with this working on this for 2 days now :rolleyes: thanks and greets, Kanofski
Guest Sparcoo Posted June 11, 2012 Report Posted June 11, 2012 Can someone update the links to the debian.img file?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now