How to clone Ubuntu System
Posted 04/29/2009 - 13:35 by David Schnardthorst
Problem:
When building a new system, is there a way to easily clone a Ubuntu / Debian based system?
Solution:
Step 1: Get package information on Orignal System
dpkg --get-selections | awk '{print $1}' > /tmp/installedpackages
Step 2: Copy '/tmp/installpackages' to new system and run the following
cat installedpackages | xargs sudo aptitude install -y
