How to do a fresh install and protect /home ?

Derek Trotter expat.arizonan at gmail.com
Fri Jan 4 19:28:19 MST 2013


It sounds like the safer approach would be to do nothing with the 
partition containing the home directory during install.  Then add it to 
fstab after the install is complete.

On 01/04/2013 06:20 PM, Joseph Sinclair wrote:
> Unfortunately I have had a different experience; if I use the same username (typical) it copies the skeleton over the user dir, and everything that matches (most things in my case) gets wiped out.
> I learned that the hard way a couple times (fortunately I had backups all but the first time, long ago) before I learned to just backup and rename the homedir for safety, then copy over what I wanted/needed to keep after the upgrade.
>
> On 01/04/2013 05:35 PM, Dazed_75 wrote:
>> Interesting as I have done this many times without having the user wiped
>> out as long as I am staying in the same family (debian based versus fedora
>> which use a different base uid).  Of course, I was always doing systems
>> which also had only 1 end user so I could count on the old and new uid to
>> be the same (1000 for debian derivatives or 500 for some others).
>>
>> On Fri, Jan 4, 2013 at 5:05 PM, Joseph Sinclair
>> <plug-discussion at stcaz.net>wrote:
>>
>>> I would add, that you should rename the old user homedir to something else
>>> from single-user-mode before the install, otherwise the account creation
>>> during install will wipe out the existing user home directory.
>>> A good backup before starting is also *very* strongly advised.
>>>
>>> On 01/04/2013 08:39 AM, Dazed_75 wrote:
>>>> If/when you tell the installer to mount sda6 as /home, be sure to use the
>>>> same file system type and if the is a check box for whether to format the
>>>> partition, be sure it remains UN-checked.
>>>>
>>>> On Fri, Jan 4, 2013 at 12:47 AM, Derek Trotter <expat.arizonan at gmail.com
>>>> wrote:
>>>>
>>>>>   While you're installing kubuntu, choose to manually configure
>>>>> partitions.  Either do nothing with /dev/sda6 or choose to mount  it as
>>>>> /home.
>>>>>
>>>>> I have one whole drive for my home directory.  Everything else is
>>>>> installed on another drive.  Recently I tried several distros.  With
>>> each
>>>>> distro I chose the option to configure partitions myself instead of
>>> letting
>>>>> it do the job.  I would either choose during the install to mount that
>>>>> drive as my home directory or do nothing with it during the install and
>>> add
>>>>> it to fstab later.
>>>>>
>>>>>   On 01/04/2013 12:37 AM, joe at actionline.com wrote:
>>>>>
>>>>> How can I do a fresh install of kubuntu on one of my systems that now
>>> has
>>>>> a corrupted pclinux installed, but protect the /home partition from
>>> being
>>>>> over-written?  Can this be done safely?
>>>>>
>>>>> 'df' shows the following:
>>>>>
>>>>> /dev/sda1              12G  5.7G  5.6G  51% /
>>>>> tmpfs                 473M     0  473M   0% /dev/shm
>>>>> /dev/sda6             168G   23G  146G  14% /home
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>
>>>>> --
>>>>> "I get my copy of the daily paper, look at the obituaries page, and if
>>> I?m not there, I carry on as usual."
>>>>> Patrick Moore
>>>>>
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

-- 
"I get my copy of the daily paper, look at the obituaries page, and if I'm not there, I carry on as usual."

Patrick Moore

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130104/74a858e2/attachment.html>


More information about the PLUG-discuss mailing list