You are not logged in.

#1 2010-01-23 02:15:14

Driskol
Member
Registered: 2009-04-17
Posts: 7

Boot Archlinux over Android on Nexus ONE and SDK Probs :)

Hi all!!

First of, im spanish, please sorry for my really bad english tongue

I have right now 2 problems:

I want to start cooking for  my nexus one but i have some dependecies that i cant find for the SDk, almost all dependecies required by the offical guide. And of course, i cant start compiling a new image bcuz i need jdk-1,5 and there out in the repos is 1.6

And the second and most important to me, running archlinux over android like debian

http://www.saurik.com/id/10

http://www.talkandroid.com/android-foru … droid.html

http://android.modaco.com/content/htc-h … g-on-hero/

It's possible?

Thanks in advanced!

Offline

#2 2010-01-23 09:32:23

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: Boot Archlinux over Android on Nexus ONE and SDK Probs :)

1. Download and install JDK 1.5 from Sun. Install it to wherever you like, but I keep several different versions of the JDK in /opt/java (so I have /opt/java/jdk1.5.0_09/, /opt/java/jdk1.6.0_16 and so on). Just change your $JAVA_HOME and $PATH when you need to switch between versions. And regarding the "other" dependancies", if they're not available in the AUR, just grab the source and build it.

2. You obviously cannot install the i686 or AMD64 version of Arch on an ARM device such as the Nexus One. Porting Arch Linux to the ARM architecture is what the ArchMobile folks are doing, so read up a little on their site. They might even have an irc channel where you can ask for support, but don't expect too much. Debian has supported the ARM architecture forever while ArchMobile is rather new in comparison.

Offline

#3 2010-01-23 15:54:02

Driskol
Member
Registered: 2009-04-17
Posts: 7

Re: Boot Archlinux over Android on Nexus ONE and SDK Probs :)

Hi hw-tph,

obviously, i dont want to boot a image from i686 hehe

I want to boot the arm-arch or archmobile smile

I have the openmoko base of archmobile in a 500mb ext3 partition of my sdcard mounted under /system/sd/ on android but my problem now is boot it, i dont know how hehe

Im a newbe on linux, just using linux sice 1 year ago continiusly, i,ve seen some people booting debian natively on the htc dream or g1 via fastboot, but i thin i can chroot into arch mounting it first, but i have no idea how to hehe

Thansk!

Offline

#4 2010-01-23 16:27:26

Driskol
Member
Registered: 2009-04-17
Posts: 7

Re: Boot Archlinux over Android on Nexus ONE and SDK Probs :)

Ok, now i have the following smile

# mount -o bin /dev /system/sd/dev
# mount -o bin /proc /system/sd/proc
# mount -o bin /sys /system/sd/sys 
# chroot /system/sd
sh-4.0#

smile

But i dont know if im doing it right hehe

Offline

#5 2010-01-24 00:41:39

Driskol
Member
Registered: 2009-04-17
Posts: 7

Re: Boot Archlinux over Android on Nexus ONE and SDK Probs :)

Hi again! smile

I have some news about this smile

Here are: http://forum.xda-developers.com/showthread.php?t=622474

Hi all!

As title says, im triying to run ArchLinux Mobile under Android or natively.

First of all, im a newbe with Linux and Android, but trying to learn more and more (and spanish, sorry my english tongue)

I have the next things now:

EXT3 partition 500mb on SD card mounted under /system/sd/ with this snapshot: archmobile-base-kernel26-openmoko-2009.09.tar.bz2

Take it here: http://naeg.archmobile.org/snapshots/

Mounted and chrooted system using xkonni tips:

mount -o bind /dev /system/sd/dev
mount -o bind /proc /system/sd/proc
mount -o bind /sys /system/sd/sys
mount -o bind /dev/pts /system/sd/dev/pts (this fix a error when trying to connect via ssh)

chroot /system/sd /bin/bash

Results on:

sh-4.0#

USB Network working by default under eth0

I can start the sshd daemon to ssh via ConnectBot (get it from market) or desktop pc.

/etc/rc.d/sshd start

Don't try to connect via ssh by now

Then use pacman tu install sudo and nano (if u need to edit something):

cd /usr/bin
./pacman -Syu
./pacman -S sudo nano

Now, lets get a root password:

./sudo /usr/bin/passwd

And enter a password of your choice

Then start a new ssh session somewhere u can:

ssh -p 22 root@192.168.1.33

Of course, change it to your PDA ip

Tadaaaa!

root@192.168.1.33's password:
[root@localhost ~]#

ac61hj.png

And that's all by now, keep on working

Any hints to get this shit working ? tongue

Bye and thanks!!

Offline

Board footer

Powered by FluxBB