Johannes Nohl skrev:
> Dear list,
>
> I have a webserver with SSH access only (no physical access). I want
> to try changes in configuration. I think the easiest way would be
> setting up a test system, rather than trying on a production system.
>
> I'd like to use virtualbox setting up a clone of the webserver. But
> how do I do? How do I copy the whole files while running the system?
> How to get the bootloader to my virtual machine, at last?
>
> Any ideas?
>
> Thanks

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.

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.
--

Anders Norrbring
Norrbring Consulting
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to