View previous topic :: View next topic |
Author |
Message |
wunderk1nd n00b
Joined: 18 Mar 2003 Posts: 10
|
Posted: Tue Mar 18, 2003 11:12 pm Post subject: cross-compiling |
|
|
I am wanting to replace yucky RedHat 8 with Gentoo on my internet server, but my dad runs a business and would not let me take down the server for that period of time ( I want to start from stage 1, it's a 900 mhz Cyrix-3 ). I was wondering if I could use my nice box with it's p4 to build an install for an i586, without messing up my current install. Can someone enlighten me on the easiest way I would go about this? _________________ is it safe? |
|
Back to top |
|
|
SM n00b
Joined: 30 Nov 2002 Posts: 6
|
Posted: Wed Mar 19, 2003 12:17 am Post subject: Another question. |
|
|
It is not just servers. Most people don't want a workstation taken down for two days to compile and install Gentoo.
Is there a standard way of generating a Gentoo binary image for deployment on another machine? If not then maybe there should be. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Mar 19, 2003 1:21 am Post subject: |
|
|
wunderk1nd wrote: | I was wondering if I could use my nice box with it's p4 to build an install for an i586, without messing up my current install. |
Yes, you can do this fairly easily :
Startup your fast machine
mkdir /mnt/gentoo but do not mount any partitions here
unpack stage 1
chroot
Follow the instructions and be sure to set your CHOST and CFLAGS correctly for the target machine.
At the end of the instructions, do not install a bootloader yet (for obvious reasons)
emerge any other software you might need (apache, etc ...)
exit the chroot.
Now tar -cvjpf to create your custom stage 4 tarball.
Boot your target machine with the installation CD
Create partitions, filesystems, etc ... as needed
Download and unpack stage 4
Install the bootloader
Reboot.
I use this technique for my laptop, and it saves a lot of time. |
|
Back to top |
|
|
|