Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-01-2017, 06:36 PM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 3
Rep:
|
Replacing distribution
I am using Mint but I would like to try other distributions to see which I like best. Is it possible to replace Mint with say, Ubuntu, to see if I like it better without erasing all of my data?
|
|
|
08-01-2017, 06:50 PM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,441
|
The simple answer is to have a separate /home partition, and not format it during re-install. This avoids most (not all) problems, but may also introduce some "wrinkles".
Different distros will use different packages by default (mplayer, gphoto, ...) Some may use different versions of the same package - there may be differences in usage, maybe not.
As some-one who regularly uses different distros, I don't use shared /home except in special cases, but I do use shared data partition(s) - especially my photo collection. Maybe videos as well. Then I just install what I need to access them.
|
|
|
08-01-2017, 07:06 PM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,016
|
Here is a good article about a separate home partition.
In order to move to using one, you will need to back up the data in your existing /home to external media (if it's not on external media, it's not a backup), do a "nuke-and-pave" install of Ubuntu, them restore the saved data.
I've been using a separate /home on all my bare-metal installs for several years. I second syg00's suggestion heartily.
Oh, and welcome to LQ.
|
|
|
08-01-2017, 07:10 PM
|
#4
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
The risk in using a shared /home (or installing and keeping /home) is that settings and config files often are not 100% compatible. Not between versions of the same distro and even less so between different distributions. I am sure this is also the reason that syg00 decided not to use a shared /home folder.
If you are smart, you store all your data and personal files in yet another partition or even better on an external drive with a good backup.
If you have all your data out of the home folder, it *is* possible to copy and tar your complete home folder and restore it if you go back to a previous distro.
My experience is that keeping the /home folder seldom leads to the desired results. And that installing a new distro alway requires configuration from the ground up. So you can equally well test it in a VM. Use Virtualbox.
jlinkels
|
|
|
08-01-2017, 07:21 PM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,016
|
I would never use a shared /home (that is, shared between two or more distros on a multi-boot computer). As jlinkels points out, that's asking for trouble.
I have encountered no difficulties in using a separate /home and changing distros. It's not something I've done often, but that computer over there (---->) has gone from Mint to Mageia to Debian with a separate home without issue.
If you want to be super careful, you can delete all the dot-config files, while keeping the other data, before installing that new distro.
|
|
|
08-01-2017, 09:44 PM
|
#6
|
Member
Registered: Jul 2013
Posts: 749
Rep: 
|
Use KVM or VirtualBox and set up a virtual machine. Install various distributions in the VM to check them out and see which ones you like/dislike.
|
|
|
08-02-2017, 07:45 AM
|
#7
|
LQ Guru
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
|
I agree with Dough G. Installing Virtual Box is a great way to try Ubuntu and other distro's so you can decide which one you like.
Give Debian a try. It's stable-
https://www.debian.org/CD/
Also go to distrowatch and see the top distro's in a list.
https://distrowatch.com/
Good Luck with your decision.
|
|
|
08-02-2017, 12:39 PM
|
#8
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
To help ease problems like this, I have a multiple partition solution.
For example, let's say I were to start off with Linux Mint, then I would have three partitions mounted at /, /home and /home/data. The data partition holds all my documents, videos, photos etc. etc.
If I want to try out another distro on bare metal (as opposed to the excellent idea of setting one up in a virtual machine), I create two new partitions for /, and /home and then also mount /home/data in the new distro.
In this way, / is for each distro's system files, /home is for each distro's personal configuration files, and /home/data is a non-distro specific partition that I share amongst all my distros so that they can access the data files.
It sounds slightly complicated, but it keeps things nice and easy for me. In case you might have been wondering, the reason that the / and /home partitions are themselves separate is due to the way I image/backup my partitions for ease of file or partition rollback (a separate issue).
|
|
1 members found this post helpful.
|
08-02-2017, 01:39 PM
|
#9
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
|
|
|
|
08-02-2017, 04:00 PM
|
#10
|
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,793
|
As another multi-distro on bare metal person, I'll offer another vote for a partition containing shared data, but with /home on the distro's partition. My twist is a single boot partition from which I chainload each distro's bootloader. - Install distro with boot partition mounted at /boot and grub in MBR
- Unmount boot partition and remount some place convenient (I use /mnt/Boot)
- Copy contents of /mnt/Boot to /boot
- Forcibly Install grub in distro's partition
- Edit boot partition's grub.cfg to chainload each distro's grub
From boot partition's grub.cfg:
Code:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'GF27 on sda7' {
insmod part_msdos
insmod ext2
set root='hd0,msdos7'
chainloader +1
}
menuentry 'GF26 on sda8' {
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
chainloader +1
}
menuentry 'GU1710 on sda5' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
chainloader +1
}
|
|
|
08-02-2017, 04:44 PM
|
#11
|
Senior Member
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Fedora Kinoite
Posts: 1,269
|
Shared /home among different distros is nothing but a mess in my experience. Better is a data partition structured like this - /data/$USER/(normal /home/$USER/folders). Then just symlink the /data/$USER/* into /home/$USER. No mixed settings, data stays the same. Easy peasy.
Last edited by jmgibson1981; 08-02-2017 at 04:47 PM.
|
|
|
All times are GMT -5. The time now is 01:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|