Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cross-compiling
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
wunderk1nd
n00b
n00b


Joined: 18 Mar 2003
Posts: 10

PostPosted: Tue Mar 18, 2003 11:12 pm    Post subject: cross-compiling Reply with quote

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
View user's profile Send private message
SM
n00b
n00b


Joined: 30 Nov 2002
Posts: 6

PostPosted: Wed Mar 19, 2003 12:17 am    Post subject: Another question. Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Mar 19, 2003 1:21 am    Post subject: Reply with quote

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
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