View Full Version : [SOLVED] Migrating from 32-bit to 64-bit -- best way to migrate all files/settings?

January 28th, 2012, 06:34 PM
I'm currently in the process of migrating my Ubuntu server from 10.04.1 32-bit to 10.04.3 64-bit. I'm doing the new setup on a different drive, so I currently have both drives hooked up in the machine. I just completed the partitioning/installation of the 64-bit version of Ubuntu server on the new SSD. The /home directory was already on a separate partition on the original drive, so that will be the easy part (just mounting that same drive/partition on the new install). Now, I'm trying to figure out the best way to get all of the programs/settings and OS config files to the new install. What is the best way to go about this?

The server's duties include: MythTV master backend, SSH, SMB, FTP, Apache, Ampache, Ventrilo, Transmission...

Any help is greatly appreciated!

January 28th, 2012, 08:30 PM
I do not know if myth & its apps have data in other places than /home.

But you can reinstall all the applications, by exporting the list and reinstalling. It is just a list of names so you can manually edit it if necessary and it will just install the correct version for the system you have installed.

from lovinglinux - use dpkg to list installed apps
From old install
dpkg --get-selections > ~/my-packages
From New install
sudo dpkg --set-selections < my-packages
sudo apt-get -y update
sudo apt-get dselect-upgrade

January 30th, 2012, 12:17 AM
That was VERY helpful. Thank you.

That is essentially all I did. Then, I actually just copied my entire /etc folder from the old installation to the new one. I had a few minor hiccups to fix, but I've got the majority of it up and running flawlessly now!

Almost there...