On Sat, 12 Jul 2003 20:49:10 -0700 (PDT)
"GXzim" Hoxha <[EMAIL PROTECTED]> wrote:
> Hi,
> I've got a p100 machine with 16mb ram, I was thinking
> of installing either gentoo or debian [and "try" to
> use it only as a web server]. The reason I kind of
> wanna install debian in it is that it won't have to do
> alot of compiling with debian whereas gentoo lots...
If you want to use gentoo, you should "precompile" everything in a
chroot on a faster computer and copy an image to the p100.
1.) create a directory
mkdir /root/chroot
2.) extract a stage tar ball to this directory
cd /root/chroot
tar -xpjvf /path/to/stage-X.tar.bz2
3.) mount the procfs
mount -t proc none /root/chroot/proc
4.) create /boot, if not existing
mkdir /root/chroot/boot
5.) Go inside the chroot and follow the usual install instructions
from gentoo.org (except the installation of the bootloader)
chroot /root/chroot/ /bin/bash
...
6.) Install further packages (webserver, etc.) and configure them.
You can even start them in the chroot. (the runscripts complain about
missing runlevels, but it works anyway)
7.) Leave the chroot and create an image (e.g. an simple .tar file;
tar.bz2 or gzip's IMHO take too long to extract on such a slow
computer)
8.) boot the live-cd on the p100 and setup network etc.
9.) create the partitons (i suggest not to use a boot partition in
this case, but if you want to you're free to do so)
10.) mount the / and swap
11.) if you want a /boot, create the /mnt/anywhere/boot directory and
mount your boot partition.
12.) copy the image to the p100 to the mounted / directory (!!!,
except you have a lot of ram) and untar it.
13.) enter the chroot on the p100 and install the bootloader
14.) leave the chroot and reboot and in theory everything should work
fine now :)
No guarantee that it will work...
Maybe I forgot something, but I already did this way of installation
twice and it worked _for me_.
> Thanks guys,
> ZiM
You're welcome to use your real name...
HTH
Florian Huber
--
[EMAIL PROTECTED] mailing list