PDA

View Full Version : [ubuntu] Reinstall on '/' partition, save /home partition



jcr1
May 4th, 2008, 09:27 AM
Hi all,

I just set up my install on 3 partitions: 1) '/' 2) '/home' 3) swap.

This is obviously a good setup so that if and when you need to reinstall, you don't need to backup/restore your home directory and settings.

My question is, when I do reinstall, how does it know I already have a home directory setup? i.e. when installing, will it try to create a fresh /home? how do I tell it, 'I already have one... here it is... don't create a new one'.

bulldog
May 4th, 2008, 09:37 AM
When you do a reinstall,choose manual partitioning,and mount / as / and set it to format.
Mount /home as /home and DO NOT format.
Should be going fine.

ssican
May 4th, 2008, 11:42 AM
There is a webpage that describe the method of to change, rename the name of the personal home directory into (/home).

"Then, I went into /home and renamed my personal home directory from “rick” to “rick-old.” The purpose of this was to keep all my personal settings and data (which were previously located in /home/rick/) in a separate directory so that Kubuntu 8.04 could create a fresh “rick” directory with the new OS version’s default settings, unencumbered by any of my own customizations and without trouncing on any of my precious data — always a good idea with a major new OS release." Source: http://www.deviceguru.com/2008/04/28/hardy-heron-moves-into-the-black-tower/

The (/home) directory is not formatted.

haiji
May 4th, 2008, 11:49 AM
There is a webpage that describe the method of to change, rename the name of the personal home directory into (/home).

"Then, I went into /home and renamed my personal home directory from “rick” to “rick-old.” The purpose of this was to keep all my personal settings and data (which were previously located in /home/rick/) in a separate directory so that Kubuntu 8.04 could create a fresh “rick” directory with the new OS version’s default settings, unencumbered by any of my own customizations and without trouncing on any of my precious data — always a good idea with a major new OS release." Source: http://www.deviceguru.com/2008/04/28/hardy-heron-moves-into-the-black-tower/

The (/home) directory is not formatted.

Wow, this is a really good idea. I used to remove all files preceded by a dot.. Very rudimentary lol

jcr1
May 5th, 2008, 10:42 AM
Cool cheers for that guys

Mutikasa
December 19th, 2011, 12:36 PM
what about swap?

satanselbow
December 19th, 2011, 01:28 PM
Wow, this is a really good idea. I used to remove all files preceded by a dot.. Very rudimentary lol

Very much depends whether you want to "reset" your configuration or not - can be a good idea when your DE of choice has had a major upgrade. Certainly necessary if you are planning on a move from KDE -> Gnome for example as a tidying up excercise ;)

It has been somewhat necessary with some of the Gnome-shell updates for example as configurations develop - quite pertinent with regards to shell extensions.

You can of course retain your firefox profile (and many other app configs) by retaining their respective ~/.appname
folder ;)