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

2008-08-04 Thread Platoali
On Jumee 11 Mordad 1387, Volker Armin Hemmann wrote:
 On Freitag, 1. August 2008, ABCD wrote:
  Volker Armin Hemmann wrote:
   not anymore. system was taken out of world.
  
   http://marc.info/?l=gentoo-devm=121607297615623w=2
 
  That is only true if you are using =sys-apps/portage-2.2_alpha (that
  is, the current ~arch version)

 looks like.
 
Thanks everyone for comments. I'm writing this on my new laptop. I rebuilt the 
system on old laptop with CFLAGS=-march=i686 -O2 -pipe before the moving 
the binary to the new laptop.

I've a usable but unstable Desktop on the new system. Some application like 
stella don't load and others crashing at random times.  I'm sure the system 
will be stable when I recompile all the other packages with the new flags.


Thanks anyone
Platoali



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

2008-08-01 Thread Volker Armin Hemmann
On Freitag, 1. August 2008, ABCD wrote:
 Volker Armin Hemmann wrote:
  not anymore. system was taken out of world.
 
  http://marc.info/?l=gentoo-devm=121607297615623w=2

 That is only true if you are using =sys-apps/portage-2.2_alpha (that
 is, the current ~arch version)

looks like.




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

2008-07-31 Thread Nikos Chantziaras

Daniel da Veiga wrote:

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.


Yeah, but that way you're doing emerge -e world twice.  One on the old 
system, and one on the new system (to optimize for the specific CPU 
again; -march=native).  It's usually faster to install from scratch and 
only transfer your setting to the new system.





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

2008-07-31 Thread Daniel da Veiga
On Thu, Jul 31, 2008 at 2:15 PM, Nikos Chantziaras [EMAIL PROTECTED] wrote:
 Daniel da Veiga wrote:

 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.

 Yeah, but that way you're doing emerge -e world twice.  One on the old
 system, and one on the new system (to optimize for the specific CPU again;
 -march=native).  It's usually faster to install from scratch and only
 transfer your setting to the new system.


Yes, but still, both emerges may run while you work, so that's not
wasted time, while on a new install, your machine is useless till you
get all that you need running (that's the compilation time for X, an
office suite, a window manager), and after that, you gotta transfer
all your files and settings (that may be tedious), and all of this
takes a time you could use to work...

All I'm saying is that you really don't need to start from scratch, I
personally find it more productive and fast (not to mention less
boring) to prepare and transfer the whole install, and only configure
the new hardware (that is part of a normal new install, so, you can't
avoid that), instead of waiting for compilations to end so you can use
packages on your new machine. Besides, I'm letting the official
portage tool do its job...

Anyway, it is MHO. In some cases, this may fail and a install from
scratch is the only option left. But I never had this bad luck.

-- 
Daniel da Veiga



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

2008-07-31 Thread Nicolas Sebrecht

Nikos Chantziaras a écrit:

  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.

Thanks to you. You explained my thoughts better than I could.

  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.
 
 Yeah, but that way you're doing emerge -e world twice.  One on the
 old system, and one on the new system (to optimize for the specific
 CPU again; -march=native).  It's usually faster to install from
 scratch and only transfer your setting to the new system.

You are right too. IMHO, a new install is what you have to do for
a such occasionally hardware upgrade. 

Note the emerge -e world is not what we need here as it will leave
broken system packages (the system won't boot on the new processor).
The '-e' option looks for the USE flags only.

We are supposed to know what we do with Gentoo. Having hardware specific
options makes the distribution in a possibly jail. Nevertheless, Gentoo
and Linux offer all generic options to ensure x86 processor-like
migrations.

-- 
Nicolas Sebrecht




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

2008-07-31 Thread Stroller


On 31 Jul 2008, at 19:50, Nicolas Sebrecht wrote:

...
Note the emerge -e world is not what we need here as it will leave
broken system packages (the system won't boot on the new processor).
The '-e' option looks for the USE flags only.


From `man emerge`

   --emptytree (-e)
  Reinstalls all world packages and their dependencies ...

(don't be confused by the next sentence. I am sure it just means to  
say uses the currently set USE flags).


...
   --newuse (-N)
  Tells emerge to include installed packages where USE  
flags  have

  changed since compilation.


Stroller.




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

2008-07-31 Thread Daniel da Veiga
On Thu, Jul 31, 2008 at 4:05 PM, Stroller
[EMAIL PROTECTED] wrote:

 On 31 Jul 2008, at 19:50, Nicolas Sebrecht wrote:

 ...
 Note the emerge -e world is not what we need here as it will leave
 broken system packages (the system won't boot on the new processor).
 The '-e' option looks for the USE flags only.

 From `man emerge`

   --emptytree (-e)
  Reinstalls all world packages and their dependencies ...


Nicolas, Stroller (and the man page) is right...

As system is part of world, an emerge -e world would recompile
every single package, along with all dependencies, a full system
recompile, if you, for instance, change your CFLAGs to a generic one
before it, at the end your system would be prepared to be used with a
different processor.

-- 
Daniel da Veiga



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

2008-07-31 Thread Volker Armin Hemmann
On Donnerstag, 31. Juli 2008, Daniel da Veiga wrote:
 On Thu, Jul 31, 2008 at 4:05 PM, Stroller

 [EMAIL PROTECTED] wrote:
  On 31 Jul 2008, at 19:50, Nicolas Sebrecht wrote:
  ...
  Note the emerge -e world is not what we need here as it will leave
  broken system packages (the system won't boot on the new processor).
  The '-e' option looks for the USE flags only.
 
  From `man emerge`
 
--emptytree (-e)
   Reinstalls all world packages and their dependencies ...

 Nicolas, Stroller (and the man page) is right...

 As system is part of world, an emerge -e world would recompile
 every single package, along with all dependencies, a full system
 recompile, if you, for instance, change your CFLAGs to a generic one
 before it, at the end your system would be prepared to be used with a
 different processor.

not anymore. system was taken out of world.

http://marc.info/?l=gentoo-devm=121607297615623w=2





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

2008-07-31 Thread Daniel da Veiga
On Thu, Jul 31, 2008 at 7:09 PM, Volker Armin Hemmann
[EMAIL PROTECTED] wrote:
 On Donnerstag, 31. Juli 2008, Daniel da Veiga wrote:
 On Thu, Jul 31, 2008 at 4:05 PM, Stroller

 [EMAIL PROTECTED] wrote:
  On 31 Jul 2008, at 19:50, Nicolas Sebrecht wrote:
  ...
  Note the emerge -e world is not what we need here as it will leave
  broken system packages (the system won't boot on the new processor).
  The '-e' option looks for the USE flags only.
 
  From `man emerge`
 
--emptytree (-e)
   Reinstalls all world packages and their dependencies ...

 Nicolas, Stroller (and the man page) is right...

 As system is part of world, an emerge -e world would recompile
 every single package, along with all dependencies, a full system
 recompile, if you, for instance, change your CFLAGs to a generic one
 before it, at the end your system would be prepared to be used with a
 different processor.

 not anymore. system was taken out of world.

 http://marc.info/?l=gentoo-devm=121607297615623w=2


I see, so you need a emerge -e system in order to emerge -e world
properly and make sure changes affect all packages.

One more thing to keep note next time I transfer my system...

-- 
Daniel da Veiga



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

2008-07-31 Thread ABCD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Volker Armin Hemmann wrote:
 not anymore. system was taken out of world.
 
 http://marc.info/?l=gentoo-devm=121607297615623w=2

That is only true if you are using =sys-apps/portage-2.2_alpha (that
is, the current ~arch version)

- --
ABCD
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiSSwQACgkQOypDUo0oQOo8xQCgn5RkYiAckabM7zh33rTM/GDx
omEAoNerwtYhpCMikBot1anqLvrsARIj
=ApzL
-END PGP SIGNATURE-