Transfer of a Linux Installation to another PC

From Blue-IT.org Wiki

Revision as of 18:16, 27 May 2007 by Apos (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This article should cover - over time - the transfer of settings from one to another PC. I discuss the problems I discountered for each program try to give a practical answer. I will follow this scheme:

  • Data: where is the directory to hold the programs information
  • Copy: how to copy the data
  • Result: what went ok
  • Problems: what went wrong

Firefox

Data

Firefox holds its data in the following directory:

~/.mozilla/firefox

Thereby using a special profile directory in a form like

~/.mozilla/firefox/yourProfile.default

This directory is named and configured in this file

~/.mozilla/firefox/profiles.ini

Copy

I had some problems with upgrading to a new firefox version, when importing the whole tree like

~/.mozilla/firefox/myProfile.default/*

from firefox 2.0.1 to 2.0.3. The extensions would malfnction. So I tried and excluded all extensions:

cd ~/.mozilla/firefox/myNewProfile.default
rsync --exclude extensions/ --exclude extensions* --delete -av --delete /old_dir_to_users_home/.mozilla/firefox/oldProfile.default/. .

Result

Everything went o.k. My bookmarks are there, all themes and extensions/plugins previously installed (e.g. for lacalisations!!) are o.k.

Problems

  • Needed to install several extensions again, but the setting had been there!