Hoe to copy software from one Ubuntu VM to another?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hoe to copy software from one Ubuntu VM to another?
Hi there,
I have one Ubuntu VM and now I feel that I've made a mistake allotting too little space to it. So, I created a second one and now I need to copy my files from the old to the new one. How can I do it?
Can clone it between vm's too. I make a disk on the old vm that is larger. Boot to a clone iso image and clone it over. Remove the old disk from the vm and reboot.
John W, it is Ubuntu under Oracle VirtualBox. It is in the heading of my OP.
Creating more space tried but did not work. I wish I could do it. In the VirtualBox many buttons are dimmed.
Another question: How can I dump my folders on an flash memory drive or something? Or any other external hard drive? I feel locked in my VM with no access to the outside world except the FireFox web browser and the Thunderbird mail. I can see them under the Devices tab in each VM but have no idea how to address them.
OK, I created a clone of the VM #1, the one I want to transfer the software (files) from. What is the next step?
I'm not sure how far you got, so these are the steps I would take.
Go to VBox Settings for the machine in question.
Create new Vhd & make it dynamically expandable.
Download clonezilla & attach iso to virtual cdrom
Make virtual cdrom first boot priority.
Clone to new vhd.
Go back to VBox settings & detach iso.
Move new vhd to first boot priority & check that it works.
If it does work detach original vhd.
Why not just make a new VM, boot up both of them, and rsync your files from one to the other? Why does it need to be any more complicated than this? You could finish it end-to-end in 20 minutes, including the OS installation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.