please, can someone give here step by step solution to solve this request?
I have home computer with Elementary OS and Virtual Box installed. I have a flash drive with virtual PC (Virtual Box) with Elementary OS. I have work computer with Windows 10 and VirtualBox installed.
What I'm using now: My primary coding computer is the virtual one. I have there LAMP and other development tools for PHP. On both (home and work) PCs I need to run virtual PC to work.
What I want: I want to be able to work on shared folder with PHP projects on my home PC directly (w/o virtualbox running). On my flash drive I have virtual PC with size ~32GB and same amount of free space. Is it possible to move www folder there? I mean, outside od virtual PC but on place, which is always available from inside on my virtual PC. And next thing (not so important), is it possible to make the same with mysql (mariadb) database and phpmyadmin?
So at home I want to be able to work directly on my desktop and at work I still should use the virtual PC.
What I already tried: I've formatted flash to two partitions - vboxdrive 40GB and www 20GB. Vbox drive contains virtual pc, www contains all projects. Both formatted to NTFS. By Shared folders it was really easy to map www drive to var/www/ inside guest on both win and linux hosts. Problem is, that it is inaccessible for apache due to ownerships and access rights. I'm not able to set www-data ownership on ntfs formatted partition. When i tried to format it as ext4, there was no issue after i added vboxsrv to www-data group. But I'm not able to map that shared folder on Win host, because ext4 is not supported in win. Also I will need on linux host somehow automatically map that flash partition to var/www after mount - for now I'm not sure how.