Virtualbox Shared Folder In Linux

This is for those who don't have GUI installed...

1. on the menubar of your running linux guest: Devices > Install Guest Additions..
2. now the Addition CD has been hooked to /dev/cdrom
3. mkdir
3. sudo mount /dev/cdrom

4. installing the the kernel dev library:
RHEL/CentOS:
sudo yum install kernel-devel
Ubuntu:
sudo apt-get install kernel-devel

5. start the Addition service build process
cd && sudo ./VBox......run
you might get error saying can' find Xorg/X windows, it doesn't matter since we are just to use the shared folder feature.

6. config the shared folder in your vitualbox main window for this guest. personally I like to set "auto mount" and "permanent"

7. mkdir -p

8 sudo mount -t vboxsf

你可能感兴趣的:(linux,virtualization,virtualbox)