[Solved] access disk on host machine

Discussions related to using VirtualBox on Windows hosts.
Post Reply
w2tpmf
Posts: 4
Joined: 14. Nov 2009, 20:52
Primary OS: MS Windows 2008
VBox Version: OSE other
Guest OSses: MS Windows 2003

[Solved] access disk on host machine

Post by w2tpmf »

I am running a Windows 2003r2 server VM on a Windows 2008 host machine. I need the 2003VM to be able to access the F: drive on the host machine. I went into Devices>Shared Folders... and added the drive, but I cannot seem to locate it in the guest machine.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: access disk on host machine

Post by vbox4me2 »

The answer to your question can be found in the Forum FAQ or the QuickClick FAQ, have a look there first.
Alternatively you can also find the answer via Google, example: Click me.
Reporting a bug go's via bugtracker: Bugtracker Seperate account needed.
Give proper information with your question: Forum Posting Guide.
w2tpmf
Posts: 4
Joined: 14. Nov 2009, 20:52
Primary OS: MS Windows 2008
VBox Version: OSE other
Guest OSses: MS Windows 2003

Re: access disk on host machine

Post by w2tpmf »

I followed the instructions in the FAQ, but still do not see my shared folder in the network places window. I do not even see the "VirtualBox Shared Folders" under network places.
w2tpmf
Posts: 4
Joined: 14. Nov 2009, 20:52
Primary OS: MS Windows 2008
VBox Version: OSE other
Guest OSses: MS Windows 2003

Re: access disk on host machine

Post by w2tpmf »

fyi, these are the instructions I used:

Q: How do I access Shared Folders in?
A: You have to install the Guest Additions first. This is all
described in the manual (and above for Linux), but as most users don't
even read that, it will be pasted here. There is also a howto for
Linux here.

* In a Windows guest, starting with VirtualBox 1.5.0, shared
folders are browse-able and are therefore visible in Windows Explorer.
So, to attach the host’s shared folder to your Windows guest, open
Windows Explorer and look for it under “My Networking Places” ->
“Entire Network” -> “VirtualBox Shared Folders”. By right-clicking on
a shared folder and selecting “Map network drive” from the menu that
pops up, you can assign a drive letter to that shared folder.
Alternatively, on the Windows command line, use the following:

Code: Select all Expand viewCollapse view
net use x: \\vboxsvr\sharename

While vboxsvr is a fixed name (note that vboxsrv would also
work), replace “x:” with the drive letter that you want to use for the
share, and sharename with the share name specified with VBoxManage.
Note that you can still map a shared folder with NAT network.
* In a Linux guest, use the following command:

Code: Select all Expand viewCollapse view
mount -t vboxsf [-o OPTIONS] sharename mountpoint

Replace sharename with the share name specified with VBoxManage,
and mount-point with the path where you want the share to be mounted
(e.g. /mnt/share or /media/share). The usual mount rules apply, that
is, create this directory first if it does not exist yet. Beyond the
standard options supplied by the mount command, the following are
available:
iocharset CHARSET to set the character set used for I/O
operations (utf8 by default) and
convertcp CHARSET to specify the character set used for
the shared folder name (utf8 by default). The generic mount options
(documented in the mount manual page) apply also. Especially useful
are the options uid, gid and mode, as they allow access by normal
users (in read/write mode, depending on the settings) even if root has
mounted the filesystem.
w2tpmf
Posts: 4
Joined: 14. Nov 2009, 20:52
Primary OS: MS Windows 2008
VBox Version: OSE other
Guest OSses: MS Windows 2003

Re: access disk on host machine

Post by w2tpmf »

I fixed it... I had to re-install the guest additions and reboot the VM to get the virtualbox shares to show up in network places.
Post Reply