Virtualbox: Mounting Shared Directories in Guest Linux from Windows Host
In Virtualbox:1. Start the linux guest, click on the Devices menu 'Install Guest Additions...,'
2. this would mount a media drive in linux, run this as root:
root# ./media/cdrom0/VBoxLinuxAdditions.run
3. Reboot linux.
4. From the Devices menu, choose 'Shared Folders...,' and add any folder or drive, make sure that the 'Make Permanent' checkbox is ticked.
e.g. Add 'C:\' with the name 'C_DRIVE'
5. (unsure) Run: (nothing should happen after this)
root# modprobe vboxvfs
6. Create the directory to mount the shared folder on:
root# mkdir /mnt/c
7. Run:
root# mount.vboxsf C_DRIVE /mnt/c
8. To mount this every time linux boots, edit the file /etc/rc.local and put the following line at the start:
mount.vboxsf C_DRIVE /mnt/c
Sources:
http://forums.virtualbox.org/viewtopic.php?t=5851&postdays=0&postorder=asc&start=15
0 Comments:
Post a Comment
<< Home