# VirtualBox guest

## Share folder

Stop your virtual machine.

Install the extension pack for VirtualBox.

Start your virtual machine and install `virtualbox-guest-utils`.

```
pacman -S virtualbox-guest-utils
```

Choose `virtualbox-guest-modules-arch`.

Reboot your virtual machine.

Add your user to `vboxsf` group.

```
usermod -aG vboxsf root
```

Create a shared folder on VirtualBox.

![](https://1923299483-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVfLS9KLUfusOjV0FX_%2F-M1GFj1WezyS0ahvvoTe%2F-M1GLnArhZH6SnN5TxA_%2Fimage.png?alt=media\&token=a6a6d795-3bc8-4a4c-be14-dea70fac9601)

Reboot your virtual machine.

Mount your folder to test.

```
mount -t vboxsf YOUR-VBOX-SHARE-NAME /windows
```

Umount the volume.

```
umount /windows
```

Edit your fstab.

```
nano /etc/fstab
```

Add this line (example).

```
YOUR-VBOX-SHARE-NAME    /windows    vboxsf    rw    0 0
```

Mount it.

```
mount -a
```
