Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo on a machine that can't compile...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pnJunction
n00b
n00b


Joined: 22 Jun 2002
Posts: 14
Location: Canada, Ottawa

PostPosted: Sat Apr 12, 2003 8:49 pm    Post subject: Installing Gentoo on a machine that can't compile... Reply with quote

I have a problem. I want to install Gentoo on a system, which is really slow and is not connected to Internet (is on a private network). The machine is a P 133 with 32 MB Ram. It also has 2 Gig drive. I think it's too slow to compile anything.

What do I want on this machine?
I want this machine to run a Linux kernel. I don't want X or sound. Network is required.

I can put the programs on the machine using different stage files. The problem is the kernel. How do I get a kernel on the machine? Right now I am thinking of compiling the kernel on a different machine and then moving it to this machine. Problem is I don't know what files to copy!

Any help is appreciated.
Back to top
View user's profile Send private message
avendesora
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1739
Location: Betelgeuse vicinity

PostPosted: Sat Apr 12, 2003 8:59 pm    Post subject: Reply with quote

I you build your kernel _without_ modules, all you need is the bzImage file (the one you're supposed to put in /boot).
If you use modules, you'll also need all the files in the /lib/modules/<kernel>/
directory.

When you build that kernel, make sure to select the right CPU target :wink:
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat Apr 12, 2003 9:06 pm    Post subject: Re: Installing Gentoo on a machine that can't compile... Reply with quote

pnJunction wrote:
I have a problem. I want to install Gentoo on a system, which is really slow and is not connected to Internet (is on a private network). The machine is a P 133 with 32 MB Ram. It also has 2 Gig drive. I think it's too slow to compile anything.

What do I want on this machine?
I want this machine to run a Linux kernel. I don't want X or sound. Network is required.

I can put the programs on the machine using different stage files. The problem is the kernel. How do I get a kernel on the machine? Right now I am thinking of compiling the kernel on a different machine and then moving it to this machine. Problem is I don't know what files to copy!

Any help is appreciated.



just tar the complete kernel directory (/usr/src/linux-*) into a tar file and then unpack it on another computer. then just configure the kernel for the target computer and do everything you need to do for a complete kernel, except the modules_install part.
after that just tar the directory back to a tar file and move it over the net to the slow computer and then unpack it there.
then go to the new extracted kernel directory and just do a make modules_install to install the modules.
after that just copy bzImage or vmlinux to the /boot directory and then change grub or lilo to boot with the new kernel. that's all :)

btw: if you need to compile serval packages on that computer, then think about using ccache and distcc to speedup the compilation time.


cheers

SteveB
Back to top
View user's profile Send private message
pnJunction
n00b
n00b


Joined: 22 Jun 2002
Posts: 14
Location: Canada, Ottawa

PostPosted: Sat Apr 12, 2003 9:24 pm    Post subject: Reply with quote

i see...Thanks for the help guys. Now I know where I am headed. :D
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sun Apr 13, 2003 1:16 am    Post subject: Reply with quote

good luck :)
Back to top
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Sun Apr 13, 2003 4:01 pm    Post subject: Reply with quote

Just to throw a bit of encouragement your way: there are quite a few of us who have built Gentoo on equivalent or even smaller machines. It is quite possible, just have a lot of patience!

My P-100/40MB took about a week to completely compile. When I updated glibc later, it took the better part of two days. IT TAKES A LONG TIME, but the machine is as fast as it ever will be and completely stable.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum