1 |
Hej folks, |
2 |
|
3 |
I wonder what is a good way to create an image of a gentoo-system, so |
4 |
that one can apply it later to the same or other computers. |
5 |
|
6 |
In my case it is a rather simple setup: one partition, no encryption or |
7 |
lvm. Its a debug-setup, so its only used for certain programming-tasks |
8 |
and not for daily work, so no need for something fancy. The time I setup |
9 |
that system I also used only conservative compilation-flags and |
10 |
optimisation, so that it can be used on other CPUs (well, they have to |
11 |
be x86_64 and have to have mmx/sse[23] - but I think every setup that I |
12 |
intend to use this on will have these properties). |
13 |
|
14 |
So I reckon that one could just use tar with permission-preservation and |
15 |
some excludes like dev/sys/proc/tmp. But is this a good idea or is there |
16 |
a better way to do this? I never cloned a gentoo-system, so thats why I |
17 |
would like to be at least somewhat sure about it, so that I don't have |
18 |
to reconfigure it later again, because I messed it up :D |
19 |
|
20 |
best regards, |
21 |
- Ben |