Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to share folders in Vrtualbox virtual machine

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "how to share folders in the Vrtualbox virtual machine". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to share folders in a Vrtualbox virtual machine.

The virtual machine is equipped with ubuntu 16.0.4 version of linux, and this machine is macOs 10.12.1 version.

Vrtualbox is configured as follows

Go to Vrtualbox-- > Settings-> shared folder-> add shared folder

Specify the folder path you want to share, this path refers to the path of the local machine, enter the shared folder name, this name can be taken freely, here is share, here do not check automatic mount, do not check anything, if the virtual machine is installed with windows system, then check automatic mount here.

Go to the virtual machine to start the ubuntu system, and load the new folder path in the ubuntu system at will / etc/share

Open terminal input

Sudo mount-t vboxsf share / etc/share

If prompted

Mount: unknown filesystem type 'vboxsf'

It means that you do not have the enhanced plug-in for Vrtualbox installed. Just install this plug-in. Vrtualbox comes with this plug-in, and it will prompt you to install it if you don't have it installed.

The folder can be shared at this time. But you have to lose again after rebooting.

Sudo mount-t vboxsf share / etc/share

You can continue sharing. In order to mount automatically after restart, add parameters to the / etc/fstab file:

Sudo vim / etc/fstab

Add at the end

Share / etc/share vboxsf rw,gid=110,uid=1100,auto 00

In this way, the shared folder still exists after restart.

At this point, I believe you have a deeper understanding of "how to share folders in the Vrtualbox virtual machine". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report