a Dreamer

dreams out loud

Virtual Box Guest Addition : Accessing file in host os (windows) from guest os (ubuntu)

As you read the title, you know that for this time i will write about how to access files from a host operating system from a guest operating system in virtual box. in this care, i use Microsoft windows XP service pack 3 as host os and ubuntu 9.04 as guest addition.

before we start to read up this tutorial, we must have known and have installed virtual box guest Addition in our guest os. if you have not known how to install it yet, please read this article :  http://www.sentra-ilmu.co.cc/2010/10/mengistall-virtualbox-guest-addition-di.html

lets begin this section

the first thing we should do is run our ubuntu in virtual box

in menubar of ubuntu window, just click "device" and choose "share folder"
   
a window will appear and you can click on the button to add new share folder, type the path and the name of the folder you want to share.

for example, i want  to share a folder in drive D:/share and i type its name share.

notes

before you type the path and the name, you should already change the property of the folder in host os

if you 've done, the next step is run your terminal and create a folder in home

      Mkdir /home/share

    then, we must connect our share folder in host os to our folder in home, type these command on terminal

     Mount –t vboxsf sharename mountpoint

     in my case i type :

     Mount -t vboxsf share /home/share

    well done so far!  now take a look to our share folder in home, its content will be same with our share folder in our host os.
wish you luck!!

0 argumen:

    Follower