Re: [gentoo-user] Switch from RH9 to gentoo

2003-10-30 Thread HvR




i migrated my laptop: created a new parition installed gento onto it, changed my grub.conf and booted into gentoo, never went back, of course you do ned to emerge all the apps you had running on redhat and reconfigure them all. i build my gentoo system while running redhat so that works in the chroot jail, but for a production server i would never do this.

On Wed, 2003-10-29 at 16:23, Andrew Gaffney wrote:

Alex Nelson wrote:
> Does anyone out there have any practical experience in migrating a live
> server running Red Hat 9.0 over to Gentoo? I don't mind a short amount
> of downtime but don't want to have to back up the entire server and then
> try and rebuild it. I would like to convert it "in-place" if I can. Any
> help or suggestions are welcome!

I've heard of someone migrating a Slackware system over to Gentoo over a period of about a 
month, but I'm pretty sure this person knew what they were doing. In your cause, I'd do 
what I did migrating from Slackware. First, I added a second HD to the server. I followed 
the Gentoo Install Guide to start the install on the second drive. This box has dual 
Athlon MP 2200+s, so all that compiling in the background didn't affect it that much. If 
you can't afford the server to be slowed down while Gentoo is building, I would recommend 
doing the install on another computer and then bringing the HD over. Once you have all the 
programs installed under Gentoo that you were using under RH, take the machine down. 
Reboot from a Gentoo LiveCD or similar. Copy your data (db's, mail, /home, web files, 
etc.) over to the Gentoo installation. Switch the HDs do the machine boots from the Gentoo 
drive. Test. If all doesn't work immediately (or with minimal coaxing) switch the HDs back.





RE: [gentoo-user] Switch from RH9 to gentoo

2003-10-29 Thread Gabriel Gumbs
nd
/dev, 
even though they are protected by CONFIG_PROTECT. All it does is build 
glibc and gcc statically. We already have a compiler and shared
libraries, 
so we should be able to safely ignore it. 

Once you have told portage that you already have a baselayout, go ahead
and 
upgrade/install glibc by typing: 
# emerge glibc 

If you are using RedHat 7.x, emerge glibc will fail at the very end.
Don't 
worry about this, it just clobbered a RedHat binary's library. Simply do

the following to fix it for now: 
# rm -rf /lib/i686 

Now we do gcc: 
# emerge gcc 

And finally upgrade/rebuild the system with: 
# emerge system 

After this emerge system, baselayout should no longer give us a problem,

as we are working with a bona-fide Gentoo system now! emerge -e system 
all you want! 

The rest of the installation should be just like a regular Gentoo
install. 
If you want to tell emerge that you already have a program installed,
and 
don't want to compile a version right now, just do a: 
# emerge inject  
to insert it into the ebuild tree, and have it seen as 'on' by the
system. 
Say you already have syslogd and you don't want to reinstall it, just do

this: 
# emerge inject syslogd-x.y.z 
(x.y.z are a version number, of course) and presto, it's added to the 
system, ready to update on an 'emerge -e system' or however you do a 
global update. You'll most likely not want to do this too much, as the 
old version may be in an odd location, or just simply a non-Gentoo
location. 
If this occurs, simply remove the package using your old package tools 
(you did keep those, right?), and emerge the new one. 

Aside from the possible kernel update (if you want to), there is no
reason 
that you should have to reboot your computer during any part of this 
process. Heck, you could probably leave the system up and running as a 
server if you wanted too. Just remember, if you kill your old C compiler

to install Gentoo's 2.95 one, let your users know about it beforehand, 
as they won't like the results of using a compiler that dissappears. ;-D


Good Luck,
Gabe

-Original Message-
From: Andrew Gaffney [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 29, 2003 7:23 PM
To: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] Switch from RH9 to gentoo

