You are Here:
Download Linux Lite 5.2 today - See Release Announcements



[ SOLVED ] Sharing Folders in Linux lite guest

Author (Read 4400 times)

0 Members and 1 Guest are viewing this topic.

Sharing Folders in Linux lite guest
« on: August 01, 2019, 09:20:13 AM »
 

choodi

  • New to Forums
  • *
  • 1
    Posts
  • Country: in
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • MEMORY: 8Gb
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
Last Edit: November 12, 2019, 10:18:40 PM by firenice03
 


Re: Sharing Folders in Linux lite guest
« Reply #1 on: September 06, 2019, 03:36:13 AM »
 

brandiqa

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.6 64bit

  • CPU: Core i7 5700HQ

  • MEMORY: 16Gb

  • VIDEO CARD: Nvidia GTX 960M
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
 

Re: Sharing Folders in Linux lite guest
« Reply #2 on: January 15, 2020, 09:15:48 PM »
 

kenmartin

  • New to Forums
  • *
  • 3
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.6 64bit

  • CPU: AMD A8

  • MEMORY: 8Gb

  • VIDEO CARD: Unknown

  • Kernel: 5.x
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.

 


Tags:
 


Download Linux Lite 5.2 today - See Release Announcements