Answer the question
In order to leave comments, you need to log in
How to make a virtual machine non-viral, i.e. host?
The essence of the problem.
There is a PC.
Host - Windows
Guest - Ubuntu server
Task: Pull out the guest OS and make it a host, already on another PC.
On the guest OS, the entire server is running normally, I want to transfer it to a real wheelbarrow.
Please help or give advice, where to read, where to look!
Answer the question
In order to leave comments, you need to log in
Nothing complicated, we mount any live cd with Linux on board into a virtual machine, we also load a physical computer, to which we will transfer from the same virtual machine, set up a network between them, then on the computer where we will clone:
on the computer from which we will clone We are
waiting for completion, reboot already from the hard drive and get an exact copy of the system.
How it works?
The nc command opens port 10000 to listen and wait for data. This data is then redirected directly to disk.
On another computer, the nc command establishes a connection with the computer at 192.168.1.2, reads data from the local disk /dev/sda and transfers to the remote computer on port 10000.
If the disks are different in size after the transfer, you need to do resize2fs
The second way is to use clonezilla for these purposes, manuls full Internet, I personally use nc, it works fine in both directions both from virtual servers to physical servers and from physical ones. servers in virtual machines and in fact 2 teams.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question