Please support VectorLinux!

Author Topic: (Solved) VirtualBox Shared Folders  (Read 1964 times)

lkj

  • Member
  • *
  • Posts: 21
(Solved) VirtualBox Shared Folders
« on: June 11, 2012, 01:27:06 pm »
I just installed VL 7 as a guest in VirtualBox. Installed the guest additions but I can't for the life of me get shared folders to mount. Anyone know what I'm missing?
« Last Edit: June 11, 2012, 02:57:09 pm by lkj »

lkj

  • Member
  • *
  • Posts: 21
Re: VirtualBox Shared Folders
« Reply #1 on: June 11, 2012, 02:56:49 pm »
okay, I finally figured it out.

guess it might help someone if I said how...
create a folder where you want to mount the shared folder. for example ~/Multimedia
add "mount -t vboxsf -o uid=1000,gid=1000 (name of the shared folder)  /home/(your user name)/(where you want to mount it)" to /etc/rc.d/rc.local
« Last Edit: November 05, 2012, 01:59:09 pm by lkj »

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: (Solved) VirtualBox Shared Folders
« Reply #2 on: June 11, 2012, 03:29:47 pm »
Nice tip thanks.
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

lkj

  • Member
  • *
  • Posts: 21
Re: (Solved) VirtualBox Shared Folders
« Reply #3 on: June 11, 2012, 03:42:22 pm »
Nice tip thanks.
welcome. gave myself a headache figuring it out.  :D

Orioa

  • Member
  • *
  • Posts: 4
Re: (Solved) VirtualBox Shared Folders
« Reply #4 on: November 05, 2012, 01:26:29 pm »
I tried what you suggested but i can  not get it to work any additional info would be greatly appreciated

lkj

  • Member
  • *
  • Posts: 21
Re: (Solved) VirtualBox Shared Folders
« Reply #5 on: November 05, 2012, 01:28:56 pm »
I tried what you suggested but i can  not get it to work any additional info would be greatly appreciated
well, you have to install the guest additions and add your user name to the vboxsf group. other than that it should work.

edit: you also have to have the kernel source package installed in order to have the VirtualBox modules build correctly.
« Last Edit: November 05, 2012, 01:30:47 pm by lkj »

Orioa

  • Member
  • *
  • Posts: 4
Re: (Solved) VirtualBox Shared Folders
« Reply #6 on: November 05, 2012, 01:42:06 pm »
i have guest additions installed how do i add myself to that group sorry i am new to this

lkj

  • Member
  • *
  • Posts: 21
Re: (Solved) VirtualBox Shared Folders
« Reply #7 on: November 05, 2012, 01:52:06 pm »
i have guest additions installed how do i add myself to that group sorry i am new to this
not a problem.

to add yourself open the terminal
type
su
<your password>
usermod -a -G vboxsf <your user name>

in the tip I left I forgot to mention the word "Media" should actually be whatever the name of the folder is you added under the shared folder menu in VirtualBox.
« Last Edit: November 05, 2012, 01:55:47 pm by lkj »

Orioa

  • Member
  • *
  • Posts: 4
Re: (Solved) VirtualBox Shared Folders
« Reply #8 on: November 05, 2012, 02:06:40 pm »
added myself to the group but i still can not get it to work guess i will keep trying thank you for your help

lkj

  • Member
  • *
  • Posts: 21
Re: (Solved) VirtualBox Shared Folders
« Reply #9 on: November 05, 2012, 02:09:48 pm »
added myself to the group but i still can not get it to work guess i will keep trying thank you for your help
you're welcome. did you read the tutorial in the VirtualBox forums? https://forums.virtualbox.org/viewtopic.php?f=29&t=15868

Orioa

  • Member
  • *
  • Posts: 4
Re: (Solved) VirtualBox Shared Folders
« Reply #10 on: November 05, 2012, 02:12:43 pm »
actually no but thank you im headed there now