View previous topic :: View next topic |
Author |
Message |
manucorrales Apprentice
Joined: 15 May 2004 Posts: 275
|
Posted: Wed Oct 05, 2005 7:29 pm Post subject: Keeping home partition intact |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Oct 05, 2005 7:33 pm Post subject: |
|
|
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 |
|
|
wuzzerd Guru
Joined: 05 Jan 2005 Posts: 467 Location: New Mexico
|
Posted: Wed Oct 05, 2005 7:33 pm Post subject: |
|
|
Just put them in your new fstab with the proper mount points. |
|
Back to top |
|
|
manucorrales Apprentice
Joined: 15 May 2004 Posts: 275
|
Posted: Wed Oct 05, 2005 7:40 pm Post subject: |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Oct 05, 2005 7:56 pm Post subject: |
|
|
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 |
|
|
manucorrales Apprentice
Joined: 15 May 2004 Posts: 275
|
Posted: Wed Oct 05, 2005 8:00 pm Post subject: |
|
|
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 |
|
|
|