Results 1 to 5 of 5

Thread: How do I access shared folders via Guest Additions in Sun Virtual Box from Ubuntu?

  1. #1
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,467
    Distro
    Ubuntu Mate

    Question How do I access shared folders via Guest Additions in Sun Virtual Box from Ubuntu?

    Hi.
    I have installed Ubuntu 8.10 in Sun Virtual Box. I did this to create a .vdi file that is handy to have. I have installed guest additions but I don't see how to access my shared folders. I have selected my desktop and documents folders as two shared folders on my host OS.

    Do I need to use one of these commands?
    VBoxClient
    VBoxClient-all
    VBoxContro
    Attached Images Attached Images
    Last edited by Rytron; June 2nd, 2009 at 06:45 PM.
    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

  2. #2
    Join Date
    Aug 2008
    Beans
    55

    Re: How do I access shared folders via Guest Additions in Sun Virtual Box from Ubuntu

    On VirtualBox main window, open Help by pressing F1
    (or Help > Contents...), go to chapter 4.6.

    There is also a guide about installing Guest Additions
    at chapter 4.3.

    mount -t vboxsf [-o OPTIONS] sharename mountpoint
    Last edited by namaku0; June 2nd, 2009 at 01:03 PM.

  3. #3
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,467
    Distro
    Ubuntu Mate

    Question Re: How do I access shared folders via Guest Additions in Sun Virtual Box from Ubuntu

    Hi.
    I have dkms installed on both the Ubuntu host and Ubuntu guest operating systems. I think that is the correct method? I have Guest Additions installed on the Ubuntu guest OS.
    I want to share my Documents folder of the host Ubuntu OS with the guest Ubuntu OS. I'd like it to be mounted on the Desktop of the guest Ubuntu OS.

    How should this code be modified to do the above?

    Code:
    mount -t vboxsf [-o OPTIONS] sharename mountpoint
    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

  4. #4
    Join Date
    Aug 2008
    Beans
    55

    Re: How do I access shared folders via Guest Additions in Sun Virtual Box from Ubuntu

    When you configure a folder to share in VirtualBox,
    you give it a name. Now lets assume the name is
    "hostdesktop". Open Terminal in guest OS, try the
    following line:

    mount -t vboxsf hostdesktop /home/guestusername/Desktop

  5. #5
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,467
    Distro
    Ubuntu Mate

    Post Re: How do I access shared folders via Guest Additions in Sun Virtual Box from Ubuntu

    Quote Originally Posted by namaku0 View Post
    When you configure a folder to share in VirtualBox,
    you give it a name. Now lets assume the name is
    "hostdesktop". Open Terminal in guest OS, try the
    following line:

    mount -t vboxsf hostdesktop /home/guestusername/Desktop
    Perfect. Works a charm. Is there a possibility of a GUI interface? I guess I could just use
    Code:
    sudo nautilus
    to access the Shared folder via a GUI interface.
    One strange this was that when I created a folder and a document on my guest OS, the same folder and file appeared on my host OS!
    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •