1 |
On Tue, 7 Feb 2017 20:33:57 -0500, Walter Dnes wrote: |
2 |
|
3 |
> Here's how I did it... |
4 |
> |
5 |
> * Ensured that CONFIG_IA32_EMULATION was set in the kernel config of the |
6 |
> 64-bit host linux (Gentoo) |
7 |
> |
8 |
> * rsync'd an entire install of CentOS 6.5, lock-stock-and-barrel, from a |
9 |
> QEMU VM to /home/misc/centos65 |
10 |
> |
11 |
> * rm |
12 |
> -rf /home/misc/centos65/dev /home/misc/centos65/sys /home/misc/centos65/proc |
13 |
|
14 |
If you used the -x switch with rsync, the contents of sys, dev and proc |
15 |
won't be copied n the first place, nor will the contents of any other |
16 |
mounted filesystems. |
17 |
|
18 |
That's if you rsynced from a running VM. If you used qemu-ndb to mount |
19 |
the VM image without starting the VM they would have been empty to start |
20 |
with. |
21 |
|
22 |
|
23 |
-- |
24 |
Neil Bothwick |
25 |
|
26 |
Those who live by the sword get shot by those who don't. |