Jump to content


Photo

Debian Lenny now running on Hero!

- - - - -

  • Please log in to reply
64 replies to this topic

#61
ilovemodaco

ilovemodaco

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:HTC Hero
Debian +instructions on installation +all modded files available for download at http://thepiratebay....torrent/5259848
I love MoDaCo!

  • 0

#62
nicandris

nicandris

    Regular

  • Members
  • PipPip
  • 62 posts
  • Location:Cyprus
  • Devices:HTC Google Nexus One
  • Twitter:@nicandris
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? ;)

Attached File  device_lxde_working.png   14.88KB   93 downloads 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 by nicandris, 23 March 2010 - 04:01 PM.

  • 0
I am always in trouble but it's so much FUN!!
---

HTC Polaris / HTC Hero / Google Nexus One
Follow me on twitter

#63
Mehumummo

Mehumummo

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:HTC Hero
Got everything working, nice.

Edited by Mehumummo, 12 July 2010 - 12:30 AM.

  • 0

#64
kanofski

kanofski

    Newbie

  • Members
  • Pip
  • 2 posts

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.androidfa...i...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/debian
  • Launched the installer script: sh installer.sh
  • Entered Debian console: bootdeb
  • Launched the setup script: /scripts/onetime.sh
  • That'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

  • 0

#65
Sparcoo

Sparcoo

    Newbie

  • Members
  • Pip
  • 1 posts
Can someone update the links to the debian.img file?

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users