View previous topic :: View next topic |
Author |
Message |
bishop00s Tux's lil' helper
Joined: 27 Apr 2004 Posts: 139 Location: pittsburgh, pa
|
Posted: Fri Oct 15, 2004 6:42 pm Post subject: moving /home & /tmp |
|
|
I already have a working and installed system with /home, /tmp, etc. on the root partition. Is there away to move them to another partition/drive? I tried copying the directory to another location. Then mounting the partition and moving the files back. When I started kde and other apps they gave all sorts of errors. I ran Code: | chmod 1777 /mnt/gentoo/tmp | like it said in the install hand book, it helped a few things but portage still had errors. Like normal Im probably missing something obvious. _________________ Grateful for professional quality graphics in the free world!
blender.org, gimp.org, inkscape.org! |
|
Back to top |
|
|
redshift Tux's lil' helper
Joined: 26 Nov 2003 Posts: 98
|
Posted: Fri Oct 15, 2004 7:05 pm Post subject: |
|
|
If you cp -aR the files from /home and /tmp to their new partitions, mount the partitions at the correct place, and make sure the directory permissions/owner/group are correct, you should be fine (assuming nothing is actively using files there).
Once everything is working fine for a bit and the new locations are in fstab, you could umount them and delete the contents of /home and /tmp on the root partition which are probably still wasting space.
(if /tmp had the correct permissions, what error was portage giving?) _________________ Tom |
|
Back to top |
|
|
bishop00s Tux's lil' helper
Joined: 27 Apr 2004 Posts: 139 Location: pittsburgh, pa
|
Posted: Fri Oct 15, 2004 11:17 pm Post subject: |
|
|
apearenttly the -a flag was what i needed. thanks! _________________ Grateful for professional quality graphics in the free world!
blender.org, gimp.org, inkscape.org! |
|
Back to top |
|
|
|
|
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
|
|