Alex Nelson wrote:
> Does anyone out there have any practical experience in migrating a
live
> server running Red Hat 9.0 over to Gentoo? I don't mind a short amount
> of downtime but don't want to have to back up the entire server and
then
> try and rebuild it. I would like to convert it "in-place" if I can.
Any
> help or suggestions are welcome!

I've heard of someone migrating a Slackware system over to Gentoo over a
period of about a 
month, but I'm pretty sure this person knew what they were doing. In
your cause, I'd do 
what I did migrating from Slackware. First, I added a second HD to the
server. I followed 
the Gentoo Install Guide to start the install on the second drive. This
box has dual 
Athlon MP 2200+s, so all that compiling in the background didn't affect
it that much. If 
you can't afford the server to be slowed down while Gentoo is building,
I would recommend 
doing the install on another computer and then bringing the HD over.
Once you have all the 
programs installed under Gentoo that you were using under RH, take the
machine down. 
Reboot from a Gentoo LiveCD or similar. Copy your data (db's, mail,
/home, web files, 
etc.) over to the Gentoo installation. Switch the HDs do the machine
boots from the Gentoo 
drive. Test. If all doesn't work immediately (or with minimal coaxing)
switch the HDs back.

-- 
Andrew Gaffney


--
[EMAIL PROTECTED] mailing list




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switch from RH9 to gentoo

2003-10-29 Thread Andrew Gaffney
Alex Nelson wrote:
Does anyone out there have any practical experience in migrating a live
server running Red Hat 9.0 over to Gentoo? I don't mind a short amount
of downtime but don't want to have to back up the entire server and then
try and rebuild it. I would like to convert it "in-place" if I can. Any
help or suggestions are welcome!
I've heard of someone migrating a Slackware system over to Gentoo over a period of about a 
month, but I'm pretty sure this person knew what they were doing. In your cause, I'd do 
what I did migrating from Slackware. First, I added a second HD to the server. I followed 
the Gentoo Install Guide to start the install on the second drive. This box has dual 
Athlon MP 2200+s, so all that compiling in the background didn't affect it that much. If 
you can't afford the server to be slowed down while Gentoo is building, I would recommend 
doing the install on another computer and then bringing the HD over. Once you have all the 
programs installed under Gentoo that you were using under RH, take the machine down. 
Reboot from a Gentoo LiveCD or similar. Copy your data (db's, mail, /home, web files, 
etc.) over to the Gentoo installation. Switch the HDs do the machine boots from the Gentoo 
drive. Test. If all doesn't work immediately (or with minimal coaxing) switch the HDs back.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Switch from RH9 to gentoo

2003-10-29 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 29 October 2003 23:19, Alex Nelson wrote:
> Does anyone out there have any practical experience in migrating a live
> server running Red Hat 9.0 over to Gentoo? I don't mind a short amount
> of downtime but don't want to have to back up the entire server and then
> try and rebuild it. I would like to convert it "in-place" if I can. Any
> help or suggestions are welcome!

As long as you have space for Gentoo you can do basically everything you need 
inside the chroot, without ever needing to reboot. You should easily be able 
to install and configure all the services you need.
The major exception will be services which depend on certain kernel features 
being available, but if Gentoo is going to be doing the same job as RH then 
that functionality might already be satisfied by the RH kernel (I wouldn't 
count on it though)

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/oFCFInuLMrk7bIwRAohdAKCZwD+GD8VGSHyaRR7wgPznbDmlYACaAs8F
3HW9Yrr89LWxKJmj4FpzpLs=
=oQub
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Switch from RH9 to gentoo

2003-10-29 Thread Alex Nelson
Does anyone out there have any practical experience in migrating a live
server running Red Hat 9.0 over to Gentoo? I don't mind a short amount
of downtime but don't want to have to back up the entire server and then
try and rebuild it. I would like to convert it "in-place" if I can. Any
help or suggestions are welcome!

-- 
Alex Nelson <[EMAIL PROTECTED]>
ANSoft Computing


--
[EMAIL PROTECTED] mailing list