ArchLUG Kwiki - www.archlug.org

Download the RSS XML Feed for this site

Download the RSS XML Feed for this site

Subscribe to this channel with Amphetadesk

Subscribe to this channel with RadioUserland

Add to Google

XandrosUpgradeHOW- TO


This page is to document migration and upgrade tips for people upgrading versions of Xandros.

It applies to folks upgrading between 1.x to 2.x, as well as from 2.x to 3.x.

It assumes that prior to the upgrade that the user's previous home directory was preserved as 'username_old', where 'username' is the respective user's home directory name. i.e. user 'bob' will find his new home directory containing his old home directory in 'bob_old'. Including all of the "hidden" files and directories that contain the settings for numerous programs.

All instructions assume your current directory is in the user's "old" home directory unless otherwise stated.

Important: If you are aware of some application settings being customized for a user, and you follow these instructions, and find that the customized settings were not preserved, then you will need to research the configuration files that were customized and restore them from the backup you made.

Important: This assumes you aren't using GNOME applications. If you are, and know what to add to this document, please do so.


1. Initialize the user account

You will need to initialize the user account under the new system.

  • Login to the new system as the user.
    • If you do not have access to the account, ask the person to login.
  • Complete the user "First Time" setup wizard.
    • Each user needs to verify (or setup if they are first) the default time zone and add printers.
  • IMMEDIATELY logout.
    • Do NOT run Mozilla or Open Office or Crossover or ...

2. Login as root on a console

  • Press "Alt-F1" to switch to a console screen, and press Enter to get a login prompt.
  • Login as root.
  • Change directories to the given user (e.g. /home/bob/bob_old).
  • Become the user in question using 'su - username' (e.g. 'su - bob')

2. Backup their old home directory

This will save you if you delete something you decide later on you shouldn't have.

  • tar cvf - bob_old | gzip -9 >bob_old.tar.gz

3. Things that do not need to be upgraded

The following items do not need to be upgraded as they contain only temporary information from the last login under the old system. Unless you have specific information that something should be preserved, it's OK to delete them.

rm -rf .kde/socket-* .kde/tmp-* .gtkrc-kde .qt .ICEauthority .mcop .mcoprc
rm -rf .fonts.cache-1 .rscp .wmrc .Xauthority .xsession-errors .xsession
# Xandros-specific stuff
rm -rf .XandrosCDBuilderProjects # Only for beta testers or re-installing
rm -rf .XandrosFMHistory .XandrosFMCache

4. Preserve all personal documents

cd My\ Documents ; mv * .??* ../../My\ Documents; cd ..

5. Preserve all Desktop items

Answer 'N' to overwriting anything. In all likelihood, you want to use the new version of the icon.

cd Desktop ; mv -i * .??* ../../Desktop ; cd ..

6. Preserve Mozilla (email and browser settings)

mv .mozilla ..

7. Preserve Crossover Office, WINE, WineX

mv .cxoffice ..

If WineX is installed:

mv .winex ..

If WINE is installed:

mv .wine ..

If you do NOT want to preserve your Crossover installation, and will re-install all applications and their data<b>, you can delete this and start a new one. However, you probably /don't want to do this.

8. Preserve OpenOffice Settings

If you have customized your OpenOffice settings (most people don't however):

mv .openoffice .sversionrc ..

9. Preserve XMMS Settings (playlists, skins, etc.)

mv .xmms ..

10. Preserve shell settings

mv .bash_history ..

If you have not modified these, you should just use the new ones. Otherwise, perform 'diff's and apply the changes to the new versions, as some things have changed and moved around. The files involved are:

  • .bashrc .bash_profile .profile

11. Preserve Printer settings

The two files that indicate printer settings and preferences are: .padminrc and .lpoptions.

They will be re-created as needed, but if you have specific settings in OpenOffice or user-restricted remote printers, you may want to preserve these.

12. Preserve KDE Application settings

Note that by doing this, you will not get new defaults and settings from the newer versions of many of these applications. You may want to review each one and decide whether to use the new default settings or to preserve the older ones if they were customized and the preferences are important enough to spend the time going through them and preserving.

mv -i .kde/share/apps ../.kde/share/apps

By the way, if you are wondering what is all that stuff under .kde and what it means, see http://www.kde.org/areas/sysadmin/fsh.php#dir_structure


And that should preserve most of your user's settings when upgrading to Xandros 2.0.

The same process should apply when upgrading to Xandros 3.0.


Back to XandrosKwikis


Valid XHTML 1.0! Valid CSS!
InterTran (www.tranexp.com)
InterTran (www.tranexp.com)

Please MOVE AND HOLD your MOUSE CURSOR over any WORD in the translated web page in order to see a pop-up window with ALTERNATIVE TRANSLATIONS. Translations provided by: www.tranexp.com