VirtualBox/Guest Additions/Windows
< VirtualBox < Guest AdditionsHere we install the Guest Additions[1].
- Go to the host operating system. At the top of the VM window, choose Devices >> "Insert Guest Additions CD image...". Then, VirtualBox simulates inserting a CD into the simulated optical drive of the VM.
- If you need to eject this, you can either restart the VM or click on Devices >> optical drives >> eject.
NB: to add an additional CD reader or network card, the VM must be halted.
If you didn't add a Windows shared folder into the "configuration" menu of the VirtualBox graphical interface[2], you can do it in DOS with:
VBoxManage sharedfolder add "VMName" --name "SharedName" --hostpath "C:\Users\Public\Documents\SharedFolderPath"
Linux guest
The Guest Additions CD should be read from the guest OS like this[3]:
- sudo mount /dev/cdrom /media/cdrom
- cd /media/cdrom
- sudo ./VBoxLinuxAdditions.run
Then, just mount the Windows folder from Linux[4]:
mkdir ~/vboxshare sudo mount -t vboxsf SharedName ~/vboxshare
That's it, you can browse your Windows files:
ls ~/vboxshare
References
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.