0

I have run into several dependency issues performing an offline install in a secure environment. I have a VM that has a program installed, and I am looking to reinstall said program on a different VM of same distro. Is there any way to simply copy the entire file system, starting at /, and paste into this second VM?

closed as too broad by Rui F Ribeiro, Jeff Schaller, Mr Shunz, Sparhawk, GAD3R Feb 13 at 14:03

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    If that's your modus operandi then why not just copy that VM and then use the copy in the way that you were going to use the second VM? – Nasir Riley Feb 11 at 0:49
  • Agreed. If you copy all files starting at /, then you'll effectively have a potentially broken copy of the first VM anyway. Just clone it as suggested above. Why don't you just copy over the application files? Or better yet install the application from scratch on the second VM. – Crypteya Feb 11 at 1:51
  • 1
    Has anyone mentioned cloning yet? Most VM software has the functionality built in... – ivanivan Feb 11 at 3:00
  • @ivanivan Yes, I have. By copy, I meant to clone it to another VM and then use that one. – Nasir Riley Feb 11 at 4:35
  • In addition to the above mentioned, i think you may want to create a local repo of required packages which should be available offline and may help you build more systems with slightly different software needs. I personally use a latest version OS as a template and clone as many server i need (VirtualBox). For systems which do not have internet access having a local repo is good. – Atul Feb 11 at 18:06

Browse other questions tagged or ask your own question.