Most of VirtualBox relies on its VMs.
But sometimes, Your VirtualBox can break. Before you attempt to fix it, (or your trying to get a new virtualbox version)
Lets make sure your VMs are safe so that you don't have to spend your stress reinstalling them,
First, Open the VirtualBox VMs Folder. (it is mainly found in your personal folder and is not hidden.)
Then go into each of your VM Folders and take out the .vhd or .vdi files (in my case its .vhd) and put them on your desktop.
Now, make a Folder on your desktop and put the VHDs or VDIs in them.
Now it is safe to reinstall virtualbox or do whatever you need to do w/ it.
Once you have done that, Remake ALL of your vms, and This time, Don't create the Hard disk. Just use the one you put in your folder on the desktop that corresponds the OS you want.
When you startup your VMs, They will have an OS w/ all your saved VM files on them.
That's how to do it!
Thanks and Hope this helped!
--MiloTheDev.
Moving your VMs to a new VirtualBox. (or fixing a broken one)
-
- Posts: 27
- Joined: 27. Dec 2018, 02:35
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: None that work at the moment
Moving your VMs to a new VirtualBox. (or fixing a broken one)
From, MiloTheDev.
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Moving your VMs to a new VirtualBox. (or fixing a broken one)
ABSOLUTELY NOT!MiloTheDev wrote:That's how to do it!
I'm sorry, but this is not the best VirtualBox related advice I've seen, on the contrary! Why would you want to do all that? Just because of a very, very specific problem in your case?
If you are interested in giving advice and guides, consider all the cases. And your suggestion doesn't. It's convoluted, it's error prone, it's simply the wrong way. There's a better one: BACKUP!!!
Are you going to do that for all ninety (90) of my VMs? Are you sure you want to do it like that?MiloTheDev wrote:go into each of your VM Folders and take out the .vhd or .vdi files (in my case its .vhd) and put them on your desktop.
The two are not related. At all actually!MiloTheDev wrote:Now it is safe to reinstall virtualbox or do whatever you need to do w/ it.
Are you sure you want to recreate 90 VMs? Do you remember the settings for 90 VMs? I most certainly don't. That's why I make aMiloTheDev wrote:Once you have done that, Remake ALL of your vms, and This time, Don't create the Hard disk.
- BACKUP!!!
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 27
- Joined: 27. Dec 2018, 02:35
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: None that work at the moment
-
- Posts: 27
- Joined: 27. Dec 2018, 02:35
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: None that work at the moment
Re: Moving your VMs to a new VirtualBox. (or fixing a broken one)
Well how would you do that if...socratis wrote:BACKUP!!
From, MiloTheDev.
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Moving your VMs to a new VirtualBox. (or fixing a broken one)
Come again? Are you actually trying to "shush" another user? Seriously?MiloTheDev wrote:SHUSH
This time it's a warning only; the first and last one. I do not want to see such behavior again!The Forum Posting Guide wrote:Whilst we accept that some robust debate may be appropriate, we will not accept unnecessarily aggressive or rude behavior. So please, no matter what your personal frustration, try to keep your comments constructive. If you cross this line then the moderators will delete your posts.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: Moving your VMs to a new VirtualBox. (or fixing a broken one)
I would either restore C:\Users\milo4\.VirtualBox\VirtualBox.xml from a backup or I would go to C:\Users\milo4\.VirtualBox and if VirtualBox.xml-prev isn't zero bytes copy that back to VirtualBox.xml. I would then look to try and understand the cause of why a file has got written as 0 bytes when it shouldn't have.MiloTheDev wrote:Well how would you do that if...
Document is empty.
Location C:\Users\milo4\.VirtualBox\VirtualBox.xml
-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
-
- Posts: 27
- Joined: 27. Dec 2018, 02:35
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: None that work at the moment
Re: Moving your VMs to a new VirtualBox. (or fixing a broken one)
Thanks! It worked perfectly!!!!andyp73 wrote:I would go to C:\Users\milo4\.VirtualBox and if VirtualBox.xml-prev isn't zero bytes copy that back to VirtualBox.xml.
Also it worked for my broken Windows 7 VM!!! (w/ Windows 7.vbox-prev!)
From, MiloTheDev.