View previous topic :: View next topic |
Author |
Message |
pnJunction n00b
Joined: 22 Jun 2002 Posts: 14 Location: Canada, Ottawa
|
Posted: Sat Apr 12, 2003 8:49 pm Post subject: Installing Gentoo on a machine that can't compile... |
|
|
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 |
|
|
avendesora Veteran
Joined: 16 Aug 2002 Posts: 1739 Location: Betelgeuse vicinity
|
Posted: Sat Apr 12, 2003 8:59 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sat Apr 12, 2003 9:06 pm Post subject: Re: Installing Gentoo on a machine that can't compile... |
|
|
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 |
|
|
pnJunction n00b
Joined: 22 Jun 2002 Posts: 14 Location: Canada, Ottawa
|
Posted: Sat Apr 12, 2003 9:24 pm Post subject: |
|
|
i see...Thanks for the help guys. Now I know where I am headed. |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Apr 13, 2003 1:16 am Post subject: |
|
|
good luck |
|
Back to top |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Sun Apr 13, 2003 4:01 pm Post subject: |
|
|
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 |
|
|
|