OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Chroot Gentoo Environment On 3100
crstophr
post Jul 11 2005, 09:58 AM
Post #1





Group: Members
Posts: 18
Joined: 22-June 05
Member No.: 7,416



I'm not sure if this is news but I just got gentoo working on my 3100. I'm brand new to the zaurus (my last pda was an apple newton!) but not new to gentoo or linux.

All I had to do was put the gentoo-arm distribution on the internal microdrive

I repartitioned the internal hdd to have a 2G vfat on /hdd3
made a 2G ext3 FS mounted to /home/gentoo
unpacked the gentoo-arm dist into /home/gentoo
mounted proc
chroot into /home/gentoo/gentoo-dist

emerged joe as my first test and succeeded. (had to edit the ebuild to add the arm keyword)

The neat part is that it doesn't change the default sharp rom. The OS looks for a /dev/hdc3 to mount as vfat to /hdd3. /hdd3 can be empty, the OS doen't need anything from it to boot. As long as you make some kind of vfat FS on /dev/hdc3 you're fine and you can give the rest of the space to /dev/hdc4 for ext3 and gentoo.

I'm not sure where I'm going on this I'm just desperate to do something interesting with my Z since there are no roms out for the 3100 yet.

--Chris
Go to the top of the page
 
+Quote Post
bluedevils
post Jul 11 2005, 10:11 AM
Post #2





Group: Members
Posts: 1,284
Joined: 31-January 04
From: Vancouver, BC -> NYC, NY
Member No.: 1,633



suweet! Though I don't think I would like to compile kde on it though. Hmm... zaurus get togethers turn into distcc parties....
Go to the top of the page
 
+Quote Post
bam
post Jul 11 2005, 11:37 AM
Post #3





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



how did you repartition...details please. I'm gonna do that with debian, so no loopback fs...smile.gif
Go to the top of the page
 
+Quote Post
crstophr
post Jul 11 2005, 01:16 PM
Post #4





Group: Members
Posts: 18
Joined: 22-June 05
Member No.: 7,416



First I connected the Z to a linux desktop and tarred up the whole /hdd3 over the USB link so I would have a backup. This procedure will wipe out everything in /hdd3.

After that just unmount /hdd1 /hdd2 and /hdd3

fdisk /dev/hdc

Don't delete partitions 1 or 2! I think they hold the data for a full reset. Again, I'm a zaurus newb and have lots to learn. In any case they are small and I wanted to retain as much original function as possible.

delete partition 3
new partition, primary, 3
make the size anything you like as long as you leave enough for the linux part.
type fat32
new partition, primary, 4
For gentoo this has to be >1G I went with 2G.
type linux
write, quit

mkdosfs -F 32 /dev/hdc3
mkfs.ext2 -j /dev/hdc4

either remount /hdd1 /hdd2 and /hdd3 or reboot.

mkdir /home/gentoo (or whatever)
mount -t ext3 /dev/hdc4 /home/gentoo

--Chris
Go to the top of the page
 
+Quote Post
bam
post Jul 11 2005, 04:42 PM
Post #5





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



thanks, I really needed that nfo, now I can move debian to a real ext2fs
Go to the top of the page
 
+Quote Post
gcf
post Jul 15 2005, 04:16 AM
Post #6





Group: Members
Posts: 18
Joined: 23-June 05
Member No.: 7,421



QUOTE(crstophr @ Jul 11 2005, 07:58 PM)
I'm not sure if this is news but I just got gentoo working on my 3100.  I'm brand new to the zaurus (my last pda was an apple newton!)  but not new to gentoo or linux.


Like to try same - where did you get the Gentoo for the Z ? How recent (portage) is it, can one "emerge sync" too?
Go to the top of the page
 
+Quote Post
crstophr
post Jul 16 2005, 11:15 AM
Post #7





Group: Members
Posts: 18
Joined: 22-June 05
Member No.: 7,416



http://forums.gentoo.org/viewtopic-t-13124...ght-zaurus.html

This thread has the download locations, howto, etc for the NFS chroot environment. You just install it to the internal microdrive rather than over nfs.

I've already removed this from my z. It takes up 1G of space and the performance is numbingly slow. 3hrs to emerge sync! The IO rate to that microdrive is not great. I think I'm going to try to get the nfs environment upgraded to gcc 3.4 and see what happens when we start turning on xscale optimizations.

--Chris

QUOTE(gcf @ Jul 15 2005, 04:16 AM)
QUOTE(crstophr @ Jul 11 2005, 07:58 PM)
I'm not sure if this is news but I just got gentoo working on my 3100.  I'm brand new to the zaurus (my last pda was an apple newton!)  but not new to gentoo or linux.


Like to try same - where did you get the Gentoo for the Z ? How recent (portage) is it, can one "emerge sync" too?
*

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th December 2014 - 10:13 PM