Posts: 11
Threads: 2
Joined: May 2018
Reputation:
0
I'm re-posting this since initially I posted this query in the Tutorial section by accident, which was dumb because it's not where it belongs :)
This concerns Linux Lite 4 as a Guest in VirtualBox. The installation went flawlessly. Just as in Linux Lite 3.8, the guest-dkms, utils and X11 are already there, the screen resolution gives me full screen, everything, just as in 3.8, seems ready out of the box.
So in 3.8 there was no need to install the guest additions from the CD; following OS installation, the shared folders were listed in the file manager, and after adding myself to the vboxsf group and rebooting, I was able to access them
Not so in 4.0 . Everything seems to be just as it is in 3.8, so I added myself to the vboxsf group again. But my shared folders don't turn up, there's no entry in the file manager, nor in /media, and I have no idea what went wrong. I even installed the guest additions from CD which promptly messed up everything, so I reinstalled 4.0, but am facing the same shared folder problem.
I'd be grateful if someone could shed light on this and possibly indicate a solution of the problem :-)
Posts: 9,112
Threads: 576
Joined: Feb 2014
Reputation:
16
Sorry, but I can't reproduce this [member=7658]sobermadman[/member]
Ran Install Updates on the host, rebooted.
I installed VirtualBox via Lite Software.
Then configured a test VM (Mint), enabled all cpu core, set up the shared folder by adding /home/jerry, set to auto mount. I could then copy paste file between host and guest no problem at all.
Posts: 11
Threads: 2
Joined: May 2018
Reputation:
0
[member=2]Jerry[/member] - Thanks for your reply, though unfortunately it doesn't seem to solve this strange problem. I am running a number of VM machines (on top of Mint LMDE2 as host), and in all of them, including by the way a fine Linux Lite 3.8, everything re shared folders is as it should be. I don't intend to run another VM as a guest on my Linux Lite 4 Guest, if you see what I mean; it's the Linux Lite 4 Guest which plays funny with the shared folders.
I have since been able to at least mount the shared folders in my Linux Lite 4 guest, by doing a mkdir in ~/home to which the shared folder can refer, then mount the shared folder doing sudo mount -t [SharedFolder] [directory_in_~/home]. An entry in /etc/fstab can make this mount permanent. This gives ownership of the shared folder to root though, which can be overcome by doing sudo mount -t vboxsf [SharedFolder] [directory_in_~/home] -o uid=1000,gid=1000.
But this is all rather cumbersome, specially with half a dozen or more shared folders. I'm not an expert and can only assume there must be a more elegant solution, though what it might be I haven't a clue -)
Posts: 11
Threads: 2
Joined: May 2018
Reputation:
0
[member=47]Scott[/member] - Hi Scott,
Thanks a lot for taking the time and trouble of looking into this. In short - your solution works, I now have all my shared folders showing in the file manager, and two lines in the terminal to get them listed on booting is no problem at all :-)
I'm really happy this has been solved because I do like using Linux Lite for a lot of my everyday computing and will now be able to move from my current 3.8 to 4. So thanks again for your help and for a very fine distro!
Posts: 1
Threads: 0
Joined: Nov 2018
Reputation:
0
I've been running Linux lite 3.8 and it's been working great with virtualbox. I tried linux lite 4 and 4.2 and I have a problem of vboxadd-service.service not being enabled at boot up. Is there a fix for this on the next release please?
I'm using windows 8 as HostOS and Linux lite as GuestOS.
Thank you
Posts: 1
Threads: 0
Joined: Mar 2019
Reputation:
0
Just to note that this problem is still in Lite 4.4 RC1
Posts: 1,542
Threads: 147
Joined: Mar 2016
Reputation:
4
I would assume that on LMDE 2 the upgrade path will fail so there is no way to install the newer stable packages in this case which in the case of LL 4.x is what you need. You are probably stuck with a workaround into the future with that particular host. All is well with Debian 9.8 so you may want to consider a new host OS.
With windows 8 you will need the newest version too. Just the nature of progress.
With Debian the cause is security updates to the Debian stable packages which require a new updated build tool for installation. There is no fix outside of the upgrade path other than complete removal and re-installation. Workaround is pretty much it.
TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Posts: 3
Threads: 1
Joined: Oct 2019
Reputation:
0
Problem Shared folders problem still exists in 4.6:
systemctl | grep vbox
vboxadd.service loaded active exited vboxadd.service
sudo systemctl start vboxadd-service.service
sudo systemctl enable vboxadd-service.service
systemctl | grep vbox
vboxadd-service.service loaded active running vboxadd-service.service
vboxadd.service loaded active exited vboxadd.service
doing sudo adduser $USER vboxsf works but still get Permission denied.
ls: cannot open directory '/linux': Permission denied
sudo sh
# ls /linux Works
Also can't get lpr to work to virtual USB printer. Example ls -al / | lpr
Nice well thought out package. I will keep experimenting.
Ken