Monday, 14 February 2022

How to share a folder with your minimal CentOS guest in VirtualBox?

 

  1. yum install bzip2 kernel-devel gcc make perl
  2. click 'insert Guest Additions CD Image ...' from VirtualBox Manager's Devices menu;
  3. mount /dev/cdrom /mnt
  4. cd /mnt
  5. ./VBoxLinuxAdditions.run
  6. reboot
  7. add a shared folder, say 'temp', to the guest from VirtualBox Manager's Devices menu;
  8. mount -t vboxsf temp /mnt