On Tue, Jan 20, 2004 at 08:52:22AM +0100, jhoninck wrote:
> There is a lot of documentation on installation but can anybody provide me
> some info on migration.
>
> The scenario I am thinking of is the following.
>
> 1. Start from a redhat 7.2 server. There are lots of those out there so I
> should not be the only one facing this problem
> 2. Recompile a kernel and replace it with a kernel based on portage.
> 3. The uninstall redhat packages and install the associated portage ones,
> can imagine this would work along the lines:
> -Take the output of the command "rpm -aq" pipe it to a file and search
> for those packages that can be uninstalled without having dependency problems
> -For those packages do the RPM uninstall and then the emerge from
> portage.
> 4. Don't know enough about the lot of how to copy over system settings
>
> This would be something like rolling out of redhat in a controlled way and
> rolling into Gentoo in a controlled way.
>
> Anybody else having some similar thoughts,
> cannot see the programming/scripting to be that much of an issue,
> maybe I am wrong.
Whenever I do something like this, I prefer to keep the old and
new separate, which normally entails separate partitions. But
with gentoo as the new OS you can easily install it to /gentoo
(using chroot like you do for an install from CD), and then move
the stuff in / to a new subdir /redhat, and move the stuff in
/gentoo to /. Once you have your base gentoo installation setup,
you can start uninstalling from /redhat (again, in a chroot
shell, this time chroot'ed to /redhat), and installing to the new
gentoo OS.
The primary reason I would do it this way, is that you are likely
to get yourself in trouble when you replace Red Hat's glibc with
the gentoo one. Chances are good _everything_ you have installed
for Red Hat will stop running (including ls, sh, ln, mv, cp,
...).
Another benefit to this approach is that it's a convenient way to
keep a few things from your old OS around for a bit in case you
forgot anything. Things like /etc, /var/lib, etc.
- richard
--
Richard Kilgore
[EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list