Physical to virtual migration

 In this post, we will see how to convert a physical machine into virtual machine.

For this task we need to download a tool called Disk2vhd. This tool converts the contents of a disk to a Virtual hard disk (VHD).

download the tool in this link.

https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd

now we will look at the steps.

Step 1: Open the tool 


Step 2: Choose the drive and click "create".




Step 3: now that the vhdx drive is created. we have to convert the vhdx drive into a vdi drive. to do that open the terminal under the oracle virtualbox file. Type in the command given below.

C:\Program Files\Oracle\VirtualBox

./VBoxManage clonehd <filename>.vhdx <filename>.vdi --format VDI

the vdi file will be created from this command.

Step 4: open oracle virtual machine.

go to settings and go to storage.


select the third icon in the bottom right corner of the box and select hard disk from it.

step 5: Then add the respective file to it.




after adding it will show like this.

now you have successfully turned a physical storage to a virtual storage.


Comments

Popular posts from this blog

Create and configure a Virtual Private cloud using AWS

lab ex.13 and Assignment 3: Developing and hosting web applications in AWS using Elastic Beanstalk

Inbound and Outbound rules