Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I wonder if I have previously installed ubuntu with root, home, and swap partition. And now I want to change distro to arch linux. Is it so that I only need to wipe my root-partition and install arch linux there instead?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

You can safely leave the swap partition as is, it can be shared among different distros. The root partition definitely has to be wiped, as you expect.

The home partition is somewhere in the middle. Of course your data and settings will not harm the new installation, but a difference in configuration options may give you weird errors.

A better approach is to back up the home partition somewhere, then install the new distro (wiping the home partition on the way). When you are done with installing the new distro, simply recover from the backup.

Or, if you don't like backups, just cross your finger and install it that way, keeping the home partition. In the case of errors, try creating a new user to check. If the new user does not have the problem then you know you have to clean up your configurations :) I don't like this approach because it's less clean. Arch and Ubuntu are so different that I'm quite sure there will be lots of unused dot files in your home directory.

share|improve this answer
2  
Home partitions can certainly be shared between distributions! In some heterogeneous networks people have NFS-mounted home partitions that they can access from different unix variants. What doesn't always work is sharing dot files between different versions of specific applications, such as Gnome or Firefox. But that's no reason to wipe your home partition, just remove or rename offending dot files if you run into trouble. –  Gilles Jan 15 '11 at 16:11
    
Yeah, but I think between two distributions there will be difference in version. Anyway that's what I meant, clean up the dot files when in trouble. The unused dot files are harmless but I don't want to keep them (but again it's just me). –  phunehehe Jan 15 '11 at 16:24
add comment

that should do as far as i know, but it may also effect some dependancies whose effects may not be immediately visible

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.