Gentoo Archives: gentoo-user

From: Adam Carter <Adam.Carter@×××××××××.au>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: RE: [gentoo-user] move instalation from one system to another one.
Date: Thu, 31 Jul 2008 00:14:32
Message-Id: 707E41AE68E444499861C6B248AB8684535C63ABF9@excprdmbxw002.optus.com.au
In Reply to: Re: [gentoo-user] move instalation from one system to another one. by "Sebastian Günther"
1 > > My old laptop is dying. I'm going to move my gentoo
2 > installation to a new
3 > > one. The old one was an old Pentium-M and the new one is
4 > core due. I want to
5 > > to tar the root and boot and .. files from the old one to
6 > untar it to the
7 > > new one. I want to know, What packages needs to rebuild
8 > (with What flags?)
9 > > in the old one so that I would have a basic runable system
10 > in the new that I
11 > > can rebuild all the packages on the new system with the new FLAGS?
12 > >
13 > > Did anyone do this in the past? Have anyone any experiences
14 > regarding this
15 > > issue? Any comments? suggestions?
16 > >
17 > > This is my old laptop make.conf
18 > >
19 > > CHOST="i686-pc-linux-gnu"
20 > > CFLAGS="-march=pentium-m -O2 -pipe"
21 > > CXXFLAGS="${CFLAGS}"
22 > > MAKEOPTS="-j2"
23 > >
24 >
25 > Don't do it.
26 >
27 > I think your kernel will only support the pentium-m and most of the
28 > software also. So a emerge -e world would bee necessary.
29 >
30 > Normal Gentoo Installations are highly optemized for the specific
31 > hardware. That is the whole point about using gentoo.
32
33 Do you need to get the new laptop working asap? Eg. for work?
34
35 Is the new laptop 32 or 64 bit?
36
37 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.
38
39 If your system is 64 bit and you want to later run 64 bit OS you'll have to reinstall.
40
41 For CFLAGs http://gentoo-wiki.com/Safe_Cflags, and you'll need to change CHOST if you're going 64 bit.