Are you using VMware? If so, use their P2V utility.
Last time I did an operation like that, I copied the entire disk to
file, then unpacked that file onto a 2:nd disk in the VM.

No, I wanted to use VirtualBox.

Much like 'dd if=/dev/hdx | gzip > /path/to/image.gz', then unpack with
'gzip -dc /path/to/image.gz | dd of=/dev/hdx' on the VMs 2:nd disk.
After that, shut down the VM, take away the 1:st disk and make the 2:nd
one the primary.

Thanks. This sounds good. But I have a further question: Can image.gz
exist on the same partition as the one to clone (or is rawwriting to
istself then)? The machine has only one (big) partition.

Johannes
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to