This post tells you how to make a conversion between fixed and dynamic disks in VirtualBox. If you want to let VirtualBox convert fixed disk to dynamic or conversely, apply the steps offered by Partition Magic in this post.

Dynamic Disk vs Fixed Disk

The dynamic disk is a kind of virtual hard disk that starts with a small size but it can grow if you add data to it within the virtual machine. It is efficient in terms of storage space as it only uses the required host storage space. However, it affects PC performance when the disk expands.

As for the fixed disk, it has a specific size and won’t grow when required. Virtual machines with fixed disks usually perform better than dynamic ones because they don’t need to distribute their resources to increase their size. The drawback is that the disk can fill up eventually, resulting in a storage shortage.

According to your specific situation, you can perform conversion between fixed and dynamic disks in VirtualBox. The point is how to convert dynamically sized VirtualBox hard drive to a fixed size or vice versa. Well, this post reveals the answers.

Improve Virtual Machine Performance: 7 Methods and 4 Tips
Improve Virtual Machine Performance: 7 Methods and 4 Tips

This post tells you the possible reasons for virtual machine running slow and methods to improve virtual machine performance.

Read More

VirtualBox Convert Fixed Disk to Dynamic and Vice Versa

In this section, we show you how to make a conversion between fixed and dynamic disks in VirtualBox. The whole procedure is divided into 3 steps.

Step 1: Ensure You Have Enough Space

Before you perform the conversion between fixed and dynamic disks in VirtualBox, you should ensure that your drive has abundant space to accommodate a separate disk image. If the size of the virtual disk to convert is 70GB, you need to make sure there’s 70GB of free disk space at least.

To check your disk size in VirtualBox, right-click on the disk, choose Settings > Storage, click your VDI, and check the Virtual Size of the file. If you have sufficient space, continue the process. If not, increase disk space and move forward.

Tips:
To increase disk space on physical PCs, you can use MiniTool Partition Wizard. Its Extend Partition feature allows you to enlarge partition size, while its Space Analyzer feature can analyze disk space usage and free up disk space.

MiniTool Partition Wizard FreeClick to Download100%Clean & Safe

Also read: How to Increase VirtualBox Disk Size Under Windows Host

Step 2: Convert a VirtualBox Fixed Disk to a Dynamic or Vice Versa

Shut down the virtual machine whose virtual disk you want to convert from fixed to dynamic or vice versa. Then make VirtualBox convert fixed disk to dynamic or conversely using these instructions.

  1. Type cmd in the search box and then click Open under the displayed Command Prompt app.
  2. In the pop-up Command Prompt window, type cd “C:\Program Files\Oracle\VirtualBox” and hit Enter.
  3. Run the VBoxManage.exe list hdds command to list all the VMs to fetch their location. Pay attention to the full file path of the virtual disk (.VDI) that you would like to convert from fixed to dynamic or vice versa. You’d better copy and paste it into Notepad.
  4. To convert a VirtualBox fixed disk to a dynamic, run this command: VBoxManage.exe clonemedium disk “source.vdi” “destination.vdi” –variant Standard
  5. To convert from dynamic to fixed, execute this command: VBoxManage.exe clonemedium disk “source.vdi” “destination.vdi” –variant Fixed
Tips:
1. You should replace source.vdi with the file path of the VDI file (Virtual disk) you pasted in Notepad, and replace destination.vdi with the name and destination on the disk where the new VDI file with the new type. You should make sure that the location of the source and destination are the same but the file names are different if you don’t want to reconfigure the VDI.
2. If you can’t run the command and receive a syntax error, write “-variant” manually and re-run it.
Fixed: VirtualBox Displays Black Screen and Not Booting Guest OS
Fixed: VirtualBox Displays Black Screen and Not Booting Guest OS

What to do if VirtualBox displays black screen and not booting guest OS? If you are bothered by this issue, take a look at this guide.

Read More

Step 3: Remove Inaccessible Virtual Disks from VirtualBox

Now that you don’t need to older VDI, you can remove it and add a new one. To do that, you can refer to the following instructions.

  1. Run Oracle VirtualBox.
  2. Navigate to File > Tools > Virtual Media Manager.
  3. Click Refresh.
  4. Choose the VDI in question and click Release.
  5. Tap on Remove. If there is more than one inaccessible VDI, remove all of them by repeating the operation.
  6. Select the virtual machine and click Settings.
  7. Head to Storage and click on the second Plus (+) icon next to Controller:IDE.
  8. Click Add, go to the location where the file is stored, and add it.
  9. After the new VID image is added to the Hard Disk Select utility, pick the VDI from the Not Attached section, and click Choose.
  10. Eventually, click OK to save changes.
How to Transfer Files Between Virtual Machine and Host Computer
How to Transfer Files Between Virtual Machine and Host Computer

This post tells how to transfer files between Virtual Machine and host computer in detail. If you have that need, please refer to this guide.

Read More

Bottom Line

How to convert dynamically sized VirtualBox hard drive to a fixed size and vice versa? The detailed steps have been offered to you. Simply follow them to complete the operation.

  • linkedin
  • reddit