Accessing the same Virtual machine from different OS

This is for discussing general topics about how to use VirtualBox.
Post Reply
Arnab
Posts: 3
Joined: 18. Jul 2013, 08:27

Accessing the same Virtual machine from different OS

Post by Arnab »

Lets say I have a dual booting computer; Windows 7 and Debian.

Hard disk: 320 GB
60 GB: Windows (C:)
200 GB: Windows (D:)
30 GB: Debian

I created a virtual machine in D: drive from Debian. I installed Windows XP in it.
My question is can I configure virtualbox such a way that I can access the VM from Windows 7 too?
I can see the .vdi file in the D: drive.

Thanks in advance.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Accessing the same Virtual machine from different OS

Post by loukingjr »

If you mean can you read what's on the .vdi file from Windows 7 no. If you mean can you run it as a virtual machine from Windows 7 yes. You would have to install VirtualBox in Windows 7, create a VM for Windows XP but instead of creating a HD you would attach the existing .vdi file. You might have to change the permissions for the .vdi file.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Accessing the same Virtual machine from different OS

Post by mpack »

If you are going to do this then make sure that neither VM is using snapshots or any other kind of differencing image scheme (linked clone, immutable drive etc).
whitewater
Posts: 4
Joined: 18. Jul 2013, 01:20

Re: Accessing the same Virtual machine from different OS

Post by whitewater »

i had almost the same question:

i installed a virtual windows xp on my main machine and placed the hard drive file on one of my nas systems. If i install virtual box on a laptop. is it possible to use the same xp file on the laptop ?
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Accessing the same Virtual machine from different OS

Post by ChipMcK »

Are you asking
  • When I define a new virtual machine, is it possible to specify an existing .vdi (virtual hard drive)?
?????????
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Accessing the same Virtual machine from different OS

Post by mpack »

whitewater wrote:i had almost the same question:
Yes, Loukingjr's answer above applies to you as well.
Post Reply