Enable copy-paste and file sharing between host and guest operating system

Enable copy-paste and file sharing between host and guest operating system

Dec. 8, 2017
3 minutes read time
2 likes
0 comments
781 times viewed


header image

Description

It becomes frustrating when we are unable to copy and paste or share the files between our host and guest operating systems installed either on virtualbox or VM Workstation. This article explains steps to enable the copy paste and file sharing between guest and host operating systems.

Content

Enable copy-paste and file sharing between host and guest operating system

Enabling Copy and Paste

Step-1: Install Guest Edition

From top left corner got to Devices > Insert Guset Addition CD Image

GkozZAz__70.

Virtual CD will be mounted on /media/cdrom and you will get an autoprompt just click on run and enter your root user password.

PHm3UQr__70.

If you don’t get that prompt just click on /media/cdrom that is mounted and you will get all the files and folders in side it just click on VBoxLinuxAdditions.run and run it as root.

UZ9p50O__75.

Once the guest edition is installed just reboot and restart virtualbox.

Step-2: Enable shared clipboard

Again go to Devices > Shared Clipboard and choose Bidirectional.

vDcxZZK__75.

Step-3: Enable drag and drop

Again go to Devices > Drag and Drop and choose Bidirectional.

kodefork_article_1_5.png

That’s it we are done. Just try to copy and paste from guest os to host os and vice-versa and it should work perfectly fine.


Enabling Shared Folder

Step-1: Install Guest Edition

Same as above

Step-2: Create Shared Folder

fJF3EJh__75.

hzpdF8Q__70.

Step-3: View Shared Folder on guest operting system

$ sudo mkdir /media/shared-foler
$ sudo mount -t vboxsf yourfolderonhost  /media/shared-folder

Here yourfolderonhost is the foldername specified on host operating system(windows/mac)

Step-4: Run Scripts to automatically start shared folder on system start

$ /etc/init.d/rc.local

Step-5: Add yourself to vboxsf group

$ sudo adduser yourusername vboxsf



We are done



Like this post

2   Like


Share this post on

Google Plus LinkedIn


About the author




Join the discussion

Nothing to preview

Post Comment



Comments