Virtualbox Guest Shared Folders - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17) +--- Thread: Virtualbox Guest Shared Folders (/showthread.php?tid=5347) Pages:
1
2
|
Virtualbox Guest Shared Folders - sobermadman - 06-07-2018 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 :-) Re: Virtualbox Guest Shared Folders - Valtam - 06-08-2018 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. Re: Virtualbox Guest Shared Folders - sobermadman - 06-08-2018 [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 -) Re: Virtualbox Guest Shared Folders - Scott(0) - 06-10-2018 [size=1em] [member=7658]sobermadman[/member] Hi I was able to reproduce this problem. I may have a partial solution. If you have time would you take a look here and let me know if this works?[/size] [size=1em]https://www.freecinema2022.gq/forums/installing-linux-lite/virtualbox-guest-shared-folders-5548/msg41818/?topicseen#msg41818 Thanks Scott[/size] Re: Virtualbox Guest Shared Folders - sobermadman - 06-10-2018 [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! Re: Virtualbox Guest Shared Folders - fitfirst - 11-01-2018 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 Re: Virtualbox Guest Shared Folders - eladkarako - 02-13-2019 In-case you're running a low-risk machine (for example a VirtualBox client), and you want to skip entring the root-password each time (https://www.freecinema2022.gq/forums/installing-linux-lite/virtualbox-guest-shared-folders-5548/msg41818/?topicseen#msg41818) , after you add a user to the vboxsf group, you can write a batch-file in your Desktop folder with this content: Code: #!/bin/bash after each reboot. Re: Virtualbox Guest Shared Folders - bturner01 - 03-12-2019 Just to note that this problem is still in Lite 4.4 RC1 Re: Virtualbox Guest Shared Folders - trinidad - 03-12-2019 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 Re: Virtualbox Guest Shared Folders - kenmartin - 10-07-2019 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 |