Note: What is also nice is that traditional Microsoft based systems such as MSWindows XP and prior can also be cloned or backed up with Clonezilla. The good old Norton ghost open source replacement.
Remove these ads by
Signing UpStep 1Supllemental file copy.
Say you want to have several machines to be exactly alike that run Debian or Ubuntu Linux. You will want to set up the first machine the way you want it.
Now we need to get the list of packages that have been installed (software installed via ppa's may still have to be setup manually.)
$ dpkg -–get-selections > installed-software.log
installed-software.log:
[code]
...
...
x11-common install
xauth install
xfonts-encodings install
xfonts-utils install
xkb-data install
xml-core install
xz-utils install
zlib1g install
[/code]
You could probably edit this file to add any last minute packages to be added or removed.
Now you want to do a minimal install of Debian. You will want to uncheck the graphical environment when tasksel asks you what packages you want installed. That will make the rest of the install go quickly.
After the reboot of the finished install, you will want to be able to have ssh and scp file capabilities so on the destination machine so install the ssh programs. (note: on Debian you will also have to install as root sudo and include your user name in /etc/sudoers).
$ sudo apt-get install ssh openssh-server
Now you want to copy the installed-software.log file from the setup machine to the new destination machine via the network.
$ scp installed-software.log [destinationmacineipaddress]:~/.
On the destination machine you need to confirm the repositories are accessible with
$ sudo apt-get update
Now you need to let the destination machine aware of the installed-software.log.
$ dpkg -–set-selections < installed-software.log
And finally you want the system to do the update with the software list.
$ apt-get dselect-upgrade
This will install the duplicate software.
to make sure the machine is update you will want to:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
If there are any issues you can always issue the command:
$ sudo apt-get upgrade -f
That should be it for the software install part. if you tweaked any configuration files, those will be needed to be duplicated over to the new machine also.
Done.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|










































