Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] creating an image of the system
Date: Wed, 11 Sep 2013 11:02:13
Message-Id: 20130911120155.7a4ed043@hactar.digimed.co.uk
In Reply to: Re: [gentoo-user] creating an image of the system by Michael Hampicke
1 On Mon, 09 Sep 2013 08:30:24 +0200, Michael Hampicke wrote:
2
3 > Tar with permission preservation is fine. Just exlude everything in
4 > dev/sys/proc/tmp as you said. But make sure, that these directories are
5 > in your tar file, it does not matter if they are empty, but they have to
6 > exist in order to boot proplery.
7 >
8 > One special case. To boot you most likely will need /dev/console and
9 > /dev/null. Just inlcude those two device nodes in your tar file.
10
11 Instead of all that, you could bind-mount / somewhere and just make a
12 tarball of that. That way you exclude any other filesystems (which can
13 also be done with --one-filesystem) and include any device nodes in the
14 underlying /dev directory.
15
16
17 --
18 Neil Bothwick
19
20 It may be that your sole purpose in life is simply to serve as a
21 warning to others.

Attachments

File name MIME type
signature.asc application/pgp-signature