On 04/04 07:25, Ashley Dixon wrote:
> On Sat, Apr 04, 2020 at 07:34:59PM +0200, tu...@posteo.de wrote:
> > Hi,
> > 
> > I am currently preparing a new harddisc as home for my new Gentoo
> > system.
> > 
> > Is it possible to recreate exactlu the same pool of
> > applications/programs/libraries etc..., which my current
> > system have - in one go?
> > 
> > That is: Copy <something> from the current system into
> > the chroot environment, fire up emerge, go to bed and
> > tommorow morning the new system ready...?
> > 
> > Does this <something> exists and is it reasonable to do
> > it this way?
> > 
> > Thanks for any hint in advance!
> > Stay healthy!
> > Cheers,
> > Meino
> 
> Do you also want to copy configuration and data files, attaining a total
> replica ? If so, copying the world file is a start, but then you'll have a
> plethora of /etc and /var files through which to sift.
> 
> Perhaps a little more detailed context to your problem would allow for more
> accurate/helpful recommendations ? I.e., are you looking for near-complete
> duplication, or just a collection of familiar packages which happens to be on
> similar hardware ?
> 
> -- 
> 
> Ashley Dixon
> suugaku.co.uk
> 
> 2A9A 4117
> DA96 D18A
> 8A7B B0D2
> A30E BF25
> F290 A8AA
> 

Hi Ashley,

ok...here it comes...the story of "System 9 outer space" <hhhrmrrm>:

My current system has two drawbacks: The harddisc has become way to small and I 
don't
want more than one harddisc in my PC.
My old PC is 12 years old...and it is - in relation to software of today 
(especially blender) - much too slow and the main memory is also not
of sufficient size.

Expanding of the old system is -- in respect to its age -- economically wise
not the correct decision...I think.

So I bought the parts of a new PC (again AMD), build a new PC, inserts
the harddisc of the old PC and booted the system. which works fine.

Now I have an old system on the harddisc whith some legacy structure
(I think), which I want to replace with """the same system""" --
freshly rebuild in a way that I can fire up one command before I go to
bed only to recognize next morning, that I forget to become root
beforehand... ;)

Jokes aside:
I want to try to recompile every Gentoo related stuff in the new system,
which was present in the old system (application-wise, and not
necessarily version-wise).

This gives me the chance to use a new set of cpuflags given by cpuid2cpuflags, 
too.
(by the way: This command show far less flags than diplayed via the
command 'lscpu'....is cpuid2cpuflags uptodate?)

For the configuration I will move a lot of stuff from the current
system to the new system. That's ok...

For the "partition and boot" scheme (not the correct words...sorry no
native speaker ahead....;) ) I thought of this:

One hardisc (3T) with the complete system including 256 GB root. The
harddisc has a GPT and has a grub bootloader also. This makes this
harddisc bootable as "standalone solution".

Additonally there is a M.2 NvME SSD
It is a mirror of the root partion with all directories, to which are often
written to (/var/tmp, /tmp,...) mounted on tmpfs.

The plan is to update (emerge ... ) the system with in a way, that
less as possible writes hits the SSD (for example by mounting certain
parts of the filesystem on tmpfs) and use the root on harddisc as 
backup.

The "real backup" will be a image copy of the harddisc to another
identical harddisc which I will create on a regular basis.

This way I always have a bootable system. The best backup is
worthless, if I don't have a system to read it....

One thing:
Would it possible to boot grub from harddisc, which in turn has
entries in the menu to boot either from harddisc or (as default) 
from SSD? I don't care about the 23.6573 ms it takes longer to
read grub stage 1 and 2 from harddisc instead off the SSD... ;)

Feeling still a bit paranoid when it comes to SSDs. I know, its
supersticous...but... ;)

Is this somehow reasonable...or...?

Cheers!
Meino









Reply via email to