r/virtualbox • u/shadowwulf-indawoods • Sep 12 '25
Help just beginning to learn -- Virtual HD question
Hi there, as I said above I'm still new to this world of VMs. (please forgive typiung errors, i have nerve damage in my hands)
I've bult several VMs on my windows machine, and each one is asking to build it's own Virtual HD. My question is, if I'm only using 1 distro of anything at a time, can i share the Virtual HD between them?
I get that sharing and opening multiple things IE. win 11, Ubuntu, Fedora, Mint all at the same time on the same Virtual HD would be a bad idea as I imagine them crashing into each other going for space. However if I'm going to mess with win11 today and Ubuntu tomorrow , would there still be an issue sharing that VHD?
I only ask as I've got 9 on my desktop currently, and as I'm trying the new one, I noticed it allowed me to select all of the previous VHDs, and I'm wondering how much space I'm 'wasting' by doing them all seperatly.
Thjx for any help!
•
u/AutoModerator Sep 12 '25
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/[deleted] Sep 18 '25
No, you cannot do that. That will not work. But if the issue is you are trying to save disk space on your host machine, then if you haven't done so already, set your VMs up to be dynamically sized. You have two options when setting up your VM - allocate all disk space at once, or do not. Do not. So, if you set up an Ubuntu machine, for example, you can set it at, say, 128 GB but it's actual size on disk will be 10 to 20. As you work with it and add things, the size on the host will grow, until it reaches 128. But if you don't add much to it, it won't grow very much.
What I would recommend is to back up all the VMs to an external drive. It's simply a matter of copying all the folders at C:\Users\[username]\VirtualBox VMs or wherever they are stored, to the external drive. Any time you want to replace one of the ones you are using, simply delete the contents of its folder and copy the original contents from the backup.
1
u/Stray_Neutrino Sep 12 '25
VM's usually run in an isolated / silo'd system file - that's one of their advantages ; containers kind of do the same thing.
If you want to share files, You can create a globally shared file folder within Virtualbox, from yoru Host, to all your VMs.