Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my system I have installed ubuntu 12.10 (consider as system A). Also I have set up another system with ruby and some other system configuration like important drivers and all the other api that required for me. (consider I have set up one ruby project in my ubuntu system).

Now I have another ubuntu 12.10 (System B) system. I want to copy or get whole set up of system A to the system B so that I don't required to re-set up my B system.

Is there any way that I can get one system setup to the another system (Replicate the system) as it is?

Thanks in advance.

share|improve this question

closed as off-topic by mikewhatever, Sneetsher, karel, Avinash Raj, Eric Carvalho Jun 6 '14 at 17:47

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

If you can get both hard drives onto the same computer, it would be easy. But in any case, you can make an exact copy, but the method depends on how you want to transfer it. A big enough USB drive would work, but would take a lot longer. There's probably a way to do it over the network, but I've never done it that way, so I can't say for sure what would be the best way. – Marty Fried May 30 '14 at 17:15
12.10 expired in April 2014. So you will not be able to update it. But user settings are in /home which is most of your configuration. If you changed some hardware settings they are in /etc, but only if exactly the same system version might I copy any /etc files to new system. I would manually review to see if needed if an update. And I would extract a list of installed apps and install those in new system. If your Ruby or any server type apps like database or web server, have created folders in / somewhere those would also have to be copied. – oldfred May 30 '14 at 17:16
What exactly is the setup that you want to copy? Changes to /etc config? Packages that you have installed? Your /home/user directory? – bain May 30 '14 at 17:38

It seems what you're looking for is a Cloning solution, and I can recommend Clonezilla for this.

You can create a Clonezilla Live USB, save your system partition(s) and then restore onto another computer, where the target partition(s) should be no smaller than the source partition(s).

As a result, you will have an exact replicate of your system. The only exception will be any references / symlinks to other partitions, including the swap partition in fstab, which you can easily edit and replace with the UUIDs of such partitions on the second disk.

enter image description here

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.