Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Clone a running gentoo machine onto another machine
Date: Tue, 01 Apr 2008 20:57:48
Message-Id: 20080401215518.53976264@zaphod.digimed.co.uk
In Reply to: Re: [gentoo-user] Clone a running gentoo machine onto another machine by Dan Cowsill
1 On Tue, 1 Apr 2008 16:45:49 -0400, Dan Cowsill wrote:
2
3 > Now, correct me if I'm wrong, but I had read that if you don't copy
4 > the files in /dev, udev won't mount properly on the machine you're
5 > cloning to and all hell will break lose.
6
7 There are two files you need in the dev directory of the root
8 filesystem, console and null. Create those, or bind mount the root
9 directory as a;ready suggested.
10
11 > Also, iirc, I believe I
12 > tarred a running machine (including /dev, excluding /sys) and the
13 > clone was successful.
14
15 There's no reason why it wouldn't be, but you're wasting a bunch of pace
16 and inodes on your root filesystem by putting a load of stuff in /dev
17 that is then hidden when udev starts.
18
19
20 --
21 Neil Bothwick
22
23 Snacktrek, n.:
24 The peculiar habit, when searching for a snack, of constantly
25 returning to the refrigerator in hopes that something new will have
26 materialized.

Attachments

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

Replies

Subject Author
Re: [gentoo-user] Clone a running gentoo machine onto another machine Dan Cowsill <danthehat@×××××.com>