Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1368  / 3 Years ago, sat, october 2, 2021, 5:30:14

Installing a new VPN on a new workstation and it has been a year since I did my last Virtualbox setup. Everything works but I don't like how the shared folders in media are labeled as sf_folder. I was curious to know can I rename these folders or would it cause issues? I didn't see a solution or any documentation on it from a search. Setup is now Windows 7 and Ubuntu 12.04 running Virtualbox. This may be another question but after the initial install and setup of shared folders and Guest Additions I only see a folder in media and not mnt. I can get a shared folder in mnt with sudo ln -sf /media/folder /mnt/ but I don't know yet if there's a better way yet.


More From » 12.04

 Answers
7

sf_ is alwasy prepended by VirtualBox to indicate that it's a shared folder. This is done by a vbox service, part of the Guest Additions. You can bind the shared folder directory to another of your choice in mtab if you desire.



Use this to open the mtab file:



sudo gedit /etc/mtab


In the mtab file enter a new line at the bottom. The format you want to use is:



/real/folder/location  /where/youwantit/toshow bind rw 0 0


Here's an example from one of mine:



/media/sf_IBM /opt/ibm bind rw 0 0


It's standard practice to hit [enter] when you've finished your edit so there is a new line entry at the end of the file.


[#29929] Sunday, October 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lawain

Total Points: 150
Total Questions: 106
Total Answers: 101

Location: China
Member since Mon, Aug 22, 2022
2 Years ago
;