Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keeping home partition intact
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
manucorrales
Apprentice
Apprentice


Joined: 15 May 2004
Posts: 275

PostPosted: Wed Oct 05, 2005 7:29 pm    Post subject: Keeping home partition intact Reply with quote

Hi, i really messed up my gentoo system, so now i am going to reinstall.

I have my /home and /opt in separates partitions.
How can i achieve to leave this partitions untouched and mount them on the original places back again after the reinstall??

Thanks.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Oct 05, 2005 7:33 pm    Post subject: Reply with quote

Simply don't mount them while installing. But do add them to /etc/fstab (in the chroot ofcourse) so they will be mounted by the installed system afterwards.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
wuzzerd
Guru
Guru


Joined: 05 Jan 2005
Posts: 467
Location: New Mexico

PostPosted: Wed Oct 05, 2005 7:33 pm    Post subject: Reply with quote

Just put them in your new fstab with the proper mount points.
Back to top
View user's profile Send private message
manucorrales
Apprentice
Apprentice


Joined: 15 May 2004
Posts: 275

PostPosted: Wed Oct 05, 2005 7:40 pm    Post subject: Reply with quote

ok, thanks. My doubt is when i unpack the stage tar because has the /home and /opt directories. This will not override my dirs, right??

Also after this, how can i set that my user folder belong to the user i created??
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Oct 05, 2005 7:56 pm    Post subject: Reply with quote

manucorrales wrote:
ok, thanks. My doubt is when i unpack the stage tar because has the /home and /opt directories. This will not override my dirs, right??
If you don't mount them in the first place that is not possible. Furthermore, the stage files don't put any files in /home and only the java-vm in /opt. Unpacking a stage file will overwrite existing files with the same name, but won't touch anything else.

Quote:
Also after this, how can i set that my user folder belong to the user i created??
chown -R johndoe /home/johndoe
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
manucorrales
Apprentice
Apprentice


Joined: 15 May 2004
Posts: 275

PostPosted: Wed Oct 05, 2005 8:00 pm    Post subject: Reply with quote

Quote:
chown -R johndoe /home/johndoe


This would make the dir belong to the user (like i badly ask), but how i set that the user's home folder is the one i want??
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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