LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sharing Folders in Linux lite guest
#1
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
Reply
#2
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
Reply
#3
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.

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)