Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: VirtualBox Shared folders

  1. #11
    Join Date
    Oct 2011
    Beans
    9

    Re: VirtualBox Shared folders

    on modprobe -l vboxsf I now get :
    updates/dkms/vboxsf.ko

    on lsmod | grep vboxsf I now get :
    vboxsf 35947 0
    vboxguest 196072 2 vboxsf

    on cat /proc/filesystems I now get 2 more lines :
    iso9660
    nodev vboxsf

  2. #12
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: VirtualBox Shared folders

    Try connecting to the share manually - it should work now.

    Code:
    mount -t vboxsf sharename /path/to/mountpoint
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #13
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: VirtualBox Shared folders

    Hi

    Quote Originally Posted by gtrennert View Post
    on modprobe -l vboxsf I now get :
    updates/dkms/vboxsf.ko

    on lsmod | grep vboxsf I now get :
    vboxsf 35947 0
    vboxguest 196072 2 vboxsf

    on cat /proc/filesystems I now get 2 more lines :
    iso9660
    nodev vboxsf
    That looks a lot better. Follow CharlesA's advice and manually mount and you should be good to go.

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  4. #14
    Join Date
    Oct 2011
    Beans
    9

    Smile Re: VirtualBox Shared folders

    OK Nice - thank you so much - so I followed your new advice :
    mount -t vboxsf partagevb /mnt
    (I don't know if /mnt is a good idea but Idon't know very much about the linux filesystem)
    I thought that now I would find the shared folder in /mnt, but there is only 'cdrom' - which seems to be empty

    When I have a look at mount I see this entry at the end :
    partagevb on media/sf_partagevb type vboxsf (gid=1001,rw)

    But :
    cd /media/sf_partagevb => Permission non accordée
    sudo cd /media/sf_partagevb => cd : command not found
    sudo ls /media/sf_partagevb => Here I can see the file that I have copied in windows in the shared folder

    So I think the shared folder is there, I only don't know how to get easy access to this folder (for exemple to decompress the file etc)

    cd /media

  5. #15
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: VirtualBox Shared folders

    uid and guid should be 1000.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #16
    Join Date
    Dec 2009
    Beans
    6,776

    Re: VirtualBox Shared folders

    So I think the shared folder is there, I only don't know how to get easy access to this folder (for exemple to decompress the file etc)
    Are you or are you not using a desktop environment on this server - Gnome?
    Quote Originally Posted by CharlesA View Post
    uid and guid should be 1000.
    VBox starting with Version 4 will automatically mount these shares to "/media/sf_whatever" with root as owner and group as vboxsf. The gid of vboxsf is 1001. There is no longer any need to mount these shares manually or through fstab.

  7. #17
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: VirtualBox Shared folders

    Quote Originally Posted by Morbius1 View Post
    VBox starting with Version 4 will automatically mount these shares to "/media/sf_whatever" with root as owner and group as vboxsf. The gid of vboxsf is 1001. There is no longer any need to mount these shares manually or through fstab.
    Oh thanks. Good to know.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #18
    Join Date
    Oct 2011
    Beans
    9

    Re: VirtualBox Shared folders

    There is no desktop environment installed on this server - should I ?
    Now my question is how to easily access the shared folder on the command line ...

  9. #19
    Join Date
    Dec 2009
    Beans
    6,776

    Re: VirtualBox Shared folders

    We all do seem to be avoiding that question don't we.

    Well in this universe it would be something like this:
    Code:
     cd /media/sf_partagevb
    But when you do it you get this:
    cd /media/sf_partagevb => Permission non accordée
    Which I believe is "Permission denied"

    So my guess is that you are not a member of the vboxsf group. To fix that:
    Code:
    sudo gpasswd -a your-user-name vboxsf
    Then you will have to logout ( of the VBox guest ) and login again for the group membership to take affect.

  10. #20
    Join Date
    Oct 2011
    Beans
    9

    Talking Re: VirtualBox Shared folders

    Thanks for all your help !
    Now I can go on to other subjects ...

Page 2 of 2 FirstFirst 12

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
  •