Changing the storage size of a virtual machine in VirtualBox involves a few steps. Here’s a general guide.
Backup your Virtual Machine (VM)
Before making any changes, it’s a good practice to create a backup of your virtual machine. This ensures that if something goes wrong during the resizing process, you can restore your VM to its previous state.
Resize the Virtual Hard Disk
- Open VirtualBox and make sure your VM is powered off.
- In the VirtualBox Manager. OPen File –> Toolss –> Virtual Media Manager
- Change the size according to what we want. In this case i want to chage size of disk from 20GB to 40GB.
Can Size changes directly affect our Virtual Machine? The answer is No. Additional action is required in the operating system to expand new sizes that have not been allocated.
Next Article is how to resize VM with Linux EXT4 Partition. Hope it usefull. Please feel free for comment.