Press "Enter" to skip to content

How to Convert Physical Machine to VirtualBox Machine. – wintips.org

Find the latest Windows news of How to Convert Physical Machine to VirtualBox Machine. – wintips.org . Available via Thirty5Tech News Section which was published and made available by Windtips. . All news located here are for information and educational purpose to let you know the consumer, whats going on around the tech industry. All information news technology is brought to you by Thirty5Tech a New York City computer repair service provider which gets it’s news from third party party news source.. If you like the news below, Feel free to visit the source of the link for more information or to continue reading How to Convert Physical Machine to VirtualBox Machine. – wintips.org from their main source.




If you want to convert a physical machine to a virtual machine ready to run in VirtualBox, continue reading below.

Sometimes you may need to keep an old computer for the programs and files it contains. In such a case you can either keep the old computer (if it has no hardware problems), or convert the physical computer into a virtual machine that you can open using VirtualBox.

In this tutorial you will learn how to turn a physical Windows XP machine into a VirtualBox machine. The same instructions can be used to convert any physical machine running Windows 7, 8 or 10 OS to VirtualBox.

How to Convert a Physical Windows PC to a VirtualBox Virtual Machine.

Step 1. Convert Physical Machine’s Hard Disk to Virtual Disk.

The first step to convert a physical machine to a VirtualBox machine, is to convert the physical machine’s hard disk to a Virtual Hard Disk image file (VHD or VHDX). To do that, the only you need is the disk2vhd utility from www.sysinternals.com.*

* Info: Disk2vhd is a utility that can create a Virtual Hard Disk image file (VHD or VHDX) from a physical disk for use in VirtualBox, Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs).

To convert a physical disk to virtual disk with Disk2vhd:

1. Download and extract the Disk2vhd.zip file on the computer that you want to convert to a VirtualBox machine, or on another computer where you have attached the disk of the physical machine that you want to convert to virtual.

2. From the extracted folder, right-click on disk2vhd64.exe and select Run as administrator. Then ask yes at UAC warning.

How to Convert Physical Machine to VirtualBox Machine.+

 

3. At Disk2vhd window:

    1. Uncheck the Use Vhdx checkbox. *
    2. Select the physical disk that you want to convert to virtual disk. (In this example I have connected the disk I want to convert to virtual to another pc).
    3. Select a destination folder and type a name for the created virtual disk file (e.g. “WindowsXP.vhd”). **
    4. Finally, click Create to create the virtual disk image from the physical disk.

* Notes:
1. VirtualBox supports VHD files but not VHDX.
2.
If you are running Disk2vhd on the same machine that you want to convert to virtual, then save the virtual disk file to another drive and not in disk C:

disk2vhd - convert physical disk to vhd

4. Now wait until the virtual disk file is created. Once done, continue to next step.

Step 2. Convert VHDX image file to VDI file (OPTIONAL). *

Note: As I said above, VirtualBox can read VHD disk image files without any problem but not VHDX files. If for any reason you have created a VHDX file, then proceed to convert it to a VDI file by following the steps below otherwise, skip to next step.

To convert VHDX to VDI:

1. Open Command Prompt as Administrator.

2. In command prompt, give the following command and hit enter:

3. Now give the following commnand to convert the VHDX file to a VDI file:

* Note: Where FILENAME1=the filename (and the path) of the VHDX file & FILENAME2=the filename of the converted VDI file. e.g.:

Convert VHDX file to VDI file

Step 3. Setup a new VM in VirtualBox using the VHD file.

1. Open VirtualBox Manager and select New to create a new VM machine.

2. Give a name for the VM machine and click Next.

setup virtualbox machine

3. Specify the allocated memory size for the new VM and click Next.

convert physical machine to virtualbox

4a. Select Use an existing virtual hard disk file and click Browse.

VirtualBox virtual hard disk file

 

4b. Choose Add and select the VHD (or the VDI) file.

add virtual hard disk file virtualbox

4c. Finally select Create to create the new VM machine.

attach vhd file virtualbox

5. When the virtual machine is created go to System and in Motherboard settings apply the following actions:

    1. Set Hard Disk as first boot device.

    2. Enable I/O APIC extended feature. (otherwise the VM machine wouldn’t boot).

    3. Also, if the guest OS is UEFI based, Enable EFI (special OSes only). (Otherwise leave this setting unchecked).

convert physical computer to virtualbox machine

6. Start the Virtual machine.

7. Once the VM is started, proceed to install the VirtualBox guest additions to optimize the operating system for better performance and usability and you’re done!

That’s it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free:

Visit here to continue reading or for main source of information. Source link