Observe ZDNET: Add us as a most well-liked supply on Google.
ZDNET key takeaways
- Hopping to a distinct distro does not imply it’s a must to lose knowledge.
- There are three choices you possibly can strive.
- Make certain to check these earlier than you do it.
Are you feeling that everlasting pull to leap to a distinct Linux distribution? It occurs. I’ve gone via that have so many instances that I’ve misplaced depend.
Migrating from one distribution to a different is not all that onerous… Except you wish to retain the entire knowledge inside your house listing (or any listing, for that matter). Should you do not do one thing to avoid wasting that knowledge, you’ll lose out and have to start out throughout.
Additionally: I changed Home windows with Linux, and there is just one function I miss
You do not need that (except you don’t have anything of significance in your house listing).
What you are able to do will depend on your setup and wishes.
The easiest way to change distributions and preserve your knowledge
Linux is so properly designed you can set up the working system in such a approach that your house listing will be simply migrated from one distribution to a different.
The way you do that is to partition the distribution in order that your house listing is on a separate partition from the OS.
Additionally: That is my favourite Linux distro of all time – and I’ve tried all of them
Let me present you the fundamentals of how that is executed, demonstrating on the most recent launch of Ubuntu. Earlier than you even begin the set up, it’s best to both ensure that there is a second disk in your machine or join an exterior SSD (with a cable quick sufficient to deal with knowledge transmission). To do that, stroll via the set up as you usually would till you attain the Disk Setup part.
While you’re offered with the 2 routes of organising your disk, choose “Manual installation.” Within the ensuing window, it’s best to see your drive listed. In case you have a secondary drive, it needs to be listed as properly.
Additionally: My 5 favourite Linux distros which might be prepared to make use of out of the field (no setup required)
Choose the secondary disk after which click on +. When prompted, configure the dimensions you wish to use for the /house partition, choose /house from the Mount Level drop-down, after which click on OK.
After that, repeat the method, solely this time choose the first drive, click on +, and configure the mount level as /. Make certain to allocate the quantity of house you need for the partition (fairly presumably your complete drive), and click on OK after which Subsequent.
At this level, end the set up as you’d usually.
Now that you have configured your /house partition to be on a separate disk, you possibly can hop distributions everytime you need, ensuring to put in the OS on the first drive.
Backups
The opposite technique for saving your knowledge is through backups. That is proper, the previous backup routine.
As for backing up /house, you do not wish to again up your complete listing. As an alternative, again up your person listing inside /house (equivalent to /house/jack) to an exterior drive (even a USB flash drive). You may both again up all the things in that listing, or solely the folders containing the info/recordsdata you wish to save.
Do have in mind, nonetheless, that there are hidden folders that comprise app configurations, caches, and different bits. Due to that, I’d suggest backing up all the things in your house listing.
Additionally: I am a command-line professional and that is the most effective terminal app I’ve ever used, due to AI
Should you’re unsure which backup instrument to make use of, I like to recommend Déjà Dup, TimeShift, or Fortunate Backup (every of which will be put in from the usual repositories).
After you have that taken care of, ensure that to again up some other necessary knowledge, though an important knowledge on a desktop machine might be in your house listing.
Now you can set up the brand new OS. I’d ensure that to create your house listing on a secondary drive, so you do not have to undergo this the following time you hop.
After the set up completes, reboot, join the drive housing the info, open your file supervisor, and begin copying issues over.
Additionally: My high 5 user-friendly GUI backup instruments for the Linux desktop (and why you want one)
Don’t merely copy your person listing from the secondary drive to the /house listing on the first drive, as you would run into permissions or possession points.
A hybrid
There’s another choice that is a form of hybrid. For example you’ve got copied your necessary directories out of your /house to an exterior (or secondary inside) drive.
Additionally: Need to save your growing older pc? Strive these 5 Linux distributions
As an alternative of copying these directories, you possibly can merely hyperlink them. For example you’ve got copied all the things in ~/Paperwork to a secondary drive that’s mounted at /media/jack/drive1/, and also you wish to hyperlink your ~/Paperwork listing with it.
First, delete the ~/Paperwork listing (assuming it is empty) with the command:
rm -rf ~/Paperwork
Subsequent, situation the next command out of your authentic house listing:
ln -s /media/jack/drive1/Paperwork /house/jack/drive1/Paperwork
It’s best to now see a brand new ~/Paperwork listing, containing all the things in /media/jack/drive1/Paperwork.
And there you’ve it.
My final suggestion is that you just check these strategies on a spare machine. On high of that, irrespective of which route you’re taking, at all times again up your knowledge.



