Virtual box on second HDD

Discussions related to using VirtualBox on Windows hosts.
Passion
Posts: 16
Joined: 20. Jan 2022, 19:03

Virtual box on second HDD

Post by Passion »

Hi, i will try describe my problem as best as i can. I am not friend with english.
HDD was my primary drive before something happened with my pc 2 months ago. I built new one,plus i am still using my old hdd. But primary is ssd now,where is installed new windows.
HDD works pretty ok,everything old is still there. So can i somehow access to my old virtualbox? Because i am not able to find any exe, i tried look up in program files etc. I am lost.
thanks in advance.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Virtual box on second HDD

Post by mpack »

You can double click the existing ".vbox" files to register each VM in its current location.

If you would like to move some or all of the VMs to the SSD then you can do so - just move the VM folder with all contents before registering the VM per the last paragraph.
Passion
Posts: 16
Joined: 20. Jan 2022, 19:03

Re: Virtual box on second HDD

Post by Passion »

You can double click the existing ".vbox" files to register each VM in its current location.
How?
If you would like to move some or all of the VMs to the SSD then you can do so - just move the VM folder with all contents before registering the VM per the last paragraph.
Problem is i dont know the location.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual box on second HDD

Post by scottgus1 »

If you still have the old VM on the old drive, then you can use your computer's Search function to find the .vbox file (search for *.vbox). Web-search how to search files with your computer's OS.
Passion
Posts: 16
Joined: 20. Jan 2022, 19:03

Re: Virtual box on second HDD

Post by Passion »

Searching found nothing.I tried it in start menu, type .vbox
I mean, maybe i can find them, but what to do? Install new vb on ssd, and copy specific files? On old VB i was running windows server and kali linux.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual box on second HDD

Post by scottgus1 »

Passion wrote:I tried it in start menu, type .vbox
I tried that too and it did not find all my .vbox files either. Using the start menu is not going to find all files in your computer. https://www.google.com/search?q=how+to+ ... e&ie=UTF-8

Unfortunately we cannot help you find your VM. You'll have to look for it. Try the default location in a Windows host:

C:\Users\{username}\Virtualbox VMs

Except that for your old drive, use the old drive's new drive letter instead of C. If the old VM is not in that "Virtualbox VMs" folder, then we cannot tell you where it is.
Passion
Posts: 16
Joined: 20. Jan 2022, 19:03

Re: Virtual box on second HDD

Post by Passion »

ok i found this on that path
Attachments
virtaulbox.png
virtaulbox.png (53.92 KiB) Viewed 4764 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual box on second HDD

Post by scottgus1 »

If everything was according to the defaults, that folder is:

C:\Users\{username}\.Virtualbox

Note that last folder name in the path: ".Virtualbox" is not "Virtualbox VMs"

You are looking for:

C:\Users\{username}\Virtualbox VMs

Try again.
Passion
Posts: 16
Joined: 20. Jan 2022, 19:03

Re: Virtual box on second HDD

Post by Passion »

OK FOUND THIS!
Attachments
virtualbox.JPG
virtualbox.JPG (12.58 KiB) Viewed 4748 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual box on second HDD

Post by scottgus1 »

OK, so are there any .vbox files in those folders?

Your host appears to be hiding known extensions. Web-search how to make the host OS show all extensions, then you should see the .vbox files.
Passion
Posts: 16
Joined: 20. Jan 2022, 19:03

Re: Virtual box on second HDD

Post by Passion »

these files are there.What to do next?
Attachments
virtualbox2.JPG
virtualbox2.JPG (18.87 KiB) Viewed 4738 times
virtualbox1.JPG
virtualbox1.JPG (19.49 KiB) Viewed 4738 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual box on second HDD

Post by scottgus1 »

Hey, great! You found them!

It appears that your host OS does not know what these files are. Have you installed Virtualbox on the host? https://www.virtualbox.org/wiki/Downloads
Passion
Posts: 16
Joined: 20. Jan 2022, 19:03

Re: Virtual box on second HDD

Post by Passion »

Hello.Lot of thanks for helping me.
To your question:I installed it long ago on that old hdd, but i cant turn it on. I mean, i still have old windows on that disc. But it is not on use,because new windows is in ssd.So i believe it is still installed on that old hdd, but should i install new VB to ssd? Would it be ok?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual box on second HDD

Post by scottgus1 »

Virtualbox must be installed on the host's OS to run the VMs you have on the other drive. Once Virtualbox is installed, the .vbox files will be double-click-able and will open Virtualbox and start the VM.
Passion
Posts: 16
Joined: 20. Jan 2022, 19:03

Re: Virtual box on second HDD

Post by Passion »

ok i have installed new VB on new disk. What should i do now? Copy files to new path?
Post Reply