Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have been using Ubuntu 11.10 on a VMWare for sometime now. I did a lot of customization on it (e.g. remove unity, install my applications etc.).

Last week I managed to get another laptop and installed Ubuntu 11.10 on it. I was wondering if it's possible ot make these two Ubuntu system identical, i.e. move everything (settings, applications etc.) from my VM Ubuntu to my laptop Ubuntu.

share|improve this question
add comment

4 Answers 4

up vote 1 down vote accepted

You may also be able to create a template of the original VM and move it over to the laptop.

http://communities.vmware.com/servlet/JiveServlet/downloadBody/2664-102-1-2324/V2P.doc

That document discusses V2P migration for linux.

I did this once but it was from a VM to a desktop with almost identical hardware. There were networking issues that were resolved with a simple if down up.

Also if anyone is interested, the windows steps are :

http://www.vmware.com/support/v2p/doc/V2P_TechNote.pdf

Never done them however.

EDIT: This isnt really making a template of the original VM, I guess thats a misnomer. However this worked for me. Making a template and redeploying it on the laptop as a guest OS is also another option however that requires you to have VMware installed, probably not the path youre looking for.

share|improve this answer
add comment

You can get a list of all installed packages on machine A by running:

sudo dpkg --get-selections > packagelist.txt.

On machine B, you can install all those packages by running:

sudo dpkg --set-selections < packagelist.txt

share|improve this answer
    
Additionally, you would probably need to copy over the settings for your applications, if changed (e.g. in /etc or in your home directory) –  reiniero Jan 31 '12 at 11:53
    
and of corse, this assumes that you installed every thing via package manager –  m0ntassar Jan 31 '12 at 13:09
add comment

You can try clonezilla. It supports several file systems.

share|improve this answer
add comment
  1. boot the laptop with LiveCD
  2. Make the apropriate partitions
  3. Rsync your files to the laptop, use -AHaXx --numeric-ids
  4. mount the target system somewhere: / /boot /proc /dev /sys ...
  5. chroot in it
  6. grub it
  7. done.:)
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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