Re: [gentoo-user] move instalation from one system to another one.

2008-07-31 Thread Nicolas Sebrecht

Sebastian Günther a écrit:

 If you want such functionality, use Debian or Ubuntu.

Or just use the good C*FLAGS and kernel options.

-- 
Nicolas Sebrecht




Re: [gentoo-user] move instalation from one system to another one.

2008-07-31 Thread Daniel da Veiga
On Thu, Jul 31, 2008 at 1:12 PM, Nicolas Sebrecht
[EMAIL PROTECTED] wrote:

 Sebastian Günther a écrit:

 If you want such functionality, use Debian or Ubuntu.

 Or just use the good C*FLAGS and kernel options.


Nicolas is right, you can (at your own risk, of course) do a migration
like this, so DON'T is not really the only option, and changing
distros is NOT an option in most cases. Gentoo is perfectly capable of
that.

Change flags in make.conf for generic compatible ones, compile a new
kernel (I used genkernel for the migration, and compiled a specific
kernel for the new machine later), emerge -e world and transfer the
system (I used rsync, and had to deal with some network issues),
everything worked (after some fine tunning for the new hardware) for
me. Sometimes the effort is worth, it was my case, YMMV. It takes a
little while (for me, the migration itself took a Sunday afternoon,
like 6 hours), but you can still use your system while emerge does its
work, and while the new kernel compiles. Its less time than a normal
install from the ground up (with the whole configuration process, X,
Window Manager, etc). After the migration, change flags again, and let
emerge do its magic, while you can keep working.

PS: I kept my old system as a backup for a few weeks.

PS2: I had an old Athlon XP 1.2GHz and migrated the whole system to a
Core Duo 2.8GHz, as you may imagine, both machines were COMPLETELY
different, but still I kept all my preferences, packages, files, all
of it. An year before the migration, the Athlon XP was running a
CHOST=i386 and I changed it to i686 with success. Gentoo is sometimes
just magical.

-- 
Daniel da Veiga



[gentoo-user] move instalation from one system to another one.

2008-07-30 Thread Platoali
Hi,

My old laptop  is dying. I'm going to move my gentoo installation to a new 
one.  The old one was an old Pentium-M and the new one is core due. I want to 
to tar the root and boot and ..  files from the old one to untar it to the 
new one. I want to know,  What packages needs to rebuild  (with What flags?) 
in the old one so that I would have a basic runable system  in the new that I 
can rebuild all the packages on the new system with the new FLAGS?

Did anyone do this in the past? Have anyone any experiences regarding this 
issue? Any comments? suggestions?

This is my old laptop make.conf

CHOST=i686-pc-linux-gnu
CFLAGS=-march=pentium-m -O2 -pipe
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2

Best regards
Ali Yazdi 



Re: [gentoo-user] move instalation from one system to another one.

2008-07-30 Thread Sebastian Günther
* Platoali ([EMAIL PROTECTED]) [30.07.08 10:57]:
 Hi,
 
 My old laptop  is dying. I'm going to move my gentoo installation to a new 
 one.  The old one was an old Pentium-M and the new one is core due. I want to 
 to tar the root and boot and ..  files from the old one to untar it to the 
 new one. I want to know,  What packages needs to rebuild  (with What flags?) 
 in the old one so that I would have a basic runable system  in the new that I 
 can rebuild all the packages on the new system with the new FLAGS?
 
 Did anyone do this in the past? Have anyone any experiences regarding this 
 issue? Any comments? suggestions?
 
 This is my old laptop make.conf
 
 CHOST=i686-pc-linux-gnu
 CFLAGS=-march=pentium-m -O2 -pipe
 CXXFLAGS=${CFLAGS}
 MAKEOPTS=-j2
 

Don't do it.

I think your kernel will only support the pentium-m and most of the 
software also. So a emerge -e world would bee necessary.

Normal Gentoo Installations are highly optemized for the specific 
hardware. That is the whole point about using gentoo.

so save your world file and then setup up gentoo fresh and new. Won't be 
that long, as you now own a core 2 duo...

 Best regards
 Ali Yazdi 
 

If you want such functionality, use Debian or Ubuntu.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpwfyJkrrjJR.pgp
Description: PGP signature


RE: [gentoo-user] move instalation from one system to another one.

2008-07-30 Thread Adam Carter
  My old laptop  is dying. I'm going to move my gentoo
 installation to a new
  one.  The old one was an old Pentium-M and the new one is
 core due. I want to
  to tar the root and boot and ..  files from the old one to
 untar it to the
  new one. I want to know,  What packages needs to rebuild
 (with What flags?)
  in the old one so that I would have a basic runable system
 in the new that I
  can rebuild all the packages on the new system with the new FLAGS?
 
  Did anyone do this in the past? Have anyone any experiences
 regarding this
  issue? Any comments? suggestions?
 
  This is my old laptop make.conf
 
  CHOST=i686-pc-linux-gnu
  CFLAGS=-march=pentium-m -O2 -pipe
  CXXFLAGS=${CFLAGS}
  MAKEOPTS=-j2
 

 Don't do it.

 I think your kernel will only support the pentium-m and most of the
 software also. So a emerge -e world would bee necessary.

 Normal Gentoo Installations are highly optemized for the specific
 hardware. That is the whole point about using gentoo.

Do you need to get the new laptop working asap? Eg. for work?

Is the new laptop 32 or 64 bit?

If you need the new laptop running asap, the sub-optimal but fast way is to 
build all the modules you'll require for your new laptop on the old laptop then 
copy the disk. Since they tend to only add CPU features and not take them away 
as time goes on, its worth a try as it will be a lot faster. You can then worry 
about changing CFLAGs and rebuilding if you like, or just change the CFLAGs and 
let anything new get built with them. No big deal.

If your system is 64 bit and you want to later run 64 bit OS you'll have to 
reinstall.

For CFLAGs http://gentoo-wiki.com/Safe_Cflags, and you'll need to change CHOST 
if you're going 64 bit.