You are Here:
Download Linux Lite 5.6 RC1 for testing today - See Release Announcements



X Close Ad
X Close Ad
Clean upgrade

Author (Read 7963 times)

0 Members and 1 Guest are viewing this topic.

Clean upgrade
« on: February 13, 2014, 03:50:22 PM »
 

mandoran

  • Forum Regular
  • ***
  • 104
    Posts
  • Country: no
  • Reputation: 6
  • Linux Lite Member

  • Linux Lite: 1.0.6
Hello all,

I was just wondering if some wise person could give a list of the essential customizations to save before doing a clean install of a new version of Linux Lite. 

I've tried Aptik to prepare somewhat. I know some advise backing up the root and home directories, but that seems like overkill - surely there is a small subset of that that is relevant to changes one might want to keep and reinstall?

Thanks!
 


Re: Clean upgrade
« Reply #1 on: February 13, 2014, 04:56:33 PM »
 

Teddy

  • Still finding those Metric & SAE sockets that I lost somewhere.
  • PayPal Supporter
  • Forum Regular
  • *****
  • 227
    Posts
  • Country: us
  • Reputation: 21
  • Always sweating & swearing while fixing cars.

  • Linux Lite: 4.6 64bit

  • CPU: Intel Core i7-6700HQ 2.6Ghz/Turbo 3.5Ghz Quad Core (Skylake)

  • MEMORY: 24Gb

  • VIDEO CARD: 6GB VRAM - Nvidia GeForce GTX 970M

  • Kernel: 5.x
Customisations are a personal preference, so if we would give you a list to do such a thing, it may not be to your taste. Think about the customisations you have done to Linux Lite, write them down or type them into a document of some sort, like maybe LibreOffice / OpenOffice.org, Google Drive, or in your normal text editor.
Theodore,

HP Pavilion TouchSmart 11-e015dx (11-inch "Travelbook")
ASUS Republic Of Gamers G752VT-DH74 (17-inch Main) [6GB Nvidia GeForce GTX 970M GPU, 24GB RAM]
 

Re: Clean upgrade
« Reply #2 on: February 13, 2014, 05:28:16 PM »
 

mandoran

  • Forum Regular
  • ***
  • 104
    Posts
  • Country: no
  • Reputation: 6
  • Linux Lite Member

  • Linux Lite: 1.0.6
Yes... but I'm new enough to this kind of thing to not know where a lot of the customizations and related files will be found, particularly when hidden or obscure directories might be involved.

I don't really want hard and fast advice, because I am prepared and happy to tinker with the new install anyway, that's part of the upgrade process it seems to me. 

But I would like to know anything that might be useful for tracking down and trying to keep some things - collect information that could be useful and not so obvious to the fairly inexperienced user. I'm not so bothered if things get lost, I would just like to know as much as possible about what might be useful. 

No pressure!
Last Edit: February 13, 2014, 05:32:24 PM by mandoran
 

Re: Clean upgrade
« Reply #3 on: February 13, 2014, 05:52:03 PM »
 

Teddy

  • Still finding those Metric & SAE sockets that I lost somewhere.
  • PayPal Supporter
  • Forum Regular
  • *****
  • 227
    Posts
  • Country: us
  • Reputation: 21
  • Always sweating & swearing while fixing cars.

  • Linux Lite: 4.6 64bit

  • CPU: Intel Core i7-6700HQ 2.6Ghz/Turbo 3.5Ghz Quad Core (Skylake)

  • MEMORY: 24Gb

  • VIDEO CARD: 6GB VRAM - Nvidia GeForce GTX 970M

  • Kernel: 5.x
I believe customisations are mostly found in the /etc folder in your Linux system. Be careful in this folder, as it might break your system, but I doubt that will happen as you are re-installing the same distro. In that case, go for it!
Theodore,

HP Pavilion TouchSmart 11-e015dx (11-inch "Travelbook")
ASUS Republic Of Gamers G752VT-DH74 (17-inch Main) [6GB Nvidia GeForce GTX 970M GPU, 24GB RAM]
 

Re: Clean upgrade
« Reply #4 on: February 13, 2014, 05:55:39 PM »
 

mandoran

  • Forum Regular
  • ***
  • 104
    Posts
  • Country: no
  • Reputation: 6
  • Linux Lite Member

  • Linux Lite: 1.0.6
Aha, thanks, will root around in there. Hadn't heard that suggested yet.
 

Re: Clean upgrade
« Reply #5 on: February 14, 2014, 06:28:07 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Country: us
  • Reputation: 325
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
mandoran,

Aside from the obvious (documents, pics, music, etc.), you may want to save the configuration files for programs that you have made personalized settings for.  For example, Firefox, Internet radio programs (radiotray), calendar programs, e-Book programs, etc.

Those config files are usually hidden files (with names that begin with a period ".") under your home folder.  To see them, open your file manager, click View -> Show Hidden Files (or just type key combo "Ctrl+H").  You'll probably want to save your Firefox profile to reuse with the new install.  Doing that eliminates the need to re-download and install any addons you have, re-adjust preferences, re-add bookmarks, etc.  Copy the entire hidden folder of ".mozilla", then just paste that into the new install under /home/mandoran to replace the one that's there.

If you do something like that for many other programs and you're moving from an earlier version of LinuxLite to a newer one, I'd recommend replacing the configs one-at-a-time and testing the respective program right after doing that to be sure everything works okay.  You might also want to make a backup copy of the fresh default file before replacing it, so you can put that back in the event that the newer program version doesn't operate properly with the old config file.

An example for the ".mozilla" folder:

Make copy of original folder on new install

Code: [Select]
cp -R /home/mandoran/.mozilla /home/mandoran/.mozilla.orig

Then replace that ".mozilla" folder with your saved copy from old installation.

Code: [Select]
cp -R /path/to/saved/.mozilla /home/mandoran/.mozilla

If Firefox operates properly, great!  If it doesn't, put the original default folder back:

Code: [Select]
mv /home/mandoran/.mozilla.orig /home/mandoran/.mozilla

P.s.  You could do things like above using your mouse in the file manager, but it's easier to use the terminal (in my opinion).  To accomplish above with mouse and file manager, you would need to copy/paste original .mozilla folder to some other location (Desktop) first; then rename it (.mozilla.orig); then cut and paste it into /home/mandarin; then copy/paste the saved old one into /home/mandarin to replace the current .mozilla.  (At least, I think that's how you'd have to do it -- haven't tried it myself recently.)
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Clean upgrade
« Reply #6 on: February 14, 2014, 07:20:44 PM »
 

mandoran

  • Forum Regular
  • ***
  • 104
    Posts
  • Country: no
  • Reputation: 6
  • Linux Lite Member

  • Linux Lite: 1.0.6
Thanks! Adding that to my future procedures!
 

Re: Clean upgrade
« Reply #7 on: February 15, 2014, 02:32:35 PM »
 

riser

  • Occasional Poster
  • **
  • 66
    Posts
  • Reputation: 30
  • Linux Lite Member

  • Linux Lite: 1.0.6
To simply that, you could copy your entire home directory before an install.  Then you can copy back any portion/configuration you feel you need.

Personally, I just leave the home directory as is and work out issues (if any).

I moved to LinuxLite from another debian based distro, and had very few issues by doing that.  But you must be comfortable with modifying settings, searching directories and hidden files, etc.

To each his own.
 

Re: Clean upgrade
« Reply #8 on: February 15, 2014, 02:39:39 PM »
 

mandoran

  • Forum Regular
  • ***
  • 104
    Posts
  • Country: no
  • Reputation: 6
  • Linux Lite Member

  • Linux Lite: 1.0.6
Yes, I've heard people do that but was hoping to narrow it down a bit, mostly to keep options open and save some time - I have usually just started over with distro upgrades, but that's hardly optimal either.
 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.6 RC1 for testing today - See Release Announcements