LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-13-2014, 08:12 PM   #1
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
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?

Thanks, - A.
 
Old 12-13-2014, 09:36 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Just create more space if you want.

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.
 
Old 12-14-2014, 03:12 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
What VM are you using ?
the steps will be very different for KVM vs VirtualBox
 
Old 12-14-2014, 10:13 AM   #4
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
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?

Last edited by AlexBB; 12-14-2014 at 04:16 PM.
 
Old 12-14-2014, 04:28 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.
 
Old 12-14-2014, 09:05 PM   #6
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
EDDY1, thank you. I haven't got too far, so your prescription is very useful. Will try to do it tomorrow.
A.
 
Old 12-14-2014, 09:26 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You're welcome. Good luck!
 
Old 12-14-2014, 09:51 PM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Hoe to copy without overwriting abdoullah Linux - Newbie 5 10-05-2010 02:26 PM
hoe to install wine miroslavk3 Linux - Software 3 04-13-2010 08:28 AM
hoe to install ns-2 rajanbabu Linux - Networking 1 02-08-2009 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration