Hardware - Support > Network

How to edit /etc/fstab to mount a windowsshare permanent

(1/2) > >>

Moltke:

--- Quote from: llmojo on April 21, 2021, 05:28:47 AM ---ok thank you for your help

I've installed the guestaddisions at LinuxLite(VM) and use the win_share as sharedfolder. it works fine

--- End quote ---

Easy enough, wasn't it? Glad you solved it. Remember to mark your thread as solved, to do that:

In the first post of your thread, click in Modify and where it reads Select Prefix click in the drop-down menu and select Solved



Then click in Save to apply changes.



You might want to read here to learn a few other procedures and guidelines https://www.linuxliteos.com/forums/introductions/forum-posting-guidelines/

llmojo:
ok thank you for your help

I've installed the guestaddisions at LinuxLite(VM) and use the win_share as sharedfolder. it works fine

firenice03:
@llmojo  I 2nd @Moltke says, once you have the additions installed in VB there is a shared folder you can add/mount.
If I recall once you have it added/shared you can add just like any mount in fstab without added permissions..

Not in front of mine but, more sharing host to guest.
Else the host and guest will need to he on same network, its own ip same subnet, firewalls, perms etc...

If you're trying a real world scenario, I'd do a 2nd guest, have the guests on same network and configure like 2 nodes vs. host & guest...

Moltke:

--- Quote from: llmojo on April 20, 2021, 05:05:08 PM ---@Moltke sorry for the confision


On the windows-PC i installed Oracle VirtualBox6.1
On Virtualbox i installed Linux Lite5.4
On the windows-PC i created a share -> D:/win_share
So LinuxLite(VM) can only run when the windows-PC runs as well, i think
If am right the Windows PC is the server

I hope this is easier to understand

--- End quote ---

Thanks, that clarifies a few things. What is it exactly you want to achieve with that? If Linux Lite is a VM running in virtualbox which is installed in Windows 10, then it'll be available only and when the Windows PC is on. In virtualbox, there's a feature to create a share folder, and you don't need to go through all this problem, it's a matter of ticking a box to make it permanent. In virtualization jargon, Windows 10 is the host OS and Linux the guest OS. Did you install virtualbox guest additions and VBox extension pack? https://www.virtualbox.org/wiki/Downloads These 2 packages will improve the way you interact with your virtual machines. Here are a couple of articles you might want to read
https://helpdeskgeek.com/virtualization/virtualbox-share-folder-host-guest/
https://www.virtualbox.org/manual/ch04.html#additions-linux

It seems to me that what you're trying to do is something that can be done with two computers.


--- Quote ---this works ->
--- Code: ---sudo mount /media/win_share
--- End code ---

But how can i access this folder with out sudo?
--- End quote ---


I don't think you can. It might work if you make the mountpoint in /home, so instead of /media/win_share is $HOME/win_share, but I suggest that you carefully read the article on how to create a share folder in virtualbox first, and you'll find that it is actually easier than you thought, and certainly a lot way easier than this.

llmojo:
@Moltke sorry for the confision


On the windows-PC i installed Oracle VirtualBox6.1
On Virtualbox i installed Linux Lite5.4
On the windows-PC i created a share -> D:/win_share
So LinuxLite(VM) can only run when the windows-PC runs as well, i think
If am right the Windows PC is the server

this works ->
--- Code: ---sudo mount /media/win_share
--- End code ---

But how can i access this folder with out sudo?

I hope this is easier to understand

Navigation

[0] Message Index

[#] Next page

Go to full version