From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DD67B1381F3 for ; Sun, 8 Sep 2013 18:51:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6292DE09C4; Sun, 8 Sep 2013 18:51:36 +0000 (UTC) Received: from mxhost.fh-zwickau.de (mxhost.fh-zwickau.de [141.32.72.200]) by pigeon.gentoo.org (Postfix) with ESMTP id 354C7E080D for ; Sun, 8 Sep 2013 18:51:34 +0000 (UTC) Received: from linux.hrz.fh-zwickau.de ([141.32.208.202]) by ironport-c350.fh-zwickau.de with ESMTP; 08 Sep 2013 20:51:24 +0200 Received: by linux.hrz.fh-zwickau.de (Postfix, from userid 8012) id 5824BC06CA; Sun, 8 Sep 2013 20:51:25 +0200 (CEST) Date: Sun, 8 Sep 2013 20:51:25 +0200 From: Benjamin Block To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] creating an image of the system Message-ID: <20130908185125.GA18762@zlug.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: b1da5912-b93d-4052-aa96-bcd0b4f4bfe9 X-Archives-Hash: f070386cf0c1b2d75b3a66957840fe9a Hej folks, I wonder what is a good way to create an image of a gentoo-system, so that one can apply it later to the same or other computers. In my case it is a rather simple setup: one partition, no encryption or lvm. Its a debug-setup, so its only used for certain programming-tasks and not for daily work, so no need for something fancy. The time I setup that system I also used only conservative compilation-flags and optimisation, so that it can be used on other CPUs (well, they have to be x86_64 and have to have mmx/sse[23] - but I think every setup that I intend to use this on will have these properties). So I reckon that one could just use tar with permission-preservation and some excludes like dev/sys/proc/tmp. But is this a good idea or is there a better way to do this? I never cloned a gentoo-system, so thats why I would like to be at least somewhat sure about it, so that I don't have to reconfigure it later again, because I messed it up :D best regards, - Ben