Results 1 to 1 of 1
I installed Lubuntu Linux in VirtualBox.
Is it possible to join a system directory with an external shared directory in VirtualBox.
I installed Lubuntu Linux in a virtual hard disk ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-02-2011 #1Just Joined!
- Join Date
- Oct 2011
- Posts
- 1
Linux mhddfs (VirtualBox) - is it possible to join '/var/cache/apt/arc
I installed Lubuntu Linux in VirtualBox.
Is it possible to join a system directory with an external shared directory in VirtualBox.
I installed Lubuntu Linux in a virtual hard disk with smaller capacity by using VirtualBox.
When I installed Linux I installed some program packages from the repository that I need by using this command line for example
[code]
sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install firefox
[code]
By default Linux always downloads the packages to be installed into the system folder
To save my virtual disk space I copied all the content from theCode:/var/cache/apt/archives
into my external shared directory on physical hard diskCode:/var/cache/apt/archives
Then I called this command to clean up the packages from the virtual disk spaceCode:/media/share/Linux/Packages/
Because I am still new to Linux I was in the situation to format my virtual disk and reinstall Linux again.Code:sudo apt-get clean
After fresh Linux installation I first copy all the content from the
back intoCode:/media/share/Linux/Packages/
again and I start installing the packages I need so Linux does not have to download the packeges again from the Internet.Code:/var/cache/apt/archives
Is it possible to join Linux system directory
with this shared oneCode:/var/cache/apt/archives
This shared folder I would like to make as Read-Only in VirtualBoxCode:/media/share/Linux/Packages/
so I ensure the content not to be accidentaly deleted by Linux if I enterCode:/media/share/Linux/Packages/
casualy.Code:sudo apt-get clean
By this way there will be more disk space on virtual hard disk available to install more programs.
May somebody give the example how to join this two directories using 'mhddfs' command
andCode:/var/cache/apt/archives
Code:/media/share/Linux/Packages/


Reply With Quote
