XandrosUpgradeHOW- TOThis 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 accountYou will need to initialize the user account under the new system.
2. Login as root on a console
2. Backup their old home directoryThis will save you if you delete something you decide later on you shouldn't have.
3. Things that do not need to be upgradedThe 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 documentscd My\ Documents ; mv * .??* ../../My\ Documents; cd .. 5. Preserve all Desktop itemsAnswer '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, WineXmv .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 SettingsIf 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 settingsmv .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:
11. Preserve Printer settingsThe 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 settingsNote 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 |
||||
|
||||