PDA

View Full Version : [all variants] Best pratice for hd partitioning during installation



LtPitt
April 5th, 2012, 11:04 AM
Hi everybody!

I want to achieve the best possible result in terms of reinstallation and portability of my Ubuntu install.

I've read here and there that if you keep your /home on a separate partition when you have to reformat or change system things are easier...

Do you have any better suggestions / tricks?

Thanks a lot :)

kc1di
April 5th, 2012, 11:16 AM
Hi everybody!

I want to achieve the best possible result in terms of reinstallation and portability of my Ubuntu install.

I've read here and there that if you keep your /home on a separate partition when you have to reformat or change system things are easier...

Do you have any better suggestions / tricks?

Thanks a lot :)
I always use a seperate /home Partition that way you don't have to loose important data if you must re-install.
Also use ubuntu one to store files I don't want to loose across platforms or installations.

darkod
April 5th, 2012, 11:30 AM
From my experience I would say separate /home is all you need. So that would be three partitions in total, /, /home and swap.

When installing a server there are other options to consider for more different separate partitions, but with a desktop system the above is basically enough.

It makes a clean install easier in that you can always format / and reinstall but you still have your /home intact. Just make sure you NEVER format it, you ALWAYS specify that you have the separate /home partition during the clean install, and ALWAYS use the same filesystem that you originally had on /home. Also, ALWAYS use the same primary username in the new install as in the old one so that the /home/username folder will match.

Changing a filesystem will automatically tick the format box, and if you notice this you can click Back or Cancel and think what you did wrong. But if you don't notice it you end up with formatted /home. I have seen it here on the forum.

LtPitt
April 5th, 2012, 12:34 PM
What about the configurations?

I know that some software allow you to use an hidden folder in your home for configuration but what about the others?

I'm forced to make an /etc backup too, right?

This could be a solution: http://ubuntuforums.org/showthread.php?t=1941872

But maybe it could be also a way to take old mess into a new installation, right?