It's quite easy to install Virtual Box Additions under Windows.
You just mount the .iso file and double click on the drive under
My Computer. It gets installed and once you set up shared
directory in VirtualBox for the choosen virtual a new drive
appears under My Computer. Boom done.
But under Linux it's not that easy. Sometimes you don't even
have a graphical environment installed (yet) and you just want
to access your host filesystem. I couldn't find any official
guide but I figured that out. Here is what made the trick for
me.
su command.mkdir /media/root.apt update.apt install linux-headers-$(uname -r) gcc make bzip2.mount /media/cdromcd /media/cdromsh VBoxLinuxAdditions.runmount -t vboxsf ROOT /media/rootYour host / path is now mounted under /media/root inside your
virtual.