On Tue, 7 Feb 2017 20:33:57 -0500, Walter Dnes wrote:

>   Here's how I did it...
> 
> * Ensured that CONFIG_IA32_EMULATION was set in the kernel config of the
>   64-bit host linux (Gentoo)
> 
> * rsync'd an entire install of CentOS 6.5, lock-stock-and-barrel, from a
>   QEMU VM to /home/misc/centos65
> 
> * rm
> -rf /home/misc/centos65/dev /home/misc/centos65/sys /home/misc/centos65/proc

If you used the -x switch with rsync, the contents of sys, dev and proc
won't be copied n the first place, nor will the contents of any other
mounted filesystems.

That's if you rsynced from a running VM. If you used qemu-ndb to mount
the VM image without starting the VM they would have been empty to start
with.


-- 
Neil Bothwick

Those who live by the sword get shot by those who don't.

Attachment: pgpw8e2REmx8M.pgp
Description: OpenPGP digital signature

Reply via email to