Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install with existing /home directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2241
Location: Netherlands

PostPosted: Wed Mar 01, 2006 8:43 pm    Post subject: New install with existing /home directory Reply with quote

I am not sure this is the right place but here goes.
I probably messed up my Gentoo so I want to make a new install.
The cause is probably a combination of trying a masked KDE,
combined with a PCI-Raid card that rendered at least one harddisk unusable.
On top of that after going back to KDE-3.4 I tried kernel 2.6.15-r5.
Fortunately I was given a 250GB harddisk for my birthday,so I threw out the
Raid card after having copied everything onto the new HD.
When I do
Code:
emerge -e world

I get the weirdest errors,not just one package but several.
I have another HD in my box with enough room to hold my home directory
and assorted config files.
I was wondering if I could make a new install with a user account with the same password
and then copy the original files onto it.
And it WORKED.
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1734
Location: Kentucky

PostPosted: Wed Mar 01, 2006 9:03 pm    Post subject: Reply with quote

Yes, you can even share your /home directory across distros without too many problems so keeping it on a seperate partition is never a bad idea.
_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
havokpryde
n00b
n00b


Joined: 02 Feb 2006
Posts: 3

PostPosted: Wed Mar 01, 2006 9:26 pm    Post subject: Re: New install with existing /home directory Reply with quote

Gerard van Vuuren wrote:
I was wondering if I could make a new install with a user account with the same password
and then copy the original files onto it.
And it WORKED.


You should be able to. Infact I reccomend putting your home on a seperate partition. Having the exact username and password doesn't matter, but what you should do to esure access to the files.
Code:
# chown -Rfv [i]newuser[/i] [i]where ever you put the backups[/i]


If you used a special group, then do a similar command with chgrp and newgroup replacing newuser.[/i]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum