Posts: 1
Threads: 1
Joined: Aug 2019
Reputation:
0
08-01-2019, 01:20 PM
(This post was last modified: 11-13-2019, 03:18 AM by firenice03.)
First time user.Installed Linux lite in VIrtualbox and worked flawlessly.However I am not able to share folders between guest and host.I am a newbie but google and tried to put some commands for example "sudo mount -t vboxsf [-o OPTIONS]My Shared "
mount bad usage..request some help in sharing folders.thank you
Posts: 1
Threads: 0
Joined: Sep 2019
Reputation:
0
This is the solution I found:
In my case I had to install the latest virtualbox guest additions iso inorder to fix my resolution problem(1920 x 1080). I got warnings that this version(6.0) was not supported. Because of that, I believe the service 'virtualbox-guest-utils' is not started during boot despite having been set as 'enabled'.
To mount your shared folder just execute the command:
sudo systemctl start virtualbox-guest-utils.service
Your shared folder will be mounted automatically at the location you specified in Virtual Box machine folders.
Note: You will have to start the service manually everytime you reboot your machine in order to mount virtual box machine folders
Posts: 3
Threads: 1
Joined: Oct 2019
Reputation:
0
You can automate the starting of the service by doing the following
Open Terminal window
cd
leafpad .bashrc
Add the following lines to the end then save and quit. Exit shell by typing exit and re-open
systemctl | grep vboxadd-service.service >/dev/null
if [ $? -eq 0 ]
then
echo "It appears the vbox service is running..."
echo " "
else
echo "It appears the vbox service is NOT running. Must start it."
sudo systemctl start vboxadd-service.service
sudo systemctl enable vboxadd-service.service
echo " "
systemctl | grep vbox
echo " "
fi
Now after a boot you will have to do this once. Opening a
terminal session will not cause the service to start again.
The added code to .bashrc will take care of the rest